mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[PR #43] [CLOSED] add support for hybrid layer models: conv, mamba #250
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#250
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?
📋 Pull Request Information
Original PR: https://github.com/p-e-w/heretic/pull/43
Author: @pszemraj
Created: 11/23/2025
Status: ❌ Closed
Base:
master← Head:hybrid-layer-support📝 Commits (6)
c8c2238feat: support hybrid stacks in abliteration with adaptive layer handlingb50b88efeat: support Granite modular variants and dynamic component discovery79f247d✨feat: add LFM model variant support05e0571filter extreme (>2) KL trials from list by default w option show_all_trials7090d65clarify33a7fa2fix: sanitize generation config before save/push📊 Changes
3 files changed (+225 additions, -45 deletions)
View changed files
📝
src/heretic/config.py(+5 -0)📝
src/heretic/main.py(+46 -15)📝
src/heretic/model.py(+174 -30)📄 Description
this PR adds support for new layer types: mamba, convolution layers as well as for hybrid layers (vary throughout model). This enables use for models like granite-4.0 , LFM2 etc.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.