@@ -42,13 +42,21 @@ we can use one of the following methods:
42
42
43
43
# method 2
44
44
pip install torch==2.0.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
45
+
45
46
wget https://huggingface.co/csukuangfj/k2/resolve/main/cpu/k2-1.24.3.dev20230719+cpu.torch2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
47
+
48
+ # For users from China
49
+ # 中国国内用户,如果访问不了 huggingface, 请使用
50
+ # wget https://hf-mirror.com/csukuangfj/k2/resolve/main/cpu/k2-1.24.3.dev20230719+cpu.torch2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
51
+
46
52
pip install ./k2-1.24.3.dev20230719+cpu.torch2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
47
53
48
54
.. hint ::
49
55
50
56
You can visit `<https://k2-fsa.github.io/k2/cpu.html >`_ to see avaiable versions of `k2 `_.
51
57
58
+ For users from China, please visit `<https://k2-fsa.github.io/k2/cpu-cn.html >`_ to see avaiable versions of `k2 `_.
59
+
52
60
53
61
macOS (CPU) example
54
62
^^^^^^^^^^^^^^^^^^^
@@ -70,12 +78,19 @@ we can use the following methods:
70
78
# method 2
71
79
pip install torch==2.0.1
72
80
wget https://huggingface.co/csukuangfj/k2/resolve/main/macos/k2-1.24.3.dev20230720+cpu.torch2.0.1-cp38-cp38-macosx_10_9_x86_64.whl
81
+
82
+ # For users from China
83
+ # 中国国内用户,如果访问不了 huggingface, 请使用
84
+ # wget https://hf-mirror.com/csukuangfj/k2/resolve/main/macos/k2-1.24.3.dev20230720+cpu.torch2.0.1-cp38-cp38-macosx_10_9_x86_64.whl
85
+
73
86
pip install ./k2-1.24.3.dev20230720+cpu.torch2.0.1-cp38-cp38-macosx_10_9_x86_64.whl
74
87
75
88
.. hint ::
76
89
77
90
You can visit `<https://k2-fsa.github.io/k2/cpu.html >`_ to see avaiable versions of `k2 `_.
78
91
92
+ For users from China, please visit `<https://k2-fsa.github.io/k2/cpu-cn.html >`_ to see avaiable versions of `k2 `_.
93
+
79
94
Windows (CPU) example
80
95
^^^^^^^^^^^^^^^^^^^^^
81
96
@@ -96,6 +111,11 @@ we can use the one of the following methods:
96
111
# method 2
97
112
pip install torch==2.0.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
98
113
wget https://huggingface.co/csukuangfj/k2/resolve/main/windows-cpu/k2-1.24.3.dev20230726+cpu.torch2.0.1-cp38-cp38-win_amd64.whl
114
+
115
+ # For users from China
116
+ # 中国国内用户,如果访问不了 huggingface, 请使用
117
+ # wget https://hf-mirror.com/csukuangfj/k2/resolve/main/windows-cpu/k2-1.24.3.dev20230726+cpu.torch2.0.1-cp38-cp38-win_amd64.whl
118
+
99
119
pip install k2-1.24.3.dev20230726+cpu.torch2.0.1-cp38-cp38-win_amd64.whl
100
120
101
121
.. hint ::
@@ -107,6 +127,8 @@ we can use the one of the following methods:
107
127
108
128
You can visit `<https://k2-fsa.github.io/k2/cpu.html >`_ to see avaiable versions of `k2 `_.
109
129
130
+ For users from China, please visit `<https://k2-fsa.github.io/k2/cpu-cn.html >`_ to see avaiable versions of `k2 `_.
131
+
110
132
Linux (CUDA) example
111
133
^^^^^^^^^^^^^^^^^^^^
112
134
@@ -126,9 +148,17 @@ we can use the following methods:
126
148
127
149
# method 2
128
150
pip install torch==2.0.1+cu117 -f https://download.pytorch.org/whl/torch_stable.html
151
+
129
152
wget https://huggingface.co/csukuangfj/k2/resolve/main/cuda/k2-1.24.3.dev20230718+cuda11.7.torch2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
153
+
154
+ # For users from China
155
+ # 中国国内用户,如果访问不了 huggingface, 请使用
156
+ # wget https://hf-mirror.com/csukuangfj/k2/resolve/main/cuda/k2-1.24.3.dev20230718+cuda11.7.torch2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
157
+
130
158
pip install ./k2-1.24.3.dev20230718+cuda11.7.torch2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
131
159
132
160
.. hint ::
133
161
134
162
You can visit `<https://k2-fsa.github.io/k2/cuda.html >`_ to see avaiable versions of `k2 `_.
163
+
164
+ For users from China, please visit `<https://k2-fsa.github.io/k2/cuda-cn.html >`_ to see avaiable versions of `k2 `_.
0 commit comments