mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
extractor for AMD gpu: increase no response time
This commit is contained in:
parent
6b14741160
commit
1bfd65abe5
1 changed files with 7 additions and 2 deletions
|
@ -308,7 +308,12 @@ class ExtractSubprocessor(Subprocessor):
|
|||
|
||||
self.devices = ExtractSubprocessor.get_devices_for_config(self.manual, self.type, multi_gpu, cpu_only)
|
||||
|
||||
no_response_time_sec = 60 if not self.manual and not DEBUG else 999999
|
||||
if self.manual or DEBUG:
|
||||
no_response_time_sec = 999999
|
||||
elif nnlib.device.backend == 'plaidML':
|
||||
no_response_time_sec = 600
|
||||
else:
|
||||
no_response_time_sec = 60
|
||||
|
||||
super().__init__('Extractor', ExtractSubprocessor.Cli, no_response_time_sec, initialize_subprocesses_in_serial=(type != 'final'))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue