make mentions of mps in docs. ty good people in issue #28

This commit is contained in:
Andrej Karpathy committed 2023-01-20 21:28:20 +00:00
1 parent a6bffeee59
commit 1f77d03024
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ min_lr = 6e-5 # minimum learning rate, should be ~= learning_rate/10 per Chinchi
# DDP settings
backend = 'nccl' # 'nccl', 'gloo', etc.
# system
device = 'cuda' # examples: 'cpu', 'cuda', 'cuda:0', 'cuda:1', etc.
device = 'cuda' # examples: 'cpu', 'cuda', 'cuda:0', 'cuda:1' etc., or try 'mps' on macbooks
dtype = 'bfloat16' # 'float32' or 'bfloat16'
compile = True # use PyTorch 2.0 to compile the model to be faster
# -----------------------------------------------------------------------------