Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Python 3.13 wheel #193

Closed
mgoin opened this issue Feb 12, 2025 · 1 comment
Closed

Python 3.13 wheel #193

mgoin opened this issue Feb 12, 2025 · 1 comment

Comments

@mgoin
Copy link

mgoin commented Feb 12, 2025

Since xgrammar is a dependency on vLLM, we need to have a xgrammar wheel published in order to support it for python 3.13 with vLLM

> uv venv --python 3.13 --seed ~/venvs/py313
> source ~/venvs/py313/bin/activate
> git clone https://github.com/vllm-project/vllm.git
> cd vllm
> uv pip install -e . -v
...
  × No solution found when resolving dependencies:
  ╰─▶ Because only the following versions of xgrammar{platform_machine == 'x86_64'} are available:
          xgrammar{platform_machine == 'x86_64'}<=0.1.6
          xgrammar{platform_machine == 'x86_64'}==0.1.7
          xgrammar{platform_machine == 'x86_64'}==0.1.8
          xgrammar{platform_machine == 'x86_64'}==0.1.9
          xgrammar{platform_machine == 'x86_64'}==0.1.10
          xgrammar{platform_machine == 'x86_64'}==0.1.11
      and xgrammar{platform_machine == 'x86_64'}>=0.1.6 has no wheels with a matching Python ABI tag, we can conclude that xgrammar{platform_machine == 'x86_64'}>=0.1.6 cannot be used.
      And because vllm==0.7.3.dev94+g985b4a2b.cu125 depends on xgrammar{platform_machine == 'x86_64'}>=0.1.6, we can conclude that vllm==0.7.3.dev94+g985b4a2b.cu125 cannot be used.
      And because only vllm==0.7.3.dev94+g985b4a2b.cu125 is available and you require vllm, we can conclude that your requirements are unsatisfiable.
@Ubospica
Copy link
Collaborator

Hi @mgoin , thanks for raising the issue. XGrammar 0.1.13 has supported Python 3.13. Please check that out.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants