text-generation-inference/server/text_generation_server/layers/marlin
Daniël de Kok 468e5c6874 Handle GPTQ-Marlin loading in GPTQMarlinWeightLoader (#2300)
The `GPTWeightLoader` was structured like this in pseudocode:

if marlin:
  Set up tensors in a way that GPTQ-Marlin expects
else:
  Set up tensors in a way that ExLlama/GPTQ/AWQ expect

However, the GPT-Marlin implementation details should really be in the
`marlin` module. So move the former part out to a separate
`GPTQMarlinWeightsLoader`.
2024-09-25 05:55:39 +00:00
..
__init__.py Handle GPTQ-Marlin loading in GPTQMarlinWeightLoader (#2300) 2024-09-25 05:55:39 +00:00
fp8.py Split up layers.marlin into several files (#2292) 2024-09-25 05:39:58 +00:00
gptq.py Handle GPTQ-Marlin loading in GPTQMarlinWeightLoader (#2300) 2024-09-25 05:55:39 +00:00
marlin.py feat: add ruff and resolve issue (#2262) 2024-09-25 05:46:24 +00:00
util.py Split up layers.marlin into several files (#2292) 2024-09-25 05:39:58 +00:00