conda-forge / conda-forge/pytorch-cpu-feedstock

Use upstream's new split build

Open
#272 18 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Shell
Stars
32
Forks
57
PR merge metrics
No merged PRs in 30d

Description

### Comment:

It seems upstream introduced two new parameters to their build system:

* `BUILD_LIBTORCH_WHL`
* `BUILD_PYTHON_ONLY`

see: https://github.com/pytorch/pytorch/commit/a25b28a753775a57d22fd42be1d4c3975c5d4549

It seems that these made it to 2.4.0 and 2.4.1. It may be interesting to use these to alleviate some of the complexities of our existing build system.

However, these parameters seem very "pypi" centric where shared libraries are just shoved in the `site-packages` directory. We may want to massage things a little bit to make them work in a "conda" context.

cc: @baszalmstra

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.