Remove extra space

This commit is contained in:
Ross Wightman 2024-10-18 14:54:16 -07:00
parent 015fbe457a
commit c3992d5c4c

View File

@ -389,7 +389,7 @@ def _try_run(args, initial_batch_size):
try:
if 'cuda' in args.device and torch.cuda.is_available():
torch.cuda.empty_cache()
elif "npu" in args.device and torch.npu.is_available():
elif "npu" in args.device and torch.npu.is_available():
torch.npu.empty_cache()
results = validate(args)
return results