Views
No views yet

model/smash_config.json and are obtained after a hardware warmup. The smashed model is directly compared to the original base model. Efficiency results may vary in other settings (e.g. other hardware, image size, batch size, ...). We recommend to directly run them in the use-case conditions to know if the smashed model can benefit you.pip install hqq1from transformers import AutoModelForCausalLM, AutoTokenizer
2from pruna import PrunaModel
3
4from hqq.engine.hf import HQQModelForCausalLMsmash_config.json. This model has been smashed with pruna in version 0.2.4pruna is here on GitHub.