From c3a3b9daa526eb5cc02b05aaea7451ed3c4f0d53 Mon Sep 17 00:00:00 2001 From: Erik Schultheis Date: Fri, 3 May 2024 01:08:04 +0300 Subject: [PATCH] fixed profile target --- profile_gpt2.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile_gpt2.cu b/profile_gpt2.cu index 4b24c89..5a67645 100644 --- a/profile_gpt2.cu +++ b/profile_gpt2.cu @@ -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