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 #34] Support for other granite-4 models #13

Closed
opened 2026-11-01 04:16:32 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @HelloKS on GitHub (Nov 21, 2025).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/34

Hello, thanks for the easy method to extend model capability.

I tried with IBM Granite 4.0-h-small, but it seems doesn't like its structure. (No attn layers but mamba)
Do you think support for other variants are viable?

Originally created by @HelloKS on GitHub (Nov 21, 2025). Original GitHub issue: https://github.com/p-e-w/heretic/issues/34 Hello, thanks for the easy method to extend model capability. I tried with IBM Granite 4.0-h-small, but it seems doesn't like its structure. (No attn layers but mamba) Do you think support for other variants are viable?
bsakaguchi 2026-11-01 04:16:32 +07:00
Author
Owner

@p-e-w commented on GitHub (Nov 21, 2025):

See #14, apparently @pszemraj has solved this already and will send a PR.

<!-- gh-comment-id:3562823689 --> @p-e-w commented on GitHub (Nov 21, 2025): See #14, apparently @pszemraj has solved this already and will send a PR.
Author
Owner

@pszemraj commented on GitHub (Nov 21, 2025):

Sorry for the delay! Work has been busier than anticipated this week so it's going to be a weekend project

(sort of my fault, I didn't fork this repo like I should have with contributing in mind)

I've been able to get:

  • granite-4.0 hybrid/moe - this is "tiny" which is the 7b
  • lfm2-vl - which required support for convolution layers and smart loading the vision models
    • note the vision part is not abliterated itself, the decoder "inside" the VLM is.
    • The 100 test prompts don't include images to try so that part will have to be hand validated, but based on the text refusal post-abliteration (~4/100 iirc, on model card) it worked there
<!-- gh-comment-id:3563264976 --> @pszemraj commented on GitHub (Nov 21, 2025): Sorry for the delay! Work has been busier than anticipated this week so it's going to be a weekend project (_sort of my fault, I didn't fork this repo like I should have with contributing in mind_) I've been able to get: - [granite-4.0 hybrid/moe](https://huggingface.co/pszemraj/granite-4.0-h-7b-heretic) - this is "tiny" which is the 7b - [lfm2-vl](https://huggingface.co/pszemraj/LFM2-VL-3B-heretic) - which required support for convolution layers **and** smart loading the vision models - note the vision part is not abliterated itself, the decoder "inside" the VLM is. - The 100 test prompts don't include images to try so that part will have to be hand validated, but based on the text refusal post-abliteration (~4/100 iirc, on model card) it worked there
Author
Owner

@pszemraj commented on GitHub (Nov 23, 2025):

first pass done! see #43 ✨

<!-- gh-comment-id:3568271777 --> @pszemraj commented on GitHub (Nov 23, 2025): first pass done! see #43 ✨
Author
Owner

@p-e-w commented on GitHub (Oct 12, 2026):

Closing as there is now broad support for hybrid models, and Granite MoE is also supported.

<!-- gh-comment-id:6124398182 --> @p-e-w commented on GitHub (Oct 12, 2026): Closing as there is now broad support for hybrid models, and Granite MoE is also supported.
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#13
No description provided.