From 0ce36599da9006e9ed5b0fa8de826adb44e50ab6 Mon Sep 17 00:00:00 2001 From: Foke Singh Date: Mon, 22 Jan 2024 12:17:01 +0000 Subject: [PATCH] Update example build config and Llama demo to support the new async epoll backend and zigcoro scheduler. --- examples/MODULE.bazel | 1 - examples/llama/main.zig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/MODULE.bazel b/examples/MODULE.bazel index 0658ba3..766ba83 100644 --- a/examples/MODULE.bazel +++ b/examples/MODULE.bazel @@ -134,7 +134,6 @@ filegroup( ) use_repo(huggingface, "Meta-Llama-3.2-3B-Instruct") - # Llama 3.1 huggingface.model( name = "Meta-Llama-3.1-8B-Instruct", diff --git a/examples/llama/main.zig b/examples/llama/main.zig index d7f8273..8df6963 100644 --- a/examples/llama/main.zig +++ b/examples/llama/main.zig @@ -28,6 +28,7 @@ pub const std_options = .{ .{ .scope = .zml_module, .level = if (show_mlir) .debug else .warn }, .{ .scope = .llama, .level = .info }, }, + .logFn = asynk.logFn, }; pub fn generateText(