mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-12-11 06:55:26 +00:00
Fix CI
This commit is contained in:
parent
c8b4ad639c
commit
bf135347b8
2
.github/workflows/macos-cpu-wheels.yml
vendored
2
.github/workflows/macos-cpu-wheels.yml
vendored
@ -84,7 +84,7 @@ jobs:
|
||||
ls -lh ./wheelhouse/
|
||||
|
||||
- name: Upload Wheel
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-macos-latest-cpu
|
||||
path: wheelhouse/*.whl
|
||||
|
||||
2
.github/workflows/run-tests-windows-cpu.yml
vendored
2
.github/workflows/run-tests-windows-cpu.yml
vendored
@ -107,7 +107,7 @@ jobs:
|
||||
python3 -c "import kaldifeat; print(kaldifeat.__version__)"
|
||||
|
||||
- name: Upload Wheel
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: python-${{ matrix.python-version }}-${{ matrix.os }}-cpu
|
||||
path: dist/*.whl
|
||||
|
||||
2
.github/workflows/run-tests-windows-cuda.yml
vendored
2
.github/workflows/run-tests-windows-cuda.yml
vendored
@ -159,7 +159,7 @@ jobs:
|
||||
python3 -c "import kaldifeat; print(kaldifeat.__version__)"
|
||||
|
||||
- name: Upload Wheel
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: python-${{ matrix.python-version }}-${{ matrix.os }}-cuda-${{ matrix.cuda }}
|
||||
path: dist/*.whl
|
||||
|
||||
2
.github/workflows/ubuntu-cpu-wheels.yml
vendored
2
.github/workflows/ubuntu-cpu-wheels.yml
vendored
@ -73,7 +73,7 @@ jobs:
|
||||
ls -lh ./wheelhouse/
|
||||
|
||||
- name: Upload Wheel
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cpu
|
||||
path: wheelhouse/*.whl
|
||||
|
||||
10
.github/workflows/ubuntu-cuda-wheels.yml
vendored
10
.github/workflows/ubuntu-cuda-wheels.yml
vendored
@ -3,7 +3,7 @@ name: build-wheels-cuda-ubuntu
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- fix-wheel-2
|
||||
- fix-cuda-12.6
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
@ -75,6 +75,12 @@ jobs:
|
||||
python3 --version
|
||||
which python3
|
||||
|
||||
ls -lh /opt/python/
|
||||
|
||||
echo "---"
|
||||
|
||||
ls -lh /opt/python/*/bin
|
||||
|
||||
pushd /usr/local
|
||||
rm cuda
|
||||
ln -s cuda-$CUDA_VERSION cuda
|
||||
@ -93,7 +99,7 @@ jobs:
|
||||
ls -lh ./wheelhouse/
|
||||
|
||||
- name: Upload Wheel
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cuda
|
||||
path: wheelhouse/*.whl
|
||||
|
||||
2
.github/workflows/windows-x64-cpu-wheels.yml
vendored
2
.github/workflows/windows-x64-cpu-wheels.yml
vendored
@ -63,7 +63,7 @@ jobs:
|
||||
ls -lh ./wheelhouse/
|
||||
|
||||
- name: Upload Wheel
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-windows-latest-cpu
|
||||
path: wheelhouse/*.whl
|
||||
|
||||
@ -28,6 +28,7 @@ if [[ $TORCH_VERSION =~ 2.2.* && $CUDA_VERSION =~ 12.* ]]; then
|
||||
fi
|
||||
|
||||
|
||||
if false; then
|
||||
yum -y install openssl-devel bzip2-devel libffi-devel xz-devel wget redhat-lsb-core
|
||||
|
||||
|
||||
@ -61,6 +62,8 @@ export LD_LIBRARY_PATH=$PYTHON_INSTALL_DIR/lib:$LD_LIBRARY_PATH
|
||||
ls -lh $PYTHON_INSTALL_DIR
|
||||
ls -lh $PYTHON_INSTALL_DIR/lib/
|
||||
|
||||
fi
|
||||
|
||||
python3 --version
|
||||
which python3
|
||||
|
||||
|
||||
@ -288,7 +288,8 @@ def generate_build_matrix(enable_cuda, for_windows, for_macos, test_only_latest_
|
||||
"2.6.0": {
|
||||
"python-version": ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
||||
"cuda": (
|
||||
["11.8", "12.4", "12.6"] # default 12.4
|
||||
# ["11.8", "12.4", "12.6"] # default 12.4
|
||||
["12.6"] # default 12.4
|
||||
if not for_windows
|
||||
else ["11.8.0", "12.4.0", "12.6.0"]
|
||||
),
|
||||
|
||||
@ -280,4 +280,6 @@ else
|
||||
retry python3 -m pip install -q $package -f $url
|
||||
fi
|
||||
|
||||
rm -rfv ~/.cache/pip
|
||||
python3 -m torch.utils.collect_env
|
||||
|
||||
rm -rf ~/.cache/pip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user