Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GGML_MAX_NAME is too small. #825

Open
IntptrMax opened this issue May 16, 2024 · 1 comment
Open

GGML_MAX_NAME is too small. #825

IntptrMax opened this issue May 16, 2024 · 1 comment

Comments

@IntptrMax
Copy link

GGML_MAX_NAME is small in sometime. For example, a name in stable-diffusion safetensors is 'model.diffusion_model.input_blocks.2.1.transformer_blocks.0.attn2.to_q.weight' , and I want to load the safetensors file as ggml tensor
with it's original name. But the name length is more than GGML_MAX_NAME(64). Will GGML_MAX_NAME can be updated to 128 ?

@balisujohn
Copy link
Contributor

See this PR #682. TLDR you can set it with compile flags.

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

No branches or pull requests

2 participants