-
Notifications
You must be signed in to change notification settings - Fork 12
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
MacOS: Context leak detected, msgtracer returned -1 #23
Comments
@altunenes |
yes, it still persists. Also, I see this on the pyannote too and maybe whisper-rs related thing. I've never seen it on Windows either. It's like a “warning” message that only appears on macos and it's very difficult to understand its origin. note: Since it doesn't prevent the code from working and doesn't cause a major “leak” (at least as far as I can see), I didn't care too much, but I wanted to let you know anyway. :-) |
Same here on MacOs, except it happens when running the Something notable is that first time running gave me "Context leak detected, msgtracer returned -1" followed by "Segmentation fault". Ran it again without doing anything and it produced the proper |
Try to set the provider to |
Same thing as the second run unless I'm doing something wrong? |
the provider argument wasn't used in the example so so it still used |
Yeah that worked :) |
Great! I also noticed that it works faster on CPU with macOS m1. weird. |
Yeah I noticed it too. Worked faster for the |
I think that it's related to onnxruntime operators. the platform claims to 'support' many backends. in the reality It didn't worked for me fast in them (Eg. coreml, directml) |
I do not get any warning msg on Windows 11 |
Hello! Thank you for this work again! I tried to run the example exactly https://github.com/thewh1teagle/sherpa-rs/blob/main/examples/diarize.rs here with:
"
let segment_model_path = "model.onnx"; //latest seg. model from sherpa...
let embedding_model_path = "wespeaker_en_voxceleb_CAM++.onnx";
let wav_path = "normalized_audio.wav";"
Context leak detected, msgtracer returned -1
Context leak detected, msgtracer returned -1
Context leak detected, msgtracer returned -1
🗣️ Diarizing... 0% 🎯
Context leak detected, msgtracer returned -1
Context leak detected, msgtracer returned -1
🗣️ Diarizing... 0% 🎯
🗣️ Diarizing... 0% 🎯
🗣️ Diarizing... 1% 🎯
🗣️ Diarizing... 1% 🎯
🗣️ Diarizing... 1% 🎯
🗣️ Diarizing... 1% 🎯
🗣️ Diarizing... 2% 🎯
🗣️ Diarizing... 2% 🎯
The code works without any problems. However, I wanted to bring this warning message to your attention.
The text was updated successfully, but these errors were encountered: