hf_text-generation-inference/server/text_generation_server/layers/marlin
Daniël de Kok 34f7dcfd80
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-07-31 13:08:41 +02:00
..
__init__.py Handle GPTQ-Marlin loading in `GPTQMarlinWeightLoader` (#2300) 2024-07-31 13:08:41 +02:00
fp8.py Split up `layers.marlin` into several files (#2292) 2024-07-24 16:33:26 +02:00
gptq.py Handle GPTQ-Marlin loading in `GPTQMarlinWeightLoader` (#2300) 2024-07-31 13:08:41 +02:00
marlin.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
util.py Split up `layers.marlin` into several files (#2292) 2024-07-24 16:33:26 +02:00