Skip to content

feat: (fix?) try known prefixes to find correspondance for applying imatrix#1737

Open
stduhpf wants to merge 1 commit into
leejet:masterfrom
stduhpf:imatrix
Open

feat: (fix?) try known prefixes to find correspondance for applying imatrix#1737
stduhpf wants to merge 1 commit into
leejet:masterfrom
stduhpf:imatrix

Conversation

@stduhpf

@stduhpf stduhpf commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Allows to apply imatrix to model parts without creating an all in one checkpoint.

Related Issue / Discussion

Additional Information

Checklist

@stduhpf stduhpf changed the title imatrix: try known prefixes to find correspondance feat: (fix?) try known prefixes to find correspondance for applying imatrix Jul 4, 2026
Comment thread src/model_loader.cpp
}
std::string processed_name = convert_tensor_name(tensor_storage.name, imatrix_version);
std::vector<float> imatrix = get_imatrix_collector().get_values(processed_name);
if (imatrix.empty()) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to pass in a --imat-prefix argument to specify the prefix, rather than trying to hardcode the traversal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants