File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 65
65
run : |
66
66
cuda_version_without_periods=$(echo "${{ matrix.cuda-version }}" | sed 's/\.//g')
67
67
echo cuda_version_without_periods=${cuda_version_without_periods} >> $GITHUB_ENV
68
+ python_version_without_periods=$(echo "${{ matrix.python-version }}" | sed 's/\.//g')
69
+ echo python_version_without_periods=${python_version_without_periods} >> $GITHUB_ENV
68
70
- uses : actions/download-artifact@v3
69
71
with :
70
72
name : pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64
95
97
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
96
98
- name : Install torchcodec from the wheel
97
99
run : |
98
- wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`
100
+ wheel_path=`find pytorch/torchcodec/dist -type f -name "*cu${{ env.cuda_version_without_periods }}-cp${{ env.python_version_without_periods }}* .whl"`
99
101
echo Installing $wheel_path
100
102
${CONDA_RUN} python -m pip install $wheel_path -vvv
101
103
Original file line number Diff line number Diff line change 77
77
run : |
78
78
cuda_version_without_periods=$(echo "${{ matrix.cuda-version }}" | sed 's/\.//g')
79
79
echo cuda_version_without_periods=${cuda_version_without_periods} >> $GITHUB_ENV
80
+ python_version_without_periods=$(echo "${{ matrix.python-version }}" | sed 's/\.//g')
81
+ echo python_version_without_periods=${python_version_without_periods} >> $GITHUB_ENV
80
82
- uses : actions/download-artifact@v3
81
83
with :
82
84
name : pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64
@@ -107,7 +109,7 @@ jobs:
107
109
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
108
110
- name : Install torchcodec from the wheel
109
111
run : |
110
- wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`
112
+ wheel_path=`find pytorch/torchcodec/dist -type f -name "*cu${{ env.cuda_version_without_periods }}-cp${{ env.python_version_without_periods }}* .whl"`
111
113
echo Installing $wheel_path
112
114
${CONDA_RUN} python -m pip install $wheel_path -vvv
113
115
You can’t perform that action at this time.
0 commit comments