Skip to content

Theseus installation issues (python 3.8, pytorch 1.12.1) ImportError: cannot import name 'tree_map_only' from 'torch.utils._pytree' #589

Answered by luisenp
DanielTakeshi asked this question in Q&A
Discussion options

You must be logged in to vote

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 for torchlie (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

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@DanielTakeshi
Comment options

@luisenp
Comment options

@DanielTakeshi
Comment options

@luisenp
Comment options

Answer selected by mhmukadam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants