Skip to content

[BE][Easy] split build system requirements.txt to a separate file#158111

Closed
XuehaiPan wants to merge 4 commits intogh/XuehaiPan/368/basefrom
gh/XuehaiPan/368/head
Closed

[BE][Easy] split build system requirements.txt to a separate file#158111
XuehaiPan wants to merge 4 commits intogh/XuehaiPan/368/basefrom
gh/XuehaiPan/368/head

Conversation

@XuehaiPan
Copy link
Collaborator

@XuehaiPan XuehaiPan commented Jul 11, 2025

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Jul 11, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/158111

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 1 Unrelated Failure

As of commit ded70cc with merge base 194539e (image):

NEW FAILURES - The following jobs have failed:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@XuehaiPan
Copy link
Collaborator Author

XuehaiPan commented Jul 11, 2025

The CI failures are known and unrelated.

@XuehaiPan XuehaiPan requested review from ezyang, huydhn and malfet July 11, 2025 12:12
[ghstack-poisoned]
@XuehaiPan XuehaiPan requested a review from a team as a code owner July 12, 2025 11:29
@XuehaiPan
Copy link
Collaborator Author

XuehaiPan commented Jul 12, 2025

Hmm, explain this one more to me? Is this actually the conventional way of doing it? If I am pip installing from source, one way or another I need the build reqs.

It is used to simply the installation of build-system requirements in the CI environment. See:

# FIXME: As of 2025.06.20, it is hard to ensure the minimum version of setuptools in our CI environment.

@ezyang
Copy link
Contributor

ezyang commented Jul 12, 2025

I mean, requirements.txt isn't /only/ used in the CI env https://github.com/pytorch/pytorch#install-dependencies

@XuehaiPan
Copy link
Collaborator Author

I mean, requirements.txt isn't /only/ used in the CI env pytorch/pytorch#install-dependencies

The requirements.txt still includes the split file. There is no change to the requirements.txt.

[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 13, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 15, 2025
@XuehaiPan
Copy link
Collaborator Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 2 jobs have failed, first few of them are: Build Official Docker Images / build (12.9, 12.9.1, 9, devel, linux/amd64), Build Official Docker Images / build (12.9, 12.9.1, 9, runtime, linux/amd64)

Details for Dev Infra team Raised by workflow job

@XuehaiPan
Copy link
Collaborator Author

@pytorchbot merge -i

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged while ignoring the following 3 checks: pull / cuda12.8-py3.10-gcc9-sm75 / test (pr_time_benchmarks, 1, 1, linux.g4dn.metal.nvidia.gpu, unstable), Build Official Docker Images / build (12.9, 12.9.1, 9, devel, linux/amd64), Build Official Docker Images / build (12.9, 12.9.1, 9, runtime, linux/amd64)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@github-actions github-actions bot deleted the gh/XuehaiPan/368/head branch August 16, 2025 02:18
jiridanek added a commit to jiridanek/notebooks that referenced this pull request Feb 24, 2026
jiridanek added a commit to opendatahub-io/notebooks that referenced this pull request Feb 24, 2026
* fix(trustyai): missing expecttest dependency in some IBM p/z compilation, enable upstream pypi to fix

```
ERROR: Could not find a version that satisfies the requirement expecttest>=0.3.0 (from versions: none)
ERROR: No matching distribution found for expecttest>=0.3.0
subprocess exited with status 1
```

* fix(trustyai): build failure in pytorch compilation on ppc64le

https://redhat-internal.slack.com/archives/C07ANR2U56C/p1771520858856879

The -r requirements inclusion was added in pytorch/pytorch#158111, and it looks to be a new Torch 2.9 addition.
jiridanek added a commit to opendatahub-io/notebooks that referenced this pull request Feb 24, 2026
* fix(trustyai): missing expecttest dependency in some IBM p/z compilation, enable upstream pypi to fix

```
ERROR: Could not find a version that satisfies the requirement expecttest>=0.3.0 (from versions: none)
ERROR: No matching distribution found for expecttest>=0.3.0
subprocess exited with status 1
```

* fix(trustyai): build failure in pytorch compilation on ppc64le

https://redhat-internal.slack.com/archives/C07ANR2U56C/p1771520858856879

The -r requirements inclusion was added in pytorch/pytorch#158111, and it looks to be a new Torch 2.9 addition.

* install auditwheel from pypi, same change needed for codeserver later
jiridanek added a commit to opendatahub-io/notebooks that referenced this pull request Feb 24, 2026
…#3014)

* fix(pylock.tomls): we've had the 2.9.0 removed from the AIPCC index, need to use 2.9.1

https://console.redhat.com/api/pypi/public-rhai/rhoai/3.4-EA1/cuda12.9-ubi9/simple/torch/

* fix(trustyai): compilation failures reported by testops

* fix(trustyai): missing expecttest dependency in some IBM p/z compilation, enable upstream pypi to fix

```
ERROR: Could not find a version that satisfies the requirement expecttest>=0.3.0 (from versions: none)
ERROR: No matching distribution found for expecttest>=0.3.0
subprocess exited with status 1
```

* fix(trustyai): build failure in pytorch compilation on ppc64le

https://redhat-internal.slack.com/archives/C07ANR2U56C/p1771520858856879

The -r requirements inclusion was added in pytorch/pytorch#158111, and it looks to be a new Torch 2.9 addition.

* install auditwheel from pypi, same change needed for codeserver later
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/binaries Trigger all binary build and upload jobs on the PR ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: build Build system issues module: ci Related to continuous integration module: devx Related to PyTorch contribution experience (HUD, pytorchbot) open source release notes: devx release notes: releng release notes category topic: build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants