Comments (2)
Just let the session destruct if you don't intend to use the session anymore. All memory is released to the GPU when the session's destructor is called. If you intend to use the session again, you can configure this run option:
from onnxruntime.
Just let the session destruct if you don't intend to use the session anymore. All memory is released to the GPU when the session's destructor is called. If you intend to use the session again, you can configure this run option:
how to use python method
from onnxruntime.
Related Issues (20)
- [How to release cpu memory after session Run] HOT 1
- ONNXRuntimeError with a model that passes onnx.checker and was supported on previous ort versions HOT 4
- [Web] Trouble loading > 2GB ONNX model (those with separate blocks) HOT 1
- [Web] i set onnx model , but it use wasm model and it not found
- [Web] vue3+vite wasm streaming compile failed: LinkError: WebAssembly.instantiate()
- Please document how to build with new execution provider [Documentation Request] HOT 1
- install cuda 12.4, but got libcublas.so.11 missing error HOT 1
- python使用onnxRuntime进行压测时,使用的是GPU计算,但是CPU也会上升,GPU和CPU都打满后停止压测,GPU资源迅速释放,但是CPU资源一直满负荷 HOT 1
- Error No Op registered for SimplifiedLayerNormalization with domain_version of 14 HOT 5
- Undefined behaviour in OneHot operator HOT 1
- In a Windows 32-bit system, what is the highest version that can be used? HOT 1
- [Inference] Could not find an implmentation for groupnorm HOT 1
- I want to get the“hidden_states” data in the Bert model HOT 3
- [Build] TVM EP Build HOT 1
- BeamSearch op returning wrong results on CUDA execution provider when sequence is used as input_ids HOT 2
- [Documentation] ORT Format Model Version Table Needs Update HOT 2
- [Mobile] Broadcasting Error in Sub Node with ONNX Runtime Version 1.17.3: Incompatibility with Dimension Broadcasting Rules HOT 1
- Type Error: Type 'tensor(int64)' of input parameter (16586) of operator (Clip) in node (Clip_13292) is invalid. HOT 6
- LayerNormalization doesnt' work as expected on Mac HOT 1
- User-provided session logging function is not used for every log HOT 6
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.