hf_text-generation-inference/docs/source
Daniël de Kok e52be9bba2
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-07-19 17:23:20 +02:00
..
basic_tutorials usage stats and crash reports (#2220) 2024-07-19 16:17:56 +02:00
conceptual Enable multiple LoRa adapters (#2010) 2024-06-25 14:46:27 -04:00
_toctree.yml add usage stats to toctree (#2260) 2024-07-19 16:34:04 +02:00
architecture.md add doc for intel gpus (#2181) 2024-07-08 15:57:06 +02:00
index.md fix typos in docs and add small clarifications (#1790) 2024-04-22 12:15:48 -04:00
installation.md MI300 compatibility (#1764) 2024-05-17 15:30:47 +02:00
installation_amd.md Preparing patch release. (#2186) 2024-07-04 10:55:33 +02:00
installation_gaudi.md MI300 compatibility (#1764) 2024-05-17 15:30:47 +02:00
installation_inferentia.md MI300 compatibility (#1764) 2024-05-17 15:30:47 +02:00
installation_intel.md add doc for intel gpus (#2181) 2024-07-08 15:57:06 +02:00
installation_nvidia.md Preparing patch release. (#2186) 2024-07-04 10:55:33 +02:00
messages_api.md chore: add pre-commit (#1569) 2024-02-16 11:58:58 +01:00
quicktour.md add doc for intel gpus (#2181) 2024-07-08 15:57:06 +02:00
supported_models.md Add support for Deepseek V2 (#2224) 2024-07-19 17:23:20 +02:00
usage_statistics.md usage stats and crash reports (#2220) 2024-07-19 16:17:56 +02:00