text-generation-inference
5bd2ab65 - feat(server): Support for env value for GPTQ_BITS and GPTQ_GROUPSIZE. (#580)

Commit
2 years ago
feat(server): Support for env value for GPTQ_BITS and GPTQ_GROUPSIZE. (#580) # What does this PR do? Some models are already converted, and do not have those values in the file, this enables users to use them with less friction. Went for pure env based because adding flags would end up (imo) very tedious to maintain. There's a lot of sanitation to do: those flags would be errors if not used in conjuction with `--quantize gptq`. Then the flags need to exist in the launcher and the server passing them all throughout all function calls. This PR is intended as an easy escape hatch, not the defacto method to use gptq in TGI. Fixes #500
Author
Parents
Loading