mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[GH-ISSUE #375] Backend tokenizer failure #195
Labels
No labels
bug
enhancement
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
p-e-w/heretic#195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fukc-gihtub on GitHub (Jun 11, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/375
Running
heretic google/gemma-4-12B-it-qat-q4_0-gguffrom a fresh Python 3.14 venv with heretic installed (master branch,pip install git+https://github.com/p-e-w/heretic) I'm gettingAfter installing both
sentencepieceandtiktoken, the issue isn't resolved.pip list
@kabachuha commented on GitHub (Jun 11, 2026):
You need to run it on the original .safetensors repository, not on the .gguf quants
@fukc-gihtub commented on GitHub (Jun 11, 2026):
I thought heretic supported quantized models? From the README:
@umran666 commented on GitHub (Jun 12, 2026):
The README is talking about standard Hugging Face quantized formats (like MXFP4 or bitsandbytes 4-bit/8-bit QLoRA) that support PyTorch autograd.
You need to run Heretic on the standard safetensors base model repo (like google/gemma-4-12b-it).
@fukc-gihtub commented on GitHub (Jun 12, 2026):
Okay, thanks.
@p-e-w commented on GitHub (Jun 12, 2026):
We don't need autograd (except in ARA), but we do need basic tensor operations, which PyTorch doesn't support for most of the quantized types in GGUF containers.
Even some non-GGUF formats like FP8 are not supported for this reason.