Repository navigation
[BE week] Disable CPU wheel builds in nightly CI - #2289
Conversation
TorchTitan requires triton which isn't available on CPU-only builds. Since there's no use case for CPU-only torchtitan wheels, disable them rather than adding complexity to support CPU imports.
0022c8d to
f948ba1
Compare
|
Were we actually testing some part of torchtitan on CPU previously and now we're only testing on gpu? Or what is the nuance? |
tianyu-l
left a comment
There was a problem hiding this comment.
Change seems reasonable.
Failure in CI is about loss change on both cuda and rocm, but main branch only fails the cuda one (https://github.com/pytorch/torchtitan/actions/runs/21477806847/job/61866153133), not the rocm one. Could you help take a look? @fegin
This exact workflow builds a nightly version of torchtitan without any accelerator support and publishes it to the PyTorch Index. Torchtitan doesn't actually have a use for a nightly build that does NOT include any accelerator support. However, the CPU build comes as default with the workflow. This wasn't a problem until a direct triton import was added. This caused the CPU nightly build smoketest to fail. Rather than gating the Trition import, it makes sense to just remove the CPU nightly build. Note: This does not affect the "CPU Tests" in CI b/c those don't use the nightly CPU build. |
fegin
left a comment
There was a problem hiding this comment.
I don't think the failing tests are caused by this PR. We can land this.
TorchTitan requires triton which isn't available on CPU-only builds. Since there's no use case for CPU-only torchtitan wheels, disable them rather than adding complexity to support CPU imports. Testing: All green here: https://github.com/pytorch/torchtitan/actions/runs/21458236045?pr=2289 and on CI
TorchTitan requires triton which isn't available on CPU-only builds. Since there's no use case for CPU-only torchtitan wheels, disable them rather than adding complexity to support CPU imports. Testing: All green here: https://github.com/pytorch/torchtitan/actions/runs/21458236045?pr=2289 and on CI
TorchTitan requires triton which isn't available on CPU-only builds. Since there's no use case for CPU-only torchtitan wheels, disable them rather than adding complexity to support CPU imports.
Testing: All green here: https://github.com/pytorch/torchtitan/actions/runs/21458236045?pr=2289 and on CI