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

Minimum VRAM? #34

Closed
yuesam opened this issue Jun 17, 2024 · 5 comments
Closed

Minimum VRAM? #34

yuesam opened this issue Jun 17, 2024 · 5 comments

Comments

@yuesam
Copy link

yuesam commented Jun 17, 2024

What's the min vram for this? Thanks!

@jryebread
Copy link

+1 Same Question, Tried to run on an A10G with 24GB VRAM and got onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from ./pretrained_models/face_analysis/models/1k3d68.onnx failed:Protobuf parsing failed. Think the model too big to load?

@nitinmukesh
Copy link

I am testing on RTX4060 8 GB and it is not able to use full VRAM. The only problem is it does not show how much is remaining, just going on endlessely for 7 hours

image

@AricGamma
Copy link
Member

it cost about 9G VRAM at runtime.

@AricGamma
Copy link
Member

+1 Same Question, Tried to run on an A10G with 24GB VRAM and got onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from ./pretrained_models/face_analysis/models/1k3d68.onnx failed:Protobuf parsing failed. Think the model too big to load?

That may be another problem. please open a new issue.

@AricGamma
Copy link
Member

+1 Same Question, Tried to run on an A10G with 24GB VRAM and got onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from ./pretrained_models/face_analysis/models/1k3d68.onnx failed:Protobuf parsing failed. Think the model too big to load?

Maybe the model is incomplete. Refer to #42

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

5 participants