You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b69f89e
Browse filesBrowse the repository at this point in the historyBrowse files
native cuda: a family's options from the serve flags move to cuda_options.zig, so cuda.zig stays under 600 lines
#952's rank and follower wiring took native/cuda.zig to 611 lines. cuda_options.zig now sets the ranks, vision,
--precision and fp8-cache options a family takes, unchanged, and openWith calls it. cuda.zig is 593 lines. The
staging test's title now says it covers a failed first upload too.
if (!family_options.set(F, o, &opts, problem)) returnnull;
346
329
if (@hasField(F.Options, "room")) opts.room= .{ .ctx=&probe, .read=Probe.read };
347
-
if (@hasField(F.Options, "kv8")) opts.kv8=o.kv8;
348
330
if (weights>before.room(held0)) {
349
331
problem.*=trystd.fmt.allocPrint(a, "the checkpoint's {d:.1} GiB of weights do not fit the {d:.1} GiB the CUDA memory budget grants ({d:.1} GiB free less a {d:.1} GiB reserve{s}); free device memory or adjust TENSORFOLD_MEMORY_RESERVE_GIB / TENSORFOLD_CUDA_MEMORY_LIMIT_GB", .{ toGib(weights), toGib(before.room(held0)), toGib(before.free), toGib(before.reserve), if (before.limit!=null) ", under TENSORFOLD_CUDA_MEMORY_LIMIT_GB"else"" });
0 commit comments