Comments (8)
does it persist if you revert the change?
from onnxruntime.
One workaround I found is like the following: copy DLLs from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.40.33807\onecore\x64\Microsoft.VC143.CRT
to my conda environment C:\Users\%USERNAME%\.conda\envs\my_env
to overwrite existing DLLs.
Note that installing latest VC Runtime does not work (the downloaded VC Runtime is older than the one installed with latest Visual Studio).
from onnxruntime.
does it persist if you revert the change?
Yes, I encountered the issue before the change.
from onnxruntime.
conda uses old vc runtime and it is not compatible with new visual studio compiler. You can run "conda install conda-forge::vs2015_runtime" to upgrade your vc runtime version in conda.
from onnxruntime.
One workaround I found is like the following: copy DLLs from
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.40.33807\onecore\x64\Microsoft.VC143.CRT
to my conda environmentC:\Users\%USERNAME%\.conda\envs\my_env
to overwrite existing DLLs.Note that installing latest VC Runtime does not work (the downloaded VC Runtime is older than the one installed with latest Visual Studio).
Or just delete the DLLs in conda's directories.
from onnxruntime.
Faulting module name: MSVCP140.dll, version: 14.29.30153.0, time stamp: 0x653aa208
In theory this should work ... Could it be a different issue?
from onnxruntime.
Oh, @tianleiwu, when you build the code you need to add "--use_binskim_compliant_compile_flags" to your build command, otherwise the changes in #21005 wouldn't take effect. It was because I asked the author to scope the change to a smaller scope that wouldn't effect most people.
from onnxruntime.
Adding --use_binskim_compliant_compile_flags
solved the issue.
from onnxruntime.
Related Issues (20)
- CUDA wasnt able to be loaded when tring to use CUDA12.4 and onnxruntime-gpu 11.8 HOT 2
- Flan-T5 small converted model produces wrong result with batch size > 1 and long senetences
- [Training] Support for RKNPU Execution Provider on RK3562 Platform and On-Device Training Capabilities HOT 1
- Support Numpy v2.0 HOT 8
- Segmentation fault during inference HOT 2
- Can't find definition of OrtTensorRTProviderOptionsV2 in latest release
- [Mobile] Segmentation fault after repeated inference
- [Bug] W16A16 quantization, qdq_error is empty, but W8A8 is normal HOT 1
- [Feature Request] support FP8 calibraion method and quantization HOT 2
- DML cannot use device_id = 1 , run_with_iobinding failed.
- [Mobile] CreatMemoryInfo Failure in Android when try to create Ort::Value HOT 3
- [Build] ERROR: *.whl is not a valid wheel filename & ImportError: DLL load failed while importing onnxruntime_pybind11_state HOT 7
- [Performance] Running YOLOv8-seg.onnx with Dynamic Batch Size on GPU HOT 1
- [Web] `Error: [WebGPU] Kernel "[Conv] /text_encoder/encoder/layers.0/feed_forward/conv_2/Conv" failed. Error: FILTER_IN_CHANNEL should be equal to DATA_CHANNEL` HOT 1
- [Bug] fp8 quantization, weight_error is empty, but qdq_err is normal
- cannot resolve operator 'Cast' with opsets: ai.onnx v17 [Web]
- [Performance] Call a error when running on windows 7.detail:System.TypeInitializationException at Microsoft.ML.OnnxRuntime.SessionOptions..ctor() HOT 1
- [Feature Request] Support for Florence-2 model family
- [Web] [Webnn] Can't seem to use the WebNN. Getting "WEBNN execution provider is not supported in this build."
- Symbolic Shape infer fails on onnx file without much logs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnxruntime.