#1 Conflict Project : yuanshuai9574-Robust-Vision-Transformer-2022-03-29

Open
created 1 year ago by watchman · 0 comments
watchman commented 1 year ago
Hi, users are unable to run _**yuanshuai9574-Robust-Vision-Transformer-2022-03-29**_ due to dependency conflict with _**torch**_ package. As shown in the full dependency graph of **yuanshuai9574-Robust-Vision-Transformer-2022-03-29**, **yuanshuai9574-Robust-Vision-Transformer-2022-03-29(at level 0)** requires **torch** (==1.7.0), while **kornia(at level 1)** requires **torch** (>=1.8.1). According to pip’s "first found wins" installation strategy, **torch==1.7.0** is the actually installed version. However, **torch==1.7.0** does not satisfy **torch** (>=1.8.1). ### Dependency tree------- ``` yuanshuai9574-Robust-Vision-Transformer-2022-03-29 | +-&einops!version range:*!install version:0.4.1!file id:224! | +-&kornia!version range:*!install version:0.6.4!file id:224! | | +-&packaging!version range:*!install version:21.3!requirement id:8422941! | | | +-&pyparsing!version range:>=2.0.2!install version:3.0.8!requirement id:10632318! | | +-&torch!version range:>=1.8.1!install version:1.11.0!requirement id:8422942! | | | +-&typing-extensions!version range:*!install version:4.2.0!requirement id:9206979! | +-&timm!version range:==0.3.2!install version:0.3.2!file id:224! | | +-&torch!version range:>=1.0!install version:1.7.0!requirement id:9128806! | | +-&torchvision!version range:*!install version:0.8.1!requirement id:9128807! | +-&torch!version range:==1.7.0!install version:1.7.0!file id:224! | +-&torchvision!version range:==0.8.1!install version:0.8.1!file id:224! ``` ### Suggested solutions 1.Change your direct dependency **torch [==1.7.0]** to be **torch [<=1.11.0]**. 2.Remove your direct dependency **torch [==1.7.0]**, and use **torch** transitively introduced by **kornia**. 3.Upgrade or downgrade your direct dependency **kornia** to transitively introduce a compatible version of **torch**.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.