Update.
authorFrancois Fleuret <francois@fleuret.org>
Sat, 5 Sep 2020 08:01:54 +0000 (10:01 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Sat, 5 Sep 2020 08:01:54 +0000 (10:01 +0200)
speed.py

index e5b0e3a..075b07e 100755 (executable)
--- a/speed.py
+++ b/speed.py
@@ -42,4 +42,4 @@ for t in [ torch.float32, torch.float16 ]:
 
     except:
 
-        print(f'Cannot try with {t}')
+        print(f'{t} is not available on {device}')