text-generation-inference/server/text_generation_server/utils
Ubuntu 9a12941bef [WIP] Inference support for GPTQ (llama at least)
Let's start discussing implementation.

- Need to expose the quantization scripts (either included here or add
  doc on how to use https://github.com/qwopqwop200/GPTQ-for-LLaMa)
- Make sure GPTQ works for multiple models (priority to Falcon).

Currently it means that every place we use `get_{tensor|sharded}` to
check for quantization.

My idea is to reintegrate as much as possible into `utils/layer.py` by
expanding `load_multi` to be a bit more generic.
This might require some thinking, but ultimately the
`qweight,qzeros,scales,g_idx` should be in a single place, and
independant of bias presence.
2023-06-14 09:42:55 +02:00
..
gptq [WIP] Inference support for GPTQ (llama at least) 2023-06-14 09:42:55 +02:00
__init__.py feat(server): Rework model loading (#344) 2023-06-08 14:51:52 +02:00
convert.py feat(server): support vectorized warpers in flash causal lm (#317) 2023-05-26 12:30:27 +02:00
dist.py feat(server): Rework model loading (#344) 2023-06-08 14:51:52 +02:00
hub.py feat(server): batch tokenization for flash causal lm (#411) 2023-06-05 16:09:41 +02:00
layers.py [WIP] Inference support for GPTQ (llama at least) 2023-06-14 09:42:55 +02:00
logits_process.py feat(server): support vectorized warpers in flash causal lm (#317) 2023-05-26 12:30:27 +02:00
tokens.py feat(server): support vectorized warpers in flash causal lm (#317) 2023-05-26 12:30:27 +02:00
watermark.py fix(server): fix flash-neox scores warping (#137) 2023-03-24 18:21:41 +01:00
weights.py [WIP] Inference support for GPTQ (llama at least) 2023-06-14 09:42:55 +02:00