Theseus installation issues (python 3.8, pytorch 1.12.1) ImportError: cannot import name 'tree_map_only' from 'torch.utils._pytree' #589
-
I am trying to build Theseus with an earlier pytorch version (1.12.1) and it seems to be running into some problems. There are several ways I am trying to do this following current documentation and prior discussions. I'm using Ubuntu 18.04. Attempt 1 (
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Maybe there's something that happened between pytorch 1.12.1 and 1.13 since I could get 1.13 with a similar setup. I updated my earlier discussion #530 Or maybe I didn't use |
Beta Was this translation helpful? Give feedback.
-
IIRC, |
Beta Was this translation helpful? Give feedback.
Thanks for reporting, I was not aware of this restriction. Unless I'm forgetting about something, this should be only an issue for
torchkin
, but not fortorchlie
(we wrote this with <2.0 compatibility in mind). I'll try to fix backward compatibility if I have time over the next week, otherwise we'll report 2.0 as the minimum compatible version. Thanks.cc @fantaosha