1
0
Fork 0
mirror of https://github.com/p-e-w/heretic.git synced 2026-12-03 18:42:57 +07:00

[GH-ISSUE #529] old llama-3 nemotron doesnt work (nvidia's prune) #226

Open
opened 2026-11-01 04:18:50 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SicariusSicariiStuff on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/529

per our discussion, nvidia pruned models do not work with newest version of heretic.
for example:
https://huggingface.co/nvidia/Llama-3_3-Nemotron-Super-49B-v1_5

Image

`* Failed (cannot import name 'NEED_SETUP_CACHE_CLASSES_MAPPING' from 'transformers.generation.utils' (/home/sicarius/heretic/env/lib/python3.14/site-packages/transformers/generation/utils.py))

  • Trying dtype float16...
    The repository /mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5/ contains custom code which must be executed to correctly load the model. You can inspect the repository content at /mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5 .
    You can inspect the repository content at https://hf.co//mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5/.
    You can avoid this prompt in future by passing the argument trust_remote_code=True.

Do you wish to run the custom code? [y/N] y
The repository /mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5/ contains custom code which must be executed to correctly load the model. You can inspect the repository content at /mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5 .
You can inspect the repository content at https://hf.co//mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5/.
You can avoid this prompt in future by passing the argument trust_remote_code=True.`

Originally created by @SicariusSicariiStuff on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/p-e-w/heretic/issues/529 per our discussion, nvidia pruned models do not work with newest version of heretic. for example: https://huggingface.co/nvidia/Llama-3_3-Nemotron-Super-49B-v1_5 <img width="2336" height="1995" alt="Image" src="https://github.com/user-attachments/assets/7e4b8465-102c-41fd-a206-2057efc132cb" /> `* Failed (cannot import name 'NEED_SETUP_CACHE_CLASSES_MAPPING' from 'transformers.generation.utils' (/home/sicarius/heretic/env/lib/python3.14/site-packages/transformers/generation/utils.py)) * Trying dtype float16... The repository /mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5/ contains custom code which must be executed to correctly load the model. You can inspect the repository content at /mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5 . You can inspect the repository content at https://hf.co//mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5/. You can avoid this prompt in future by passing the argument `trust_remote_code=True`. Do you wish to run the custom code? [y/N] y The repository /mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5/ contains custom code which must be executed to correctly load the model. You can inspect the repository content at /mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5 . You can inspect the repository content at https://hf.co//mnt/data/AI_LLM_Models/models/nvidia_Llama-3_3-Nemotron-Super-49B-v1_5/. You can avoid this prompt in future by passing the argument `trust_remote_code=True`.`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#226
No description provided.