-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
fix RestrictedUnpickler #16574
base: dev
Are you sure you want to change the base?
fix RestrictedUnpickler #16574
Conversation
it does no harm to remove the pytorch_lightening dependency see also comfyanonymous/ComfyUI@735ac4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it does no harm to remove the pytorch_lightening dependency in the safe.py (torch.load)
NO
we do use those to load LDSR upscaller models
did you tested? this is a |
okay you are right, it dose seems to load that being said, I still don't see a point of fixing something that isn't broke reopening this letting others decide |
As you may have guessed, a number of my recent PRs have been related to optimising startup loading time. the import time of thank you for your concern! |
it does no harm to remove the pytorch_lightening dependency in the safe.py (torch.load)
see also comfyanonymous/ComfyUI@735ac4c
Checklist: