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

add remapping to safetensors.torch.load_model #524

Open
f-fuchs opened this issue Sep 2, 2024 · 0 comments
Open

add remapping to safetensors.torch.load_model #524

f-fuchs opened this issue Sep 2, 2024 · 0 comments

Comments

@f-fuchs
Copy link

f-fuchs commented Sep 2, 2024

Feature request

Add a way to remap model weights.

Motivation

At the moment it is not possible to load the weights of a compiled model into the uncompiled model, even though the only difference is that for the compiled model the weights are prefixed with "_orig_mod". Maybe this can be remapped internally.

Your contribution

not sure.

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

1 participant