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/
|
ls -lh ./wheelhouse/
|
||||||
|
|
||||||
- name: Upload Wheel
|
- name: Upload Wheel
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-macos-latest-cpu
|
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-macos-latest-cpu
|
||||||
path: wheelhouse/*.whl
|
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__)"
|
python3 -c "import kaldifeat; print(kaldifeat.__version__)"
|
||||||
|
|
||||||
- name: Upload Wheel
|
- name: Upload Wheel
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: python-${{ matrix.python-version }}-${{ matrix.os }}-cpu
|
name: python-${{ matrix.python-version }}-${{ matrix.os }}-cpu
|
||||||
path: dist/*.whl
|
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__)"
|
python3 -c "import kaldifeat; print(kaldifeat.__version__)"
|
||||||
|
|
||||||
- name: Upload Wheel
|
- name: Upload Wheel
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: python-${{ matrix.python-version }}-${{ matrix.os }}-cuda-${{ matrix.cuda }}
|
name: python-${{ matrix.python-version }}-${{ matrix.os }}-cuda-${{ matrix.cuda }}
|
||||||
path: dist/*.whl
|
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/
|
ls -lh ./wheelhouse/
|
||||||
|
|
||||||
- name: Upload Wheel
|
- name: Upload Wheel
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cpu
|
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cpu
|
||||||
path: wheelhouse/*.whl
|
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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- fix-wheel-2
|
- fix-cuda-12.6
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -75,6 +75,12 @@ jobs:
|
|||||||
python3 --version
|
python3 --version
|
||||||
which python3
|
which python3
|
||||||
|
|
||||||
|
ls -lh /opt/python/
|
||||||
|
|
||||||
|
echo "---"
|
||||||
|
|
||||||
|
ls -lh /opt/python/*/bin
|
||||||
|
|
||||||
pushd /usr/local
|
pushd /usr/local
|
||||||
rm cuda
|
rm cuda
|
||||||
ln -s cuda-$CUDA_VERSION cuda
|
ln -s cuda-$CUDA_VERSION cuda
|
||||||
@ -93,7 +99,7 @@ jobs:
|
|||||||
ls -lh ./wheelhouse/
|
ls -lh ./wheelhouse/
|
||||||
|
|
||||||
- name: Upload Wheel
|
- name: Upload Wheel
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cuda
|
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cuda
|
||||||
path: wheelhouse/*.whl
|
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/
|
ls -lh ./wheelhouse/
|
||||||
|
|
||||||
- name: Upload Wheel
|
- name: Upload Wheel
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-windows-latest-cpu
|
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-windows-latest-cpu
|
||||||
path: wheelhouse/*.whl
|
path: wheelhouse/*.whl
|
||||||
|
|||||||
@ -28,6 +28,7 @@ if [[ $TORCH_VERSION =~ 2.2.* && $CUDA_VERSION =~ 12.* ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if false; then
|
||||||
yum -y install openssl-devel bzip2-devel libffi-devel xz-devel wget redhat-lsb-core
|
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
|
||||||
ls -lh $PYTHON_INSTALL_DIR/lib/
|
ls -lh $PYTHON_INSTALL_DIR/lib/
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
python3 --version
|
python3 --version
|
||||||
which python3
|
which python3
|
||||||
|
|
||||||
|
|||||||
@ -288,7 +288,8 @@ def generate_build_matrix(enable_cuda, for_windows, for_macos, test_only_latest_
|
|||||||
"2.6.0": {
|
"2.6.0": {
|
||||||
"python-version": ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
"python-version": ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
||||||
"cuda": (
|
"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
|
if not for_windows
|
||||||
else ["11.8.0", "12.4.0", "12.6.0"]
|
else ["11.8.0", "12.4.0", "12.6.0"]
|
||||||
),
|
),
|
||||||
|
|||||||
@ -280,4 +280,6 @@ else
|
|||||||
retry python3 -m pip install -q $package -f $url
|
retry python3 -m pip install -q $package -f $url
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rfv ~/.cache/pip
|
python3 -m torch.utils.collect_env
|
||||||
|
|
||||||
|
rm -rf ~/.cache/pip
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user