Internal change.
authorAnna R <annarev@google.com>
Wed, 31 Jan 2018 22:30:22 +0000 (14:30 -0800)
committerMichael Case <mikecase@google.com>
Thu, 1 Feb 2018 01:46:40 +0000 (17:46 -0800)
PiperOrigin-RevId: 184047860

tensorflow/tools/test/run_and_gather_logs_lib.py

index a953ed1b53d13504f92d2ffeb4c1ac6bcb0b8477..3b4921bb983a72223b092d99eb3fb59332fc6345 100644 (file)
@@ -136,7 +136,7 @@ def run_and_gather_logs(name, test_name, test_args,
   gpu_config = gpu_info_lib.gather_gpu_devices()
   if gpu_config:
     gpu_name = gpu_config[0].model
-    gpu_short_name_match = re.search(r"Tesla (K40|K80|P100)", gpu_name)
+    gpu_short_name_match = re.search(r"Tesla (K40|K80|P100|V100)", gpu_name)
     if gpu_short_name_match:
       gpu_short_name = gpu_short_name_match.group(0)
       test_adjusted_name = name + "|" + gpu_short_name.replace(" ", "_")