Views
No views yet
"stop_token_ids":[128001, 128009] to temporarily address the non-stop generation issue.
generation_config.json.no_inject_fused_attention enabled. This is a bug with AutoGPTQ library.Parameters -> Generation -> Skip special tokens: turn this off (deselect)Parameters -> Generation -> Custom stopping strings: add "<|end_of_text|>","<|eot_id|>" to the fieldbfloat16 model but can be served on much smaller GPUs with maximum improvement in latency and throughput.| Branch | Bits | Group Size | Act Order | Damp % | GPTQ Dataset | Sequence Length | VRAM Size | ExLlama | Description |
|---|---|---|---|---|---|---|---|---|---|
| main | 4 | 128 | Yes | 0.1 | wikitext | 8192 | 5.74 GB | Yes | 4-bit, with Act Order and group size 128g. Smallest model possible with small accuracy loss |
| More variants to come | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | May upload additional variants of GPTQ 4 bit models in the future using different parameters such as 128g group size and etc. |
python -m vllm.entrypoints.openai.api_server --model astronomer-io/Llama-3-8B-Instruct-GPTQ-4-Bit --max-model-len 8192 --dtype float16stop_token_ids":[128001, 128009] to vLLM endpoint
Example:1{
2 "model": "astronomer-io/Llama-3-8B-Instruct-GPTQ-4-Bit",
3 "messages": [
4 {"role": "system", "content": "You are a helpful assistant."},
5 {"role": "user", "content": "Who created Llama 3?"}
6 ],
7 "max_tokens": 2000,
8 "stop_token_ids":[128001,128009]
9}<|begin_of_text|><|start_header_id|>user<|end_header_id|>
{{prompt}}<|eot_id|>
<|start_header_id|>assistant<|end_header_id|>