https://kedro.org/ logo
#questions
Title
# questions
f

Francis Duval

01/25/2024, 2:38 PM
Hello all! I have this new warning since I installed Kedro 0.19.2. I don't know if this is familiar to you!
WARNING  C:\Users\XG04377\.conda\envs\monenv\lib\site-packages\torch\_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should     warnings.py:109
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)()
Maybe it has something to do with the fact that I save Torch tensors as pickles!
K 1
n

Nok Lam Chan

01/25/2024, 2:41 PM
Is it causing any problem to you or just a warnings?
kedro
shouldn't do anything specific to
torch
so it is most likely just a pytorch problem. Did you somehow upgrade your
pytorch
version?\
f

Francis Duval

01/25/2024, 2:42 PM
I have no problem, just trying to prevent 🙂 No, that is weird because I did not upgrade PyTorch! (to my knowledge)
n

Nok Lam Chan

01/25/2024, 2:50 PM
Which version did you upgrade from? To my knowledge, on kedro side we didn't make any changes relate to this. I found quite a few relevant github issue: https://github.com/pytorch/pytorch/issues/97207
f

Francis Duval

01/25/2024, 2:52 PM
Thanks! I'll have a look at it. I upgraded from Kedro 0.19.1.
👍🏼 1