Skip to content

Commit 884ce6d

Browse files
authored
Use tencent/ncnn master. (#320)
1 parent ca9c19f commit 884ce6d

File tree

3 files changed

+26
-20
lines changed

3 files changed

+26
-20
lines changed

cmake/kaldi-native-fbank.cmake

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ function(download_kaldi_native_fbank)
22
include(FetchContent)
33

44
# Please also change ../pack-for-embedded-systems.sh
5-
set(kaldi_native_fbank_URL "https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.6.tar.gz")
6-
set(kaldi_native_fbank_URL2 "https://hub.nuaa.cf/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.6.tar.gz")
7-
set(kaldi_native_fbank_HASH "SHA256=6202a00cd06ba8ff89beb7b6f85cda34e073e94f25fc29e37c519bff0706bf19")
5+
set(kaldi_native_fbank_URL "https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.7.tar.gz")
6+
set(kaldi_native_fbank_URL2 "https://hub.nuaa.cf/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.7.tar.gz")
7+
set(kaldi_native_fbank_HASH "SHA256=e78fd9d481d83d7d6d1be0012752e6531cb614e030558a3491e3c033cb8e0e4e")
88

99
# If you don't have access to the Internet, please download it to your
1010
# local drive and modify the following line according to your needs.
1111
set(possible_file_locations
12-
$ENV{HOME}/Downloads/kaldi-native-fbank-1.18.6.tar.gz
13-
$ENV{HOME}/asr/kaldi-native-fbank-1.18.6.tar.gz
14-
${PROJECT_SOURCE_DIR}/kaldi-native-fbank-1.18.6.tar.gz
15-
${PROJECT_BINARY_DIR}/kaldi-native-fbank-1.18.6.tar.gz
16-
/tmp/kaldi-native-fbank-1.18.6.tar.gz
12+
$ENV{HOME}/Downloads/kaldi-native-fbank-1.18.7.tar.gz
13+
$ENV{HOME}/asr/kaldi-native-fbank-1.18.7.tar.gz
14+
${PROJECT_SOURCE_DIR}/kaldi-native-fbank-1.18.7.tar.gz
15+
${PROJECT_BINARY_DIR}/kaldi-native-fbank-1.18.7.tar.gz
16+
/tmp/kaldi-native-fbank-1.18.7.tar.gz
1717
)
1818

1919
foreach(f IN LISTS possible_file_locations)

cmake/ncnn.cmake

+17-11
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@ function(download_ncnn)
66
# https://github.com/csukuangfj/ncnn/pull/7
77

88
# Please also change ../pack-for-embedded-systems.sh
9-
set(ncnn_URL "https://github.com/csukuangfj/ncnn/archive/refs/tags/sherpa-1.1.tar.gz")
10-
set(ncnn_URL2 "https://hub.nuaa.cf/csukuangfj/ncnn/archive/refs/tags/sherpa-1.1.tar.gz")
11-
set(ncnn_HASH "SHA256=254aaedf8ad3e6baaa63bcd5d23e9673e3973d7cb2154c18e5c7743d45b4e160")
9+
10+
# the latest master as of 2024.03.05
11+
set(ncnn_URL "https://github.com/Tencent/ncnn/archive/964ed7a56a573c5046cc177a6cd95580ecddcddf.zip")
12+
set(ncnn_URL2 "https://hub.nuaa.cf/Tencent/ncnn/archive/964ed7a56a573c5046cc177a6cd95580ecddcddf.zip")
13+
set(ncnn_HASH "SHA256=7a02ca37bc4137862efca0627430884db21f0c7491f8f7b98f909cf4a404792e")
1214

1315
# If you don't have access to the Internet, please download it to your
1416
# local drive and modify the following line according to your needs.
1517
set(possible_file_locations
16-
$ENV{HOME}/Downloads/ncnn-sherpa-1.1.tar.gz
17-
$ENV{HOME}/asr/ncnn-sherpa-1.1.tar.gz
18-
${PROJECT_SOURCE_DIR}/ncnn-sherpa-1.1.tar.gz
19-
${PROJECT_BINARY_DIR}/ncnn-sherpa-1.1.tar.gz
20-
/tmp/ncnn-sherpa-1.1.tar.gz
18+
$ENV{HOME}/Downloads/ncnn-964ed7a56a573c5046cc177a6cd95580ecddcddf.zip
19+
$ENV{HOME}/asr/ncnn-964ed7a56a573c5046cc177a6cd95580ecddcddf.zip
20+
${PROJECT_SOURCE_DIR}/ncnn-964ed7a56a573c5046cc177a6cd95580ecddcddf.zip
21+
${PROJECT_BINARY_DIR}/ncnn-964ed7a56a573c5046cc177a6cd95580ecddcddf.zip
22+
/tmp/ncnn-964ed7a56a573c5046cc177a6cd95580ecddcddf.zip
2123
)
2224

2325
foreach(f IN LISTS possible_file_locations)
@@ -160,15 +162,19 @@ function(download_ncnn)
160162
DeconvolutionDepthWise3D
161163
Einsum
162164
DeformableConv2D
163-
RelPositionalEncoding
164-
MakePadMask
165-
RelShift
166165
# GLU
167166
Fold
168167
Unfold
169168
GridSample
170169
CumulativeSum
171170
CopyTo
171+
Erf
172+
Diag
173+
CELU
174+
Shrink
175+
RelPositionalEncoding
176+
MakePadMask
177+
RelShift
172178
)
173179

174180
foreach(layer IN LISTS disabled_layers)

pack-for-embedded-systems.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ rm -v sherpa-ncnn-${SHERPA_NCNN_VERSION}.tar.gz
2626
# Please also change ./build-m3axpi.sh
2727
wget \
2828
-O kaldi-native-fbank-1.18.5.tar.gz \
29-
https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.5.tar.gz
29+
https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.7.tar.gz
3030

3131
wget \
3232
-O ncnn-sherpa-1.1.tar.gz \

0 commit comments

Comments
 (0)