Skip to content

fix: unpin xgrammar when bug is fixed #990

@jakelorocco

Description

@jakelorocco

Issue in xgrammar repo: mlc-ai/xgrammar#617

The xgrammar issue has a repro script that we can use to test. Within our own code, we can running test/formatters/granite/test_intrinsics_formatters.py::test_run_transformers without CICD set, resulting in:

TypeError: Mismatched type on argument #1 when calling: `xgrammar.tvm_ffi_binding.GrammarMatcher.accept_token(0: xgrammar.tvm_ffi_binding.Grammar...

Pinning to v0.1.33 fixed the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/backendsProvider-specific work: Ollama, HF, LiteLLM, OpenAI, Bedrock, vLLMarea/intrinsicsGranite intrinsic adapters: RAG, Guardian, Corearea/stdlibCore abstractions: Context, MOT, SamplingStrategy, formatters, serializationbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions