mirror of
https://github.com/karpathy/nanochat.git
synced 2026-03-18 19:03:14 +00:00
Bare `except:` catches BaseException including KeyboardInterrupt and SystemExit. Replaced 5 instances with `except Exception:`. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| checkpoint_manager.py | ||
| common.py | ||
| core_eval.py | ||
| dataloader.py | ||
| dataset.py | ||
| engine.py | ||
| execution.py | ||
| flash_attention.py | ||
| fp8.py | ||
| gpt.py | ||
| logo.svg | ||
| loss_eval.py | ||
| optim.py | ||
| report.py | ||
| tokenizer.py | ||
| ui.html | ||