VFernandez:

Is it possible that the old GPU, despite not being used, is still causing this problem?


Could you rerun the code with
CUDA_VISIBLE_DEVICES=id python script.py args

where id should be 0 or 1 depending which GPU is mapped to the device id and make sure that only the TitanV is found?
The error could also point to an NVIDIA driver, which is too old.
For CUDA10.2, you would need >=440.33 as given in this table 37.