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

model.prune_params() NotImplementedError: Could not run 'aten::nonzero' #43

Open
YanxiZSQ opened this issue Dec 25, 2023 · 3 comments
Open

Comments

@YanxiZSQ
Copy link

I used post_pruning_processing.py to process the trained model. When executing model.prune_params(), an error occurred. The error is as follows:
image

@xiamengzhou
Copy link
Contributor

Hi! Could you provide the full error, e.g., which line of the code triggered this error?

@YanxiZSQ
Copy link
Author

image

@YanxiZSQ
Copy link
Author

I run the code:
python3 -m llmshearing.utils.post_pruning_processing prune_and_save_model model_file

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