Skip to content

Commit

Permalink
fix typos in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fxmarty committed Feb 16, 2024
1 parent d55f36d commit c1a1ef3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_wheels_cuda_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,12 @@ jobs:
- name: Build Wheel
run: |
export CUDA_PATH=$CONDA_PREFIX
export CUDA_HOME=$CONDA_PREFIX
# For some reason $CONDA_PREFIX is empty.
export CUDA_HOME=/usr/share/miniconda
export CUDA_PATH=/usr/share/miniconda
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CONDA_PREFIX}/lib"
export TORCH_CUDA_ARCH_LIST = '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX'
export TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX"
echo "CUDA_PATH:"
echo $CUDA_PATH
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build_wheels_pypi_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,12 @@ jobs:
- name: Build Wheel
run: |
export CUDA_PATH=$CONDA_PREFIX
export CUDA_HOME=$CONDA_PREFIX
# For some reason $CONDA_PREFIX is empty.
export CUDA_HOME=/usr/share/miniconda
export CUDA_PATH=/usr/share/miniconda
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${CONDA_PREFIX}/lib"
export TORCH_CUDA_ARCH_LIST='6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX'
export TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX"
export PYPI_RELEASE="1"
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ jobs:
conda install cuda-toolkit -c "nvidia/label/cuda-12.1.0"
# Refer to https://pytorch.org/get-started/locally/
if [[ "${{ runner.os }}" == "Linux" ]]; then
python -m pip install torch
else
python -m pip install torch --index-url https://download.pytorch.org/whl/cu121
fi
python -m pip install torch
python -m pip install --upgrade build setuptools wheel numpy
Expand All @@ -121,7 +117,7 @@ jobs:
echo "CUDA_PATH:"
echo $CUDA_PATH
TORCH_CUDA_ARCH_LIST="7.5 8.0 8.6+PTX" DISABLE_QIGEN=1 pip install -vvv .[quality]
pip install -vvv .[quality]
- name: Check style with ruff
run: |
Expand Down

0 comments on commit c1a1ef3

Please sign in to comment.