You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/ci_test-full.yml
+31-10Lines changed: 31 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -47,26 +47,47 @@ jobs:
47
47
if: runner.os == 'windows'
48
48
run: |
49
49
# remove Horovod from requirements
50
-
python -c "fname = 'requirements/extra.txt' ; lines = [line for line in open(fname).readlines() if not line.startswith('horovod')] ; open(fname, 'w').writelines(lines)"
50
+
fname = 'requirements/extra.txt'
51
+
lines = [line for line in open(fname).readlines() if not line.startswith('horovod')]
52
+
open(fname, 'w').writelines(lines)
53
+
shell: python
51
54
52
55
# versions <= 1.3 may have issues on mac with some BLAS ops due to missing mkl (https://github.com/pytorch/pytorch/issues/18996)
python -c "fname = 'requirements/extra.txt' ; lines = [line for line in open(fname).readlines() if 'fairscale' not in line] ; open(fname, 'w').writelines(lines)"
87
+
fname = 'requirements/extra.txt'
88
+
lines = [line for line in open(fname).readlines() if 'fairscale' not in line]
89
+
open(fname, 'w').writelines(lines)
90
+
shell: python
70
91
71
92
# Note: This uses an internal pip API and may not always work
0 commit comments