-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 Pruning Callback Failing #10835
Comments
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team! |
Dear @aqibsaeed, Would you mind trying the latest version of PyTorch Lightning? Best, |
I am also getting this error. I've tried 1.5.10 and 1.6.0.rc1 and a few other edit: |
Hi, I think there must be a check of being a Tensor parameter using the isinstance method, so that these non-tensor parameters are not pruned. |
Sounds good to me |
Thanks, I will work on it 👍 |
Hi,
I am trying to use ModelPruning callback as follows:
but after training for an epoch, the Trainer throws following error, (only happens when using ModelPruning callback):
I tried pytorch 1.7.0 and 1.9.0 but the issue persist. Any idea what is causing this error?
Thanks.
cc @tchaton @rohitgr7 @carmocca
The text was updated successfully, but these errors were encountered: