text-generation-inference/docs/source
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
..
basic_tutorials usage stats and crash reports (#2220) 2024-09-25 05:27:40 +00:00
conceptual Enable multiple LoRa adapters (#2010) 2024-09-24 03:55:04 +00:00
_toctree.yml add usage stats to toctree (#2260) 2024-09-25 05:27:40 +00:00
architecture.md add doc for intel gpus (#2181) 2024-09-25 05:21:34 +00:00
index.md fix typos in docs and add small clarifications (#1790) 2024-06-10 09:24:52 +03:00
installation_amd.md Preparing patch release. (#2186) 2024-09-24 04:08:02 +00:00
installation_gaudi.md MI300 compatibility (#1764) 2024-07-17 05:36:58 +00:00
installation_inferentia.md MI300 compatibility (#1764) 2024-07-17 05:36:58 +00:00
installation_intel.md add doc for intel gpus (#2181) 2024-09-25 05:21:34 +00:00
installation_nvidia.md Preparing patch release. (#2186) 2024-09-24 04:08:02 +00:00
installation.md MI300 compatibility (#1764) 2024-07-17 05:36:58 +00:00
messages_api.md chore: add pre-commit (#1569) 2024-04-24 15:32:02 +03:00
quicktour.md add doc for intel gpus (#2181) 2024-09-25 05:21:34 +00:00
supported_models.md Add support for Deepseek V2 (#2224) 2024-09-25 05:27:40 +00:00
usage_statistics.md usage stats and crash reports (#2220) 2024-09-25 05:27:40 +00:00