mirror of
https://github.com/karpathy/llm.c.git
synced 2026-07-28 20:35:09 -04:00
fixed profile target
This commit is contained in:
parent
a9947a8315
commit
c3a3b9daa5
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ int main(int argc, char *argv[]) {
|
|||
gpt2_forward(&model, x, y, B, T);
|
||||
gpt2_zero_grad(&model);
|
||||
gpt2_backward(&model);
|
||||
gpt2_update(&model, 1e-4f, 0.9f, 0.999f, 1e-8f, 0.0f, 1, &multi_gpu_config);
|
||||
gpt2_update(&model, 1e-4f, 0.9f, 0.999f, 1e-8f, 0.0f, 1.f, 1, &multi_gpu_config);
|
||||
cudaCheck(cudaDeviceSynchronize()); // finish all CUDA work to get correct precise timings
|
||||
|
||||
// free
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue