Skip to content

Conversation

@Giuseppe5
Copy link
Collaborator

@Giuseppe5 Giuseppe5 commented Jan 24, 2026

Reason for this PR

Initial support for vLLM export.

To do:

  • Check that input/output quantization work as intended
  • Test multiple quantizers
  • Improve quantizers interface
  • Support for rotation (and smoothquant?)

Changes Made in this PR

We are re-using the inference quantizers also for vLLM.
This is still fake-quantization style, but should be faster than plain torch execution, even in eager mode.

The same template could be easily extended to support real quantization, torch.compile, etc. etc.

Testing Summary

TBD

@Giuseppe5 Giuseppe5 force-pushed the vllm_export branch 2 times, most recently from 4e3e36a to 7d4a78c Compare January 27, 2026 15:04
torch>=2.4
tqdm
transformers[sentencepiece]<5.0
vllm
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like vLLM should be an optional dependency.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can do it in a similar way to what we did for lighteval/lm_eval

Copy link
Collaborator Author

@Giuseppe5 Giuseppe5 Jan 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm leaving it for now so that test run and I can see what other things I'm breaking in the process, but I'll remove before this PR is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants