()
| 12 | return("nvidia-smi not found.") |
| 13 | |
| 14 | def isGPU(): |
| 15 | return os.path.isfile('/proc/driver/nvidia/version') |
| 16 | |
| 17 | gpu_test = unittest.skipIf(not isGPU(), 'Not running GPU tests') |
| 18 | # b/342143152 P100s are slowly being unsupported in new release of popular ml tools such as RAPIDS. |
no outgoing calls