mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-07-25 21:19:18 +02:00
ModelZoo: avoid Azure EP (displacing CPU)
This commit is contained in:
parent
b4165114ea
commit
839d7b9a7e
1 changed files with 2 additions and 0 deletions
|
|
@ -334,6 +334,8 @@ class EynollahModelZoo:
|
|||
providers = [provider for provider in providers
|
||||
if provider[:-17] in override_providers]
|
||||
# configure and prioritise
|
||||
if 'AzureExecutionProvider' in providers:
|
||||
providers.remove('AzureExecutionProvider')
|
||||
if 'CUDAExecutionProvider' in providers:
|
||||
providers.remove('CUDAExecutionProvider')
|
||||
if gpu >= 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue