mirror of
https://github.com/facefusion/facefusion.git
synced 2026-04-22 09:26:02 +02:00
hopefully fix CI
This commit is contained in:
@@ -113,12 +113,13 @@ def resolve_cache_path() -> str:
|
||||
|
||||
|
||||
def resolve_cudnn_conv_algo_search(execution_providers : List[ExecutionProvider]) -> str:
|
||||
graphic_devices = detect_static_graphic_devices(tuple(execution_providers))
|
||||
product_names = ('GeForce GTX 1630', 'GeForce GTX 1650', 'GeForce GTX 1660')
|
||||
if has_execution_provider('cuda') or has_execution_provider('tensorrt'):
|
||||
graphic_devices = detect_static_graphic_devices(tuple(execution_providers))
|
||||
product_names = ('GeForce GTX 1630', 'GeForce GTX 1650', 'GeForce GTX 1660')
|
||||
|
||||
for graphic_device in graphic_devices:
|
||||
if graphic_device.get('product').get('name').startswith(product_names):
|
||||
return 'DEFAULT'
|
||||
for graphic_device in graphic_devices:
|
||||
if graphic_device.get('product').get('name').startswith(product_names):
|
||||
return 'DEFAULT'
|
||||
|
||||
return 'EXHAUSTIVE'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user