We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd62281 commit b262949Copy full SHA for b262949
generate.py
@@ -15,7 +15,7 @@
15
16
def device_sync(device):
17
if "cuda" in device:
18
- torch.cuda.synchronize()
+ torch.cuda.synchronize(device)
19
elif "cpu" in device:
20
pass
21
else:
mixtral-moe/generate.py
0 commit comments