Skip to content

Add a CI job using conda compilers #37584

@rgommers

Description

@rgommers

🐛 Bug

There's regularly issues building PyTorch with either conda compilers or with a very new (system installed) GCC + conda Python+dependencies. Using a development setup based on conda is recommended (https://github.com/pytorch/pytorch#from-source) so this is not a great situation. Example issues:

Furthermore, making the build config with conda compilers robust is required for making the conda binaries conda-forge compatible so they can be synced to conda-forge/pytorch (there's more to do there that I need to follow up on, this is step 1 - xref conda-forge/pytorch-cpu-feedstock#7).

Expected behavior

Using conda compilers on Linux should work out of the box. To make it more reliable, we should add a CI job using it. The question I have is if it should be an extra CI job entry, or if we should modify an existing one (and if so, which one)?

Cc @ezyang

cc @malfet @ezyang @seemethere

Metadata

Metadata

Assignees

Labels

module: buildBuild system issuesmodule: ciRelated to continuous integrationtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions