-
Notifications
You must be signed in to change notification settings - Fork 146
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
The option use_env_allocators
crashes the inference with CPU EP
#929
Labels
bug
Something isn't working
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Update: I'm also hitting this on win-x64, with Phi3.5-vision model:
|
skyline75489
changed the title
The option
The option Sep 27, 2024
use_env_allocators
crashes the inference on iOSuse_env_allocators
crashes the inference with CPU EP
Closed
this ORT issue looks related: |
Closing issue since microsoft/onnxruntime#22290 was merged. I will submit another PR to re-enable env allocator sharing. Thanks @skyline75489 @edgchen1 @aciddelgado @liqunfu for the discovery and fix. :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Introduced in #907, when there is no EP specified,
use_env_allocators
will betrue
. This crashes the inference on iOS with the following stacktrace:Additional context
The model is Phi3-mini-4k-instruct-onnx-cpu-int4-rtn-block-32-acc-level-4.
Tested it with ORT 1.19.0 and ORT 1.19.2. The crash happens with both versions.
The text was updated successfully, but these errors were encountered: