mirror of
https://github.com/karpathy/llm.c.git
synced 2026-07-20 23:05:08 -04:00
i misspelled reduced
This commit is contained in:
parent
8c586f9158
commit
18298f3a40
1 changed files with 3 additions and 3 deletions
|
|
@ -409,9 +409,9 @@ void gpt2_allocate_state(GPT2 *model, int B, int T) {
|
|||
}
|
||||
|
||||
// report on mixed memory allocation status (re-using our float reduce function, bit awk ok)
|
||||
int readuced_memory_status = (int) multi_gpu_cpu_float_sum((float)memory_status, &multi_gpu_config);
|
||||
if (readuced_memory_status >= 1) {
|
||||
printf0("WARNING: Fell back to cudaMallocManaged when initializing m,v,master_weights on %d GPUs\n", readuced_memory_status);
|
||||
int reduced_memory_status = (int) multi_gpu_cpu_float_sum((float)memory_status, &multi_gpu_config);
|
||||
if (reduced_memory_status >= 1) {
|
||||
printf0("WARNING: Fell back to cudaMallocManaged when initializing m,v,master_weights on %d GPUs\n", reduced_memory_status);
|
||||
printf0(" Prevents an OOM, but code may run much slower due to device <-> host memory movement\n");
|
||||
}
|
||||
// report on device memory usage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue