text-generation-inference/server/text_generation_server
Nicolas Patry 5bd2ab6583
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
2023-07-12 10:00:02 +02:00
..
models feat(server): Support for env value for GPTQ_BITS and GPTQ_GROUPSIZE. (#580) 2023-07-12 10:00:02 +02:00
pb feat(server): clear cache on error (#143) 2023-03-28 11:29:35 +02:00
utils feat(server): Support for env value for GPTQ_BITS and GPTQ_GROUPSIZE. (#580) 2023-07-12 10:00:02 +02:00
__init__.py feat(clients): Python client (#103) 2023-03-07 18:52:22 +01:00
cache.py fix(server): decrease memory fragmentation (#557) 2023-07-06 14:28:33 +02:00
cli.py fix(server): harden the weights choice to save on disk. (#561) 2023-07-07 14:50:12 +02:00
interceptor.py feat(clients): Python client (#103) 2023-03-07 18:52:22 +01:00
server.py feat: Add the option to force another dtype than f16. (#513) 2023-06-30 20:30:09 +02:00
tracing.py feat(clients): Python client (#103) 2023-03-07 18:52:22 +01:00