text-generation-inference/integration-tests
Daniël de Kok c1638a56f1 Add support for Deepseek V2 (#2224)
Deepseek V2 is a MoE model from Deepseek. Relevant variations
compared to other models:

- Grouped top-K in expert selection.
- mscale in yarn is calculated using the `mscale` and `mscale_all_dim`
  configuration options.
- `mscale_all_dim` is also used in scaling attention softmax.
- Permuting of the query/key representations before applying rotary
  embeddings.
- Some projections cannot be sharded (`q_a_proj`, `kv_a_proj_with_mqa`).
  So, we need weight loads that supports quantized weights. To this
  end `{Weights,WeightLoader}.get_weight` was added.
- The query/key head dimensionality differs from that of the value,
  so we need to pad during attention.
- Heads with size 192, needs an extension to our paged attention
  fork and we need to ensure that the KV cache is allocated with the
  correct size.
- Shared experts.
2024-09-25 05:27:40 +00:00
..
images Pali gemma modeling (#1895) 2024-07-17 05:36:58 +00:00
models Add support for Deepseek V2 (#2224) 2024-09-25 05:27:40 +00:00
conftest.py feat: simple mistral lora integration tests (#2180) 2024-09-25 05:27:40 +00:00
poetry.lock fix: improve tool type, bump pydantic and outlines (#1650) 2024-04-25 12:34:55 +03:00
pyproject.toml v2.0.1 2024-06-03 15:39:47 +03:00
pytest.ini chore: add pre-commit (#1569) 2024-04-24 15:32:02 +03:00
requirements.txt fix: improve tool type, bump pydantic and outlines (#1650) 2024-04-25 12:34:55 +03:00