Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reduce batch size in train.c


how to do this? I have this same error


https://github.com/markusheimerl/gpt/blob/main/train.c - in this file, search for the line "const int batch_size = 15;" - reduce this number




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: