"tools/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "5053aa7f494a952997c4b889d4b833a7efe49268"
Commit db22d9ff authored by rusty1s's avatar rusty1s
Browse files

[skip ci] bash shell

parent bdc6b4d3
......@@ -44,35 +44,35 @@ jobs:
run: |
bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh
# - name: Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
# if : ${{ runner.os != 'macOS' }}
# run: |
# pip install --no-cache-dir torch==${{ matrix.torch-version}}+${{ matrix.cuda-version }} -f https://download.pytorch.org/whl/torch_stable.html
- name: Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
if : ${{ runner.os != 'macOS' }}
run: |
pip install --no-cache-dir torch==${{ matrix.torch-version}}+${{ matrix.cuda-version }} -f https://download.pytorch.org/whl/torch_stable.html
# - name: Install default PyTorch ${{ matrix.torch-version }}
# if : ${{ runner.os == 'macOS' || (matrix.torch-version == '1.8.0' && matrix.cuda-version == 'cu102') }}
# run: |
# pip install --no-cache-dir torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/torch_stable.html
- name: Install default PyTorch ${{ matrix.torch-version }}
if : ${{ runner.os == 'macOS' || (matrix.torch-version == '1.8.0' && matrix.cuda-version == 'cu102') }}
run: |
pip install --no-cache-dir torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/torch_stable.html
# - name: Install main package for CPU
# if: ${{ matrix.cuda-version == 'cpu' }}
# run: |
# FORCE_ONLY_CPU=1 pip install -e .
# shell:
# bash
- name: Install main package for CPU
if: ${{ matrix.cuda-version == 'cpu' }}
run: |
FORCE_ONLY_CPU=1 pip install -e .
shell:
bash
# - name: Install main package with CUDA
# if: ${{ matrix.cuda-version != 'cpu' }}
# run: |
# source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
# FORCE_CUDA=1 pip install -e .
# shell:
# bash
- name: Install main package with CUDA
if: ${{ matrix.cuda-version != 'cpu' }}
run: |
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
FORCE_CUDA=1 pip install -e .
shell:
bash
# - name: Build wheel
# run: |
# pip install wheel
# python setup.py bdist_wheel --dist-dir=dist
- name: Build wheel
run: |
pip install wheel
python setup.py bdist_wheel --dist-dir=dist
# - name: Upload wheel
# uses: shallwefootball/s3-upload-action@master
......
......@@ -11,11 +11,6 @@ export CUDA_FILE=cuda_${CUDA_SHORT}.105_418.96_win10.exe
# Install CUDA:
curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}"
ls -lah
echo ""
echo "Downloading ${CUDA_URL}/${CUDA_FILE}..."
PowerShell -Command "Invoke-WebRequest -OutFile \"${CUDA_FILE}\" -Uri \"${CUDA_URL}/${CUDA_FILE}\""
echo "Done!"
echo ""
echo "Installing from ${CUDA_FILE}..."
PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT}\" -Wait -NoNewWindow"
......
......@@ -11,11 +11,6 @@ export CUDA_FILE=cuda_${CUDA_SHORT}.89_441.22_win10.exe
# Install CUDA:
curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}"
ls -lah
echo ""
echo "Downloading ${CUDA_URL}/${CUDA_FILE}..."
PowerShell -Command "Invoke-WebRequest -OutFile \"${CUDA_FILE}\" -Uri \"${CUDA_URL}/${CUDA_FILE}\""
echo "Done!"
echo ""
echo "Installing from ${CUDA_FILE}..."
PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT}\" -Wait -NoNewWindow"
......
......@@ -11,11 +11,6 @@ export CUDA_FILE=cuda_${CUDA_SHORT}.1_456.81_win10.exe
# Install CUDA:
curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}"
ls -lah
echo ""
echo "Downloading ${CUDA_URL}/${CUDA_FILE}..."
PowerShell -Command "Invoke-WebRequest -OutFile \"${CUDA_FILE}\" -Uri \"${CUDA_URL}/${CUDA_FILE}\""
echo "Done!"
echo ""
echo "Installing from ${CUDA_FILE}..."
PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT}\" -Wait -NoNewWindow"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment