Skip to content

Commit 8630dc7

Browse files
committed
run from inside container
1 parent 290d943 commit 8630dc7

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/publish.yml

-4
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ jobs:
4141
with:
4242
python-version: "3.13"
4343

44-
- name: Print platform
45-
run: |
46-
echo "Platform: $(python -c 'import platform; print(platform.machine())')"
47-
4844
- name: Install cibuildwheel
4945
run: python -m pip install cibuildwheel==2.23.0
5046

Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Configure pip to use PyTorch extra-index-url for CPU
22
mkdir -p $HOME/.config/pip
3-
echo "[global]
4-
extra-index-url = https://download.pytorch.org/whl/cpu" > $HOME/.config/pip/pip.conf
3+
echo "[global]\nextra-index-url = https://download.pytorch.org/whl/cpu" > $HOME/.config/pip/pip.conf
4+
5+
6+
echo "Platform: $(python -c 'import platform; print(platform.machine())')"

0 commit comments

Comments
 (0)