Skip to content

Commit e68f0ee

Browse files
allenwang28meta-codesync[bot]
authored andcommitted
Change builds-doc.yaml torch install order, remove rdma-core-dev from instructions (#1745)
Summary: Pull Request resolved: #1745 This diff tries to fix the discrepancy between build-*.yaml and the doc+build.yaml workflows by installing torch nightly first. Also removes an incorrect instruction in the README. Reviewed By: amirafzali, shayne-fletcher Differential Revision: D86119065 fbshipit-source-id: 2824fc56c8e37a9df7d3245dd5da7e4a8317fb54
1 parent 22ee7b4 commit e68f0ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/doc_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
# docs build will use 3.13
3131
setup_build_environment 3.13
3232
33+
# Install PyTorch with CUDA support (matching build-cuda.yml)
34+
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu126
35+
3336
# Setup Tensor Engine
3437
setup_tensor_engine
3538
@@ -38,9 +41,6 @@ jobs:
3841
pip install -r build-requirements.txt
3942
pip install -r docs/requirements.txt
4043
41-
# Install PyTorch with CUDA support (matching build-cuda.yml)
42-
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu126
43-
4444
# Set environment variables for CUDA build
4545
export USE_CUDA=1
4646
export USE_TENSOR_ENGINE=1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Stable and nightly distributions require libmxl and libibverbs (runtime).
5555
`sudo dnf install -y libibverbs rdma-core libmlx5 libibverbs-devel rdma-core-devel`
5656

5757
## Ubuntu
58-
`sudo apt install -y rdma-core libibverbs1 libmlx5-1 libibverbs-dev rdma-core-dev`
58+
`sudo apt install -y rdma-core libibverbs1 libmlx5-1 libibverbs-dev`
5959

6060
### Stable
6161

0 commit comments

Comments
 (0)