Skip to content

Feature Request: "Model Zoo" for quantization #1591

Closed

Description

@atyshka

TensorRT-LLM has great potential for allowing people to run larger models efficiently with limited hardware resources. Unfortunately, the current quantization workflow requires significant computational resources. An int8/FP8 quant of a 70B model would easily fit in 2x RTX 6000s, but performing such quantization with that hardware would be impossible, as the recommended config is 4x A100/H100 for calibration.

The only solution for those of us without this hardware is renting big instances on AWS/etc., but this seems wasteful for every user to perform individually. Could there be a "model zoo" for the repo where these quants can be stored, similar to how quants are published on Huggingface?

I understand there may be licensing concerns associated with hosting weights for models like Llama. Instead, could we host pre-computed activation scales that can be used to compute quantized weights without excessive GPU memory? I wouldn't see any licensing issue with such a solution.

Activity

  1. added
    feature request
    help wanted
    and removed
    feature request
    on May 15, 2024
  2. self-assigned this
    on May 15, 2024
  3. byshiue commented on May 15, 2024

    @byshiue
    Collaborator

    Thank you for the request. We hope such tasks could be covered by the community and we could focus on important model/features supporting.

  4. atyshka commented on May 15, 2024

    @atyshka
    Author

    Hi @byshiue, I agree this would be nice as an open-source collaborative effort. Unfortunately, the community is limited here, as quantization for most formats like FP8 and per-channel smoothquant is now done in the closed-source NVIDIA modelopt tool, so there's no way I could make a PR to output activation scales. A limited subset of quantization is still open-source as part of TRT-LLM, but I'm wondering if that too will be migrated to modelopt in the near future.

    If you prefer I could re-file this issue on the modelopt examples repo if you think that is more appropriate.

  5. kmati-dev commented on May 15, 2024

    @kmati-dev
    Contributor

    I could upload weight quantized on Huggingface like The-bloke.
    I might start this upcoming weekend.

  6. kmati-dev commented on May 24, 2024

    @kmati-dev
    Contributor

    Uploading.

    First model card !!

  7. hchings commented on May 30, 2024

    @hchings
    Collaborator

    Hi @atyshka, TensorRT Model Optimizer team is aware of this and similar requests. We've started planning on publishing quantized checkpoints and the exported models on HuggingFace model hub.

    If you have any specific requirements regarding this, please let me know.

  8. atyshka commented on Aug 29, 2024

    @atyshka
    Author

    @hchings Any update on this? I haven't seen many other models published on Huggingface aside from the ones by @matichon-vultureprime

  9. hchings commented on Nov 13, 2024

    @hchings
    Collaborator

    Hi @atyshka, we have a few llama models like https://huggingface.co/nvidia/Llama-3.1-405B-Instruct-FP8 uploaded, and we're uploading more (e.g., Medusa checkpoint).

    Legal clearance took a while.

  10. added
    triaged
    feature request
    on May 16, 2025
  11. poweiw commented on May 16, 2025

    @poweiw
    Contributor

    Given that the model zoo was formed and we'll continue to add model cards, is this issue good to close? @atyshka

  12. hchings commented on May 21, 2025

    @hchings
    Collaborator

    Let's close this. Quantized models from Nvidia are available in this collection: https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4.

    @atyshka if you need other models that are not currently available, please submit another request and NV teams will prioritize based on customer demands. Thanks.

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

Metadata

Metadata

Labels

feature requesthelp wantedtriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions