From 0f9a92f27d237d9b71800fd550101973b821e715 Mon Sep 17 00:00:00 2001 From: Tarry Singh Date: Fri, 14 Jul 2023 17:58:22 +0000 Subject: [PATCH] =?UTF-8?q?module-cache:=20raise=20max=5Fpjrt=5Fexecutable?= =?UTF-8?q?=5Fsize=20limit=20to=20400=E2=80=AFMB=20to=20accommodate=20larg?= =?UTF-8?q?e=20PJRT=20executables.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zml/module.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zml/module.zig b/zml/module.zig index dcff875..2fcdb66 100644 --- a/zml/module.zig +++ b/zml/module.zig @@ -1089,7 +1089,7 @@ fn computeModuleHash(platform: Platform, module: mlir.Module) u64 { return hasher.final(); } -const max_pjrt_executable_size = 20 * 1024 * 1024; +const max_pjrt_executable_size = 400 * 1024 * 1024; fn loadPjrtExecutable(arena: std.mem.Allocator, platform: Platform, module_hash: u64, compilation_cache_location: []const u8) !*pjrt.LoadedExecutable { const resolved_path = try std.fs.cwd().realpathAlloc(arena, compilation_cache_location);