The best ChatGPT that $100 can buy.
Python
fix deprecated commit on torchao
Andrej Karpathyf527f761460e
diff --git a/scripts/base_train.py b/scripts/base_train.pyindex 7c748a4..d1af271 100644--- a/scripts/base_train.py+++ b/scripts/base_train.py@@ -44,7 +44,7 @@ parser.add_argument("--run", type=str, default="dummy", help="wandb run name ('d# Runtimeparser.add_argument("--device-type", type=str, default="", help="cuda|cpu|mps (empty = autodetect)")# FP8 training-parser.add_argument("--fp8", action="store_true", help="enable FP8 training (requires H100+ GPU and torchao)")+parser.add_argument("--fp8", action="store_true", help="enable FP8 training (requires H100+ GPU)")parser.add_argument("--fp8-recipe", type=str, default="tensorwise", choices=["rowwise", "tensorwise"], help="FP8 scaling recipe: tensorwise (faster, recommended) or rowwise (more accurate but slower)")# Model architectureparser.add_argument("--depth", type=int, default=20, help="depth of the Transformer model")