Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

update xgrammar

eugenea757c4d75387
diff --git a/Cargo.lock b/Cargo.lock
index d44096a8a..834d7d0f7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -8579,8 +8579,8 @@ checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
[[package]]
name = "xgrammar-rs"
-version = "0.1.33"
-source = "git+https://github.com/trymirai/xgrammar-rs.git?rev=58def68d6e0e523e183b23e7a7a23f6ba1b572fa#58def68d6e0e523e183b23e7a7a23f6ba1b572fa"
+version = "0.2.2"
+source = "git+https://github.com/trymirai/xgrammar-rs.git?tag=0.2.2#d55d5bb1403f443d6a379c5acc7191a28bbcbb92"
dependencies = [
"cmake",
"cxx",
diff --git a/Cargo.toml b/Cargo.toml
index 347c17e9a..1238c5b04 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -58,7 +58,7 @@ download-manager = { path = "crates/download-manager", default-features = false
mock-registry = { path = "crates/mock-registry", default-features = false }
benchmarks = { path = "crates/benchmarks", default-features = false }
uzu = { path = "crates/uzu", default-features = false }
-xgrammar = { package = "xgrammar-rs", git = "https://github.com/trymirai/xgrammar-rs.git", rev = "58def68d6e0e523e183b23e7a7a23f6ba1b572fa", features = ["tokenizers"] }
+xgrammar = { package = "xgrammar-rs", git = "https://github.com/trymirai/xgrammar-rs.git", tag = "0.2.2", features = ["tokenizers"] }
half = { version = "2.7", features = ["bytemuck", "num-traits"] }
ndarray = "0.17"
serde = { version = "1.0", features = ["derive"] }