Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在arm64 windows 电脑上没有识别出结果 #8

Open
wmx-github opened this issue Sep 2, 2024 · 2 comments
Open

在arm64 windows 电脑上没有识别出结果 #8

wmx-github opened this issue Sep 2, 2024 · 2 comments

Comments

@wmx-github
Copy link

wmx-github commented Sep 2, 2024

在arm64 windows 电脑上没有识别出结果

脚本:

@echo off
setlocal

:: 指定模型路径
set MODEL_PATH=C:\\Users\\Admin123\\.cache\\modelscope\\hub\\lovemefan\\SenseVoiceGGUF\\gguf-fp16-sense-voice-small.bin
:: 执行程序
"../build/bin/Release/sense-voice-main.exe " ^
-m %MODEL_PATH%  "C:\\workspace\\voices\\asr_example_en.wav" ^
-t 4

endlocal

运行之后输出如下:

PS C:\workspace\SenseVoice.cpp\wmx_test> .\test.bat
sense_voice_small_init_from_file_with_params_no_state: loading model from 'C:\\Users\\Admin123\\.cache\\modelscope\\hub\\lovemefan\\SenseVoiceGGUF\\gguf-fp16-sense-voice-small.bin'
sense_voice_init_with_params_no_state: use gpu    = 1
sense_voice_init_with_params_no_state: flash attn = 0
sense_voice_init_with_params_no_state: gpu_device = 0
sense_voice_model_load: version:      3
sense_voice_model_load: alignment:   32
sense_voice_model_load: data offset: 421984
sense_voice_model_load: loading model
sense_voice_model_load: n_vocab = 25055
sense_voice_model_load: n_encoder_hidden_state = 512
sense_voice_model_load: n_encoder_linear_units = 2048
sense_voice_model_load: n_encoder_attention_heads  = 4
sense_voice_model_load: n_encoder_layers = 50
sense_voice_model_load: n_mels  = 80
sense_voice_model_load: ftype  = 1
sense_voice_model_load: vocab[25055] loaded
sense_voice_model_load: CPU total size =   468.98 MB
sense_voice_model_load: n_tensors: 1197
sense_voice_model_load: load SenseVoiceSmall takes 0.763000 second
sense_voice_init_state: kv pad  size  =    3.67 MB
sense_voice_init_state: compute buffer (encoder)   =   17.16 MB
sense_voice_init_state: compute buffer (decoder)   =    5.54 MB

system_info: n_threads = 4 / 4 | AVX = 0 | AVX2 = 0 | AVX512 = 0 | FMA = 0 | NEON = 1 | ARM_FMA = 1 | METAL = 0 | F16C = 0 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 0 | SSSE3 = 0 | VSX = 0 | CUDA = 0 | COREML = 0 | OPENVINO = 0

main: processing audio (35600 samples, 2.22500 sec) , 4 threads, 1 processors, lang = auto...

PS C:\workspace\SenseVoice.cpp\wmx_test>
@lovemefan
Copy link
Owner

抱歉,有个小bug,请更新代码。感谢关注项目,当前项目尚未充分测试,后续会添加更多测试提高稳定性

@lovemefan
Copy link
Owner

请问,当前问题还存在吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants