From: Francois Fleuret Date: Sat, 5 Sep 2020 08:01:54 +0000 (+0200) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=pytorch.git;a=commitdiff_plain;h=5ee7d04e8a0ba8fcf42f61c63ffaaad1b25b89d2 Update. --- diff --git a/speed.py b/speed.py index e5b0e3a..075b07e 100755 --- 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}')