Skip to content

[Ray Compiled Graph] Support CUDA 13 #61384

Closed

Description

@tlrmchlsmth

Description

Ray compiled graph requires cupy-cuda12, which causes issues on CUDA 13. See:

ray/python/setup.py

Lines 227 to 230 in 7b2b33a

setup_spec.extras = {
"cgraph": [
"cupy-cuda12x; sys_platform != 'darwin'",
],

This is related to vllm-project/vllm#35315 and pytorch/pytorch#172663
Both PyTorch and vLLM are planning to move to CUDA 13, and vLLM requires ray[cgraph]

Note that a workaround is to install ray and cupy-cuda13 instead of ray[cgraph]

Use case

No response

Activity

  1. added
    enhancement
    triage
    on Feb 27, 2026
  2. tlrmchlsmth commented on Feb 27, 2026

    @tlrmchlsmth
    Author
  3. jeffreywang88 commented on Mar 2, 2026

    @jeffreywang88
    Contributor

    Hey @tlrmchlsmth, to officially support compiled graph with CUDA 13, we'll need to set up CI to build CUDA 13 images and run through existing tests, and I'd expect this to take ~1 week. To unblock vLLM, I think your workaround is the best approach.

    More details on what will be involved:

    1. Add CUDA 13 base image under https://github.com/ray-project/ray/tree/master/ci/docker
    2. Add CUDA 13 GPU test matrix entry under https://github.com/ray-project/ray/blob/master/.buildkite/core.rayci.yml
    3. Update requirements files, e.g. https://github.com/ray-project/ray/blob/master/python/requirements.txt

    cc: @kouroshHakha

  4. moved this from Todo to In progress in Ray Data OSSon Mar 4, 2026
  5. moved this from In progress to Done in Ray Data OSSon Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementllmtriage

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions