You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in this paper - TEQ: Trainable Equivalent Transformation for Quantization of LLMs.
The authors of this paper are claiming - "The training process is lightweight, requiring only 1K steps and less than 1‰ of the original model’s trainable parameters."
Is this in the pipeline? It would be great if unsloth can support this.
Thanks for the suggestion, and sorry on the delay! We've decided not to add TEQ. It is only implemented in Intel Neural Compressor, and models quantized with it can't be loaded or served by transformers, vLLM or llama.cpp, so it doesn't fit the fine-tune then deploy flow most users follow.
The same Intel team has since moved on to AutoRound (https://github.com/intel/auto-round), which also learns a lightweight transform during calibration and exports to AutoRound, GPTQ, AWQ and GGUF formats supported by transformers, vLLM and SGLang. You can run it on a model you fine-tuned and merged with Unsloth. Unsloth also supports quantization-aware training through torchao via qat_scheme in FastLanguageModel.from_pretrained.
Closing as not planned, but feel free to reopen if you have a use case that needs TEQ specifically.
Activity
danielhanchen commentedon Jan 12, 2024
@shauryr Interesting I'll take a read of TEQ! I've actually been looking also at HQQ as well :)
[-]feature request: Support for TEQ[/-][+][Feature Request] Support for TEQ[/+]fixed a typo in L119, removing unnecessary len() (unslothai#84)
Fix transformers 4.45 (unslothai#93)
Fix Bugs (unslothai#101)
Nightly (unslothai#128)
Fix GRPO (unslothai#133)
Better vLLM logging (unslothai#134)
Patch (unslothai#138)
TTS (unslothai#141)
Fix transformers 4.45 (unslothai#93)
Fix Bugs (unslothai#101)
Nightly (unslothai#128)
Fix GRPO (unslothai#133)
Better vLLM logging (unslothai#134)
Patch (unslothai#138)
TTS (unslothai#141)
fixed a typo in L119, removing unnecessary len() (unslothai#84)
Fix transformers 4.45 (unslothai#93)
Fix Bugs (unslothai#101)
Nightly (unslothai#128)
Fix GRPO (unslothai#133)
Better vLLM logging (unslothai#134)
Patch (unslothai#138)
TTS (unslothai#141)
danielhanchen commentedon Oct 9, 2026
Thanks for the suggestion, and sorry on the delay! We've decided not to add TEQ. It is only implemented in Intel Neural Compressor, and models quantized with it can't be loaded or served by transformers, vLLM or llama.cpp, so it doesn't fit the fine-tune then deploy flow most users follow.
The same Intel team has since moved on to AutoRound (https://github.com/intel/auto-round), which also learns a lightweight transform during calibration and exports to AutoRound, GPTQ, AWQ and GGUF formats supported by transformers, vLLM and SGLang. You can run it on a model you fine-tuned and merged with Unsloth. Unsloth also supports quantization-aware training through torchao via
qat_schemeinFastLanguageModel.from_pretrained.Closing as not planned, but feel free to reopen if you have a use case that needs TEQ specifically.