Skip to content

GPU: No performance benefit? #37

Closed Answered by Gourieff
adde88 asked this question in Q&A
Discussion options

You must be logged in to vote

ReActor also uses CPU execution provider only
I tried to rework the code to use GPU, but this's really no performance benefit, even it causes performance drop (too long loading of GPU execution providers, VRAM usage and inability to use "deepcopy" method for an already loaded insightface analysis model)
Considering that the standard Onnxruntime (neither GPU nor Silicon version) package is installed, it has only one execution provider available (CPUExecutionProvider), so that lines providers = onnxruntime.get_available_providers() and providers = ["CPUExecutionProvider"] are totally equal
onnxruntime.get_available_providers() returns ["CPUExecutionProvider"]
But I think this is more correc…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Gourieff
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #28 on August 05, 2023 06:46.