File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,14 @@ jobs:
17
17
script : |
18
18
echo "::group::Print machine info"
19
19
uname -a
20
- if [ $(uname -s) == Darwin ]; then
21
- sysctl machdep.cpu.brand_string
22
- sysctl machdep.cpu.core_count
23
- fi
24
20
echo "::endgroup::"
25
21
22
+ echo "::group::Install newer objcopy that supports --set-section-alignment"
23
+ yum install -y devtoolset-10-binutils
24
+ export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
25
+ echo "::endgroup::"
26
+
27
+
26
28
echo "::group::Download checkpoints"
27
29
# Install requirements
28
30
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
Original file line number Diff line number Diff line change @@ -236,6 +236,11 @@ jobs:
236
236
nvidia-smi
237
237
echo "::endgroup::"
238
238
239
+ echo "::group::Install newer objcopy that supports --set-section-alignment"
240
+ yum install -y devtoolset-10-binutils
241
+ export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
242
+ echo "::endgroup::"
243
+
239
244
echo "::group::Install required packages"
240
245
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
241
246
pip install -r ./requirements.txt
You can’t perform that action at this time.
0 commit comments