mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[GH-ISSUE #190] 1.20 cannot load Qwen/Qwen3.5-27B #111
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#111
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 @krpr on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/190
Qwen3.5-32B is a multimodal model, just released in last 24h.
When use
heretic Qwen/Qwen3.5-27B, it return withAttributeError: 'Qwen3_5DecoderLayer' object has no attribute 'self_attn'Maybe it's a transformer issue?
@coder3101 commented on GitHub (Feb 25, 2026):
https://huggingface.co/coder3101/Qwen3.5-27B-heretic
@krpr commented on GitHub (Feb 25, 2026):
holly *!
👍👍👍 but how did you fix the AttributeError?
@p-e-w commented on GitHub (Feb 25, 2026):
@krpr
Join the Discord, this is currently being discussed there.
@qazwsx954 commented on GitHub (Feb 25, 2026):
正在尝试
@keypaa commented on GitHub (Feb 26, 2026):
Has anyone started to tinker with the Qwen 3.5 35B A3B ? I'm also facing issues.
@p-e-w commented on GitHub (Feb 26, 2026):
Fix coming soon.
@timrohrbaugh commented on GitHub (Feb 26, 2026):
completed for all of them. but lots of one off fixes for things like fused expert weights. The final trick is you need to modify the weights, store them and at reset put them back each trial.
or to say that was the only way I was able to get past the issues and make it decently fast.
merge considerations:
@markrmiller commented on GitHub (Feb 26, 2026):
Interesting - I did something similar two days ago to abliterate Qwen3 Coder Next, except I did the projections with the LoRA and then fold them back in during merge (with a small approximation error). So no caching any weights, but in return for that approx error.
I ended up with KL divergence of 0.1038 and 8 out of 100 refusals.
@timrohrbaugh commented on GitHub (Feb 27, 2026):
markmiller: exactly. I had to do the same thing for that model, which seemed like a hack deviation but for me it was a warm up for 3.5 which really drove me into some long nights. I suspect we are fighting a cold war and both side of the battle will be inventing defenses and strategies to remove. This is just the start of many years of this if history is any indication. :)
@markrmiller commented on GitHub (Feb 27, 2026):
I checked the kl divergence of the model + lora against the model with lora folded in using that method and it's not too bad: KL divergence: 0.001240
@imezx commented on GitHub (Mar 8, 2026):
use
pip install --force-reinstall --no-deps git+https://github.com/p-e-w/heretic.git, and ensure you have latest version of transformer too.@p-e-w commented on GitHub (Mar 16, 2026):
Fixed on master.
@larpedd commented on GitHub (Mar 25, 2026):
tysm <3