bruh moment 12
This commit is contained in:
parent
077b931cef
commit
1cc34ce8e0
@ -1,7 +0,0 @@
|
|||||||
import onnxruntime
|
|
||||||
|
|
||||||
use_gpu = False
|
|
||||||
providers = onnxruntime.get_available_providers()
|
|
||||||
|
|
||||||
if 'TensorrtExecutionProvider' in providers:
|
|
||||||
providers.remove('TensorrtExecutionProvider')
|
|
@ -1,5 +1,7 @@
|
|||||||
import torch
|
|
||||||
import onnxruntime
|
import onnxruntime
|
||||||
|
|
||||||
use_gpu = False
|
use_gpu = False
|
||||||
providers = onnxruntime.get_available_providers()
|
providers = onnxruntime.get_available_providers()
|
||||||
|
|
||||||
|
if 'TensorrtExecutionProvider' in providers:
|
||||||
|
providers.remove('TensorrtExecutionProvider')
|
||||||
|
Loading…
Reference in New Issue
Block a user