Hi,
I seem to have trouble getting my small Nvidia GT710 card getting to do even menial work on Faceswap on Linux. My setup has been made today on Debian buster using the Linux install script as described on the Download page. The card is successfully detected as the drivers are properly installed. But when I start extraction, Tensorflow automatically switches to CPU because:
Code: Select all
2021-03-26 00:35:00.726016: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561]
Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GT 710 computeCapability: 3.5
coreClock: 0.954GHz coreCount: 1 deviceMemorySize: 1.96GiB deviceMemoryBandwidth: 13.41GiB/s
...
2021-03-26 00:35:02.323817: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1688] Ignoring visible gpu device
(device: 0, name: GeForce GT 710, pci bus id: 0000:01:00.0, compute capability: 3.5)
with core count: 1. The minimum required count is 4.
You can adjust this requirement with the env var TF_MIN_GPU_MULTIPROCESSOR_COUNT.
The card has 192 Cuda cores, so I think there may be a bug in detection here. Anyway, as a workaround, I have been trying to set up TF_MIN_GPU_MULTIPROCESSOR_COUNT in my .bashrc file to 1, but it is not taken into account. I have tried modifying faceswap.py and add os.environ["TF_MIN_GPU_MULTIPROCESSOR_COUNT"] = "1" at startup, but it is not taken into account either. Of course I also did the usual close/restart terminal etc.
I wonder how can I set environment variables so that Tensorflow takes them into account in the context of an execution from Faceswap's GUI. Any help welcome!