Skip to content

Commit 8a33435

Browse files
authored
Don't use python setup.py develop as it's deprecated (#5235)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent a198fde commit 8a33435

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/third-party-benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
122122
git submodule sync
123123
git submodule update --init --recursive
124-
python setup.py develop
124+
pip install -v -e .
125125
126126
cd ../benchmarks/third_party/e2e-flex_attention
127127

scripts/install-pytorch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ install_pytorch
276276
# ImportError: Failed to load PyTorch C extensions:
277277
# ...
278278
# This error can generally be solved using the `develop` workflow
279-
# $ python setup.py develop && python -c "import torch" # This should succeed
279+
# $ pip install -v -e . && python -c "import torch" # This should succeed
280280
# or by running Python from a different directory.
281281
cd $BASE
282282
python -c "import torch;print(torch.__version__)"

0 commit comments

Comments
 (0)