We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Followed instructions from README and it throws the error:
(base) sasank@johnaic:~/code/sycl/llm.c$ ./train_gpt2 [GPT-2] max_seq_len: 1024 vocab_size: 50257 num_layers: 12 num_heads: 12 channels: 768 num_parameters: 124439808 train dataset num_batches: 1192 val dataset num_batches: 128 num_activations: 73323776 val loss 5.252006 step 0: train loss 5.356172 (took 2658.361852 ms) Error: must forward with targets before backward
The text was updated successfully, but these errors were encountered:
Duplicate of #19
Sorry, something went wrong.
this is solved with these changes in the Makefile: delete -Ofast CFLAGS = -O3 -Wno-unused-result
CFLAGS = -O3 -Wno-unused-result
or add this flag to disable -ffast-math CFLAGS = -O3 -Ofast -fno-fast-math -Wno-unused-result
CFLAGS = -O3 -Ofast -fno-fast-math -Wno-unused-result
Yep, saw #21
No branches or pull requests
Followed instructions from README and it throws the error:
The text was updated successfully, but these errors were encountered: