Unverified Commit 051311ff authored by Michael Wyatt's avatar Michael Wyatt Committed by GitHub
Browse files

fix string (#18568)

parent 9a9a525b
......@@ -768,7 +768,7 @@ class Pipeline(_ScikitCompat):
elif device < 0:
self.device = torch.device("cpu")
else:
self.device = torch.device("cuda:{device}")
self.device = torch.device(f"cuda:{device}")
else:
self.device = device
self.binary_output = binary_output
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment