Skip to content

Can't install pytorch-directml with Poetry #286

@davidgilbertson

Description

@davidgilbertson

I use Poetry for dependency management.

I've created a new environment with Python 3.8 and installed torchvision==0.9.0, but poetry won't allow removing torch as the readme suggests, because it's a requirement of torchvision.

Some questions:

  • Is install with Poetry possible?
  • Is it likely that pytorch-directml will always be a few versions behind for torch, torchvision and Python itself? It's rather difficult to take an established app on Python 3.10 and the latest version of a bunch of packages and make it all work with old versions. I don't mean to sound pushy, I just want to get my expectations right; if there will always be a lag I'll look for other ways to get PyTorch + Windows + AMD working.
  • The MSDN docs say that "only" torch version 1.8 is supported, this seems to contradict the readme which says 1.8 will cause collisions. Which is correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    pytorch-directmlIssues in PyTorch when using its DirectML backend

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions