Skip to content

Commit c3992d5

Browse files
committed
Remove extra space
1 parent 015fbe4 commit c3992d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def _try_run(args, initial_batch_size):
389389
try:
390390
if 'cuda' in args.device and torch.cuda.is_available():
391391
torch.cuda.empty_cache()
392-
elif "npu" in args.device and torch.npu.is_available():
392+
elif "npu" in args.device and torch.npu.is_available():
393393
torch.npu.empty_cache()
394394
results = validate(args)
395395
return results

0 commit comments

Comments
 (0)