You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently running the script gives the following warning when merging on PyTorch 2.0.0. This should probably be dealt with eventually, even if it isn't a priority item. Although this would break compatibility with PyTorch < 2.0.0, so some kind of shim layer to switch between TypedStorage and UntypedStorage depending on the PyTorch version might be for the best. Warning to follow:
/home/maria/stable-diffusion-webui/venvLinux/lib/python3.10/site-packages/safetensors/torch.py:99: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
with safe_open(filename, framework="pt", device=device) as f:
/home/maria/stable-diffusion-webui/venvLinux/lib/python3.10/site-packages/torch/_utils.py:776: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
return self.fget.__get__(instance, owner)()
/home/maria/stable-diffusion-webui/venvLinux/lib/python3.10/site-packages/torch/storage.py:899: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
storage = cls(wrap_storage=untyped_storage)
The text was updated successfully, but these errors were encountered:
Currently running the script gives the following warning when merging on PyTorch 2.0.0. This should probably be dealt with eventually, even if it isn't a priority item. Although this would break compatibility with PyTorch < 2.0.0, so some kind of shim layer to switch between TypedStorage and UntypedStorage depending on the PyTorch version might be for the best. Warning to follow:
The text was updated successfully, but these errors were encountered: