Test with torch 1.13 and 2.0

This commit is contained in:
Fangjun Kuang 2024-12-18 16:21:54 +08:00
parent 3e4da5f781
commit 83aedd172a

View File

@ -45,13 +45,13 @@ def get_torchaudio_version(torch_version):
def get_matrix(): def get_matrix():
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 = "20241029" version = "20241126"
# 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"]
# torch_version += ["2.0.0", "2.0.1"] torch_version += ["2.0.0", "2.0.1"]
# torch_version += ["2.1.0", "2.1.1", "2.1.2"] # torch_version += ["2.1.0", "2.1.1", "2.1.2"]
# torch_version += ["2.2.0", "2.2.1", "2.2.2"] # torch_version += ["2.2.0", "2.2.1", "2.2.2"]
# Test only torch >= 2.3.0 # Test only torch >= 2.3.0
@ -59,6 +59,7 @@ def get_matrix():
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"]
matrix = [] matrix = []
for p in python_version: for p in python_version: