mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-10 10:32:16 +00:00
fix importing torch
This commit is contained in:
parent
3d5d60efab
commit
2569bf66b6
5
.github/workflows/ubuntu-cuda-wheels.yml
vendored
5
.github/workflows/ubuntu-cuda-wheels.yml
vendored
@ -108,14 +108,19 @@ jobs:
|
|||||||
python_dir=/opt/python/cp38-cp38
|
python_dir=/opt/python/cp38-cp38
|
||||||
elif [[ $PYTHON_VERSION == "3.9" ]]; then
|
elif [[ $PYTHON_VERSION == "3.9" ]]; then
|
||||||
python_dir=/opt/python/cp39-cp39
|
python_dir=/opt/python/cp39-cp39
|
||||||
|
export PYTHONPATH=/opt/python/cp39-cp39/lib/python3.9/site-packages:$PYTHONPATH
|
||||||
elif [[ $PYTHON_VERSION == "3.10" ]]; then
|
elif [[ $PYTHON_VERSION == "3.10" ]]; then
|
||||||
python_dir=/opt/python/cp310-cp310
|
python_dir=/opt/python/cp310-cp310
|
||||||
|
export PYTHONPATH=/opt/python/cp310-cp310/lib/python3.10/site-packages:$PYTHONPATH
|
||||||
elif [[ $PYTHON_VERSION == "3.11" ]]; then
|
elif [[ $PYTHON_VERSION == "3.11" ]]; then
|
||||||
python_dir=/opt/python/cp311-cp311
|
python_dir=/opt/python/cp311-cp311
|
||||||
|
export PYTHONPATH=/opt/python/cp311-cp311/lib/python3.11/site-packages:$PYTHONPATH
|
||||||
elif [[ $PYTHON_VERSION == "3.12" ]]; then
|
elif [[ $PYTHON_VERSION == "3.12" ]]; then
|
||||||
python_dir=/opt/python/cp312-cp312
|
python_dir=/opt/python/cp312-cp312
|
||||||
|
export PYTHONPATH=/opt/python/cp312-cp312/lib/python3.12/site-packages:$PYTHONPATH
|
||||||
elif [[ $PYTHON_VERSION == "3.13" ]]; then
|
elif [[ $PYTHON_VERSION == "3.13" ]]; then
|
||||||
python_dir=/opt/python/cp313-cp313
|
python_dir=/opt/python/cp313-cp313
|
||||||
|
export PYTHONPATH=/opt/python/cp313-cp313/lib/python3.13/site-packages:$PYTHONPATH
|
||||||
else
|
else
|
||||||
echo "Unsupported Python version $PYTHON_VERSION"
|
echo "Unsupported Python version $PYTHON_VERSION"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user