Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
6a39046
qwen 3 vl couches de bases pour vision encoder
Oct 20, 2025
3b9be5c
visual + text model
Oct 29, 2025
62fb682
update for testing
Oct 29, 2025
cdbf861
update test
Oct 29, 2025
e1286e8
push for test
Oct 29, 2025
ca1432e
update CLI for path
Oct 30, 2025
855dd2e
add test
Oct 30, 2025
f9240c3
test
Oct 30, 2025
4745361
test
Oct 30, 2025
5a47f14
model for test
Oct 30, 2025
3b18b26
dump activations bf16
Oct 31, 2025
911a2c5
test layers on gpu
Oct 31, 2025
04f22fa
update
Oct 31, 2025
518fbfa
test vision
Oct 31, 2025
cd7f808
test model
Oct 31, 2025
9e37946
update for test
Nov 3, 2025
c825675
test low level layers
Nov 3, 2025
159a8ac
test norm
Nov 3, 2025
63dea58
test on gpu
Nov 10, 2025
4154523
add missing file
Nov 10, 2025
a7ba72c
main updated
Nov 10, 2025
7b0696a
stable prefill
Nov 13, 2025
45f3dd0
qwen with image resize and known seq length
Nov 21, 2025
c48a700
debug
Nov 21, 2025
5334652
test on gpu
Nov 21, 2025
fdcca7a
debug
Nov 21, 2025
9eb80b9
remove prints
Nov 21, 2025
7614734
remove prints
Nov 21, 2025
8208bde
remove prints
Nov 21, 2025
bcdb249
qwen working with a resized image and known seq length and associated…
Nov 25, 2025
bd2c238
fix for CI
Nov 25, 2025
52e8310
update name
Nov 26, 2025
4d06207
push to fix for PR
Nov 26, 2025
1f49c10
implement test for build position ids
Nov 27, 2025
f574571
use convolution directly + reusebuffer usage + remove mrope deltas a…
Nov 27, 2025
feda6c0
apply modificationsfor pr
Dec 2, 2025
279cdd9
updating after PR review
Dec 4, 2025
509e93b
updating existing hostBuffer.fromArray to fromArrayPtr to match the r…
Dec 4, 2025
8360600
testing mlp capacity
Dec 10, 2025
89c94b9
Revert "testing mlp capacity"
Dec 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ use_repo(zls, "zls_aarch64-macos", "zls_x86_64-linux", "zls_x86_64-macos")
register_toolchains("//third_party/zls:all")

non_module_deps = use_extension("//:third_party/non_module_deps.bzl", "non_module_deps")
use_repo(non_module_deps, "com_github_hejsil_clap", "com_google_sentencepiece", "mnist", "org_swig_swig", "xla")
use_repo(non_module_deps, "com_github_hejsil_clap", "com_google_sentencepiece", "mnist", "org_swig_swig", "xla", "com_github_bfactory_ai_zignal")

xla = use_extension("//third_party/xla:xla.bzl", "xla")
use_repo(
Expand Down
8 changes: 4 additions & 4 deletions docs/tutorials/write_first_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ const input_shape = zml.Shape.init(.{3}, .f16);
// We manually produce a BufferStore. You would not normally do that.
// A BufferStore is usually created by loading model data from a file.
var buffers: zml.aio.BufferStore.Buffers = .{};
try buffers.put(arena, "weight", zml.HostBuffer.fromArray(&weights));
try buffers.put(arena, "bias", zml.HostBuffer.fromArray(&bias));
try buffers.put(arena, "weight", zml.HostBuffer.fromArrayPtr(&weights));
try buffers.put(arena, "bias", zml.HostBuffer.fromArrayPtr(&bias));

// the actual BufferStore
const bs: zml.aio.BufferStore = .{
Expand Down Expand Up @@ -462,8 +462,8 @@ pub fn asyncMain() !void {
// We manually produce a BufferStore. You would not normally do that.
// A BufferStore is usually created by loading model data from a file.
var buffers: zml.aio.BufferStore.Buffers = .{};
try buffers.put(arena, "weight", zml.HostBuffer.fromArray(&weights));
try buffers.put(arena, "bias", zml.HostBuffer.fromArray(&bias));
try buffers.put(arena, "weight", zml.HostBuffer.fromArrayPtr(&weights));
try buffers.put(arena, "bias", zml.HostBuffer.fromArrayPtr(&bias));

// the actual BufferStore
const bs: zml.aio.BufferStore = .{
Expand Down
27 changes: 27 additions & 0 deletions examples/qwen3_vl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
load("@rules_zig//zig:defs.bzl", "zig_binary", "zig_test")

zig_binary(
name = "qwen3_vl",
srcs = [
"qwen3_vl.zig",
],
main = "main.zig",
deps = [
"@com_github_bfactory_ai_zignal//:zignal",
"@com_github_hejsil_clap//:clap",
"@zml//async",
"@zml//stdx",
"@zml//zml",
],
)

zig_test(
name = "test",
main = "qwen3_vl.zig",
test_runner = "//zml:test_runner",
deps = [
"@zml//async",
"@zml//stdx",
"@zml//zml",
],
)
Loading