karpathy/build-nanogpt

Fix torch.compile Issue - Error with HellaSwag eval and Generation

ML-Guy opened this issue · 0 comments

The issue is that gcc is not available on the machine, at least in my setup.

Check GCC with type gcc command or path /usr/bin/gcc. If not available, install via build-essential package:

sudo apt-get install build-essential

Restart the shell and set use_compile = True in the training script. This worked for my setup.

Edit: Not fixed.