Update generate_build_matrix.py

This commit is contained in:
zr_jin 2025-01-28 09:33:21 +08:00 committed by GitHub
parent efc0536b6d
commit 50c3270ccf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,14 +52,12 @@ def get_torchaudio_version(torch_version):
return torch_version return torch_version
def get_matrix(min_torch_version): def get_matrix(min_torch_version):
k2_version = "1.24.4.dev20241029" k2_version = "1.24.4.dev20241029"
kaldifeat_version = "1.25.5.dev20241029" kaldifeat_version = "1.25.5.dev20241029"
version = "20241218" version = "20241218"
# torchaudio 2.5.0 does not support python 3.13 # torchaudio 2.5.0 does not support python 3.13
python_version = ["3.8", "3.9", "3.10", "3.11", "3.12"] python_version = ["3.8", "3.9", "3.10", "3.11", "3.12"]
torch_version = [] torch_version = []
torch_version += ["1.13.0", "1.13.1"] torch_version += ["1.13.0", "1.13.1"]
@ -69,7 +67,6 @@ def get_matrix(min_torch_version):
# Test only torch >= 2.3.0 # Test only torch >= 2.3.0
torch_version += ["2.3.0", "2.3.1"] torch_version += ["2.3.0", "2.3.1"]
torch_version += ["2.4.0"] torch_version += ["2.4.0"]
torch_version += ["2.4.1"] torch_version += ["2.4.1"]
torch_version += ["2.5.0"] torch_version += ["2.5.0"]
torch_version += ["2.5.1"] torch_version += ["2.5.1"]
@ -96,7 +93,6 @@ def get_matrix(min_torch_version):
# torch>=2.5 requires python 3.10 # torch>=2.5 requires python 3.10
continue continue
if t == "2.5.1": if t == "2.5.1":
k2_version_2 = "1.24.4.dev20241122" k2_version_2 = "1.24.4.dev20241122"
kaldifeat_version_2 = "1.25.5.dev20241126" kaldifeat_version_2 = "1.25.5.dev20241126"