Looking at the logs, there appears to be something else mixed up.
Configuration in faceswap:
ID 0 = 2060 <-- excluded with checkbox
ID 1 = 2080Ti
It starts by checking the free memory of 2080Ti.
But then tensorflow puts the job on to ID 0, that is 2060.
Checking the memory consumption and utilization, the extraction is indeed done by 2060.
The 2080Ti is at this time working on rendering.
If I swap the checkboxes, it checks 2060's memory and then tries to put the job on 2080Ti - which immediately jams as the card is 100% utilized already by other process.
It appears that this causes faceswap to change into Serial processing which is much slower.
I tried with same settings but without 2080Ti being occupied. In that case, it runs parallel (1-pass extraction), in 2060. So it appears it checks memory of the wrong card? Or puts the tensorflow job on the wrong card?
Log here:
Code: Select all
04/19/2022 09:05:04 VERBOSE Alignments filepath: 'N:\Convert\vid\to-align\1_alignments.fsa'
04/19/2022 09:05:04 INFO Loading Detect from S3Fd plugin...
04/19/2022 09:05:04 VERBOSE Loading config: 'C:\Users\acaint\faceswap\config\extract.ini'
04/19/2022 09:05:04 INFO Loading Align from Fan plugin...
04/19/2022 09:05:04 VERBOSE Loading config: 'C:\Users\acaint\faceswap\config\extract.ini'
04/19/2022 09:05:04 INFO Loading Mask from Components plugin...
04/19/2022 09:05:04 VERBOSE Loading config: 'C:\Users\acaint\faceswap\config\extract.ini'
04/19/2022 09:05:04 INFO Loading Mask from Extended plugin...
04/19/2022 09:05:04 VERBOSE Loading config: 'C:\Users\acaint\faceswap\config\extract.ini'
04/19/2022 09:05:04 VERBOSE GeForce RTX 2080 Ti - 4310MB free of 11264MB
04/19/2022 09:05:04 WARNING Not enough free VRAM for parallel processing. Switching to serial
04/19/2022 09:05:04 INFO Reset batch sizes due to available VRAM: Detect: 1
04/19/2022 09:05:04 INFO Starting, this may take a while...
04/19/2022 09:05:04 INFO Initializing S3FD (Detect)...
04/19/2022 09:05:04 INFO Setting allow growth for GPU: PhysicalDevice(name='/physical_device:GPU:1',
device_type='GPU')
2022-04-19 09:05:04.776504: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized
with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical
operations: AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-04-19 09:05:05.560745: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device
/job:localhost/replica:0/task:0/device:GPU:0 with 3955 MB memory: -> device: 1, name: GeForce RTX 2060, pci bus id:
0000:08:00.0, compute capability: 7.5