Skip to content

Support pip packages for --no-build-isolation #3223

@calebho

Description

@calebho

Problem description

Currently, only Conda dependencies can be used to define the build environment when no build isolation is desired. One common use case for disabling build isolation is for building PyTorch CUDA extensions which implies projects with such extensions must install PyTorch with Conda. However, PyTorch 2.5 is the last version to officially support the pytorch Conda channel. While there are pytorch-{cpu,gpu} packages on conda-forge,

please do note that not all gaps, like full Windows support, will be closed and should not be viewed in the short run as a 1:1 offering with our current Anaconda offering.

In the interest of using the best supported PyTorch builds, would it be possible to use pip dependencies to define the build environment as well?

Metadata

Metadata

Assignees

Labels

needs-decisionUndecided if this should be doneneeds-designNeeds a design so it can be implementedpypiIssue related to PyPI dependencies

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions