mirror of
https://github.com/deepseek-ai/DeepSeek-V3.git
synced 2025-02-23 06:08:58 -05:00
Fix small error
This commit is contained in:
parent
e75ce46245
commit
b6e3910fd0
@ -802,7 +802,7 @@ if __name__ == "__main__":
|
||||
default_device = "mps"
|
||||
else:
|
||||
default_device = "cpu"
|
||||
torch.set_default_device("default_device")
|
||||
torch.set_default_device(default_device)
|
||||
torch.manual_seed(0)
|
||||
args = ModelArgs()
|
||||
x = torch.randint(0, args.vocab_size, (2, 128))
|
||||
|
Loading…
Reference in New Issue
Block a user