Skip to content

[deps] Introduce python 3.12 + cuda 12.9 depsets for Ray LLM - #61116

Merged
aslonnie merged 1 commit into
masterfrom
py312-llm-dep-set
Feb 18, 2026
Merged

aslonnie merged 1 commit into
masterfrom
py312-llm-dep-set

Conversation

@jeffreywang88

@jeffreywang88 jeffreywang88 commented Feb 17, 2026 •

Copy link
Copy Markdown
Contributor

Description

vLLM uses python 3.12 and cuda 12.9 in its images and CI environments. It's better to align Ray LLM with vLLM to avoid compatibility issues. As the first step, we introduce independent depsets for py312 + cu129 in this PR.

Will follow up with

  • Add images (release images and CI images)
  • Change rayturbo and product repo to use 3.12 image for nightly
  • At the same time, change CI & release tests to use python 3.12 and then remove python 3.11 if all tests look stable

Related issues

Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234".

Additional information

Optional: Add implementation details, API changes, usage examples, screenshots, etc.

@jeffreywang88
jeffreywang88 requested a review from a team as a code owner February 17, 2026 21:43
@jeffreywang88 jeffreywang88 added the go add ONLY when ready to merge, run all tests label Feb 17, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces dependency sets for Python 3.12 and CUDA 12.9 for Ray LLM, which is a good step towards aligning with vLLM's environment. The changes primarily involve updating YAML configuration files to add new build arguments and parameterize previously hardcoded values. The changes are logical and well-aligned with the PR's objectives. I have a couple of suggestions to enhance maintainability and prevent potential future issues by ensuring consistency across build configurations.

Comment on lines 13 to 15
py313:
PYTHON_VERSION: "3.13"
PYTHON_SHORT: "313"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency and to prevent future build failures if py313 is added to CUDA-dependent depsets, consider adding a CUDA_CODE to the py313 build argument set. This would align it with the definitions for py311 and py312.

  py313:
    PYTHON_VERSION: "3.13"
    PYTHON_SHORT: "313"
    CUDA_CODE: cu129

@aslonnie
aslonnie requested a review from elliot-barn February 17, 2026 21:47
@aslonnie

Copy link
Copy Markdown
Contributor

@elliot-barn could you help review this?

@aslonnie aslonnie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(high-level looks good to me; for elliot to review the details.)

@ray-gardener ray-gardener Bot added the community-contribution Contributed by the community label Feb 18, 2026
@elliot-barn

Copy link
Copy Markdown
Collaborator

Nicely done! Would love some feedback from you about how we can improve raydepsets. Approved!

@jeffreywang88

Copy link
Copy Markdown
Contributor Author

Premerge failure seems to be unrelated to this PR. This originated from HA proxy test flakiness which is addressed by #61120.

@aslonnie

Copy link
Copy Markdown
Contributor

@jeffreywang-anyscale , the depset needs re-generating; the depset test is failing.

@jeffreywang88

Copy link
Copy Markdown
Contributor Author

Regenerated lock files locally to include new dependencies (e.g. taskiq) introduced lately from #61054.

@aslonnie
aslonnie merged commit 29b71ad into master Feb 18, 2026
3 checks passed
@aslonnie
aslonnie deleted the py312-llm-dep-set branch February 18, 2026 21:35
aslonnie pushed a commit that referenced this pull request Feb 19, 2026
Following up #61116, in this PR,
we introduce python3.12/cuda12.9 ray LLM release and CI images. Note
that the existing python3.11/cuda12.8 LLM images are kept.

Signed-off-by: Jeffrey Wang <[email protected]>
Aydin-ab pushed a commit to kunling-anyscale/ray that referenced this pull request Feb 20, 2026
…ject#61116)

## Description
vLLM uses python 3.12 and cuda 12.9 in its images and CI environments.
It's better to align Ray LLM with vLLM to avoid compatibility issues. As
the first step, we introduce independent depsets for py312 + cu129 in
this PR.

Will follow up with
- Add images (release images and CI images)
- Change rayturbo and product repo to use 3.12 image for nightly
- At the same time, change CI & release tests to use python 3.12 and
then remove python 3.11 if all tests look stable

## Related issues
> Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to
ray-project#1234".

## Additional information
> Optional: Add implementation details, API changes, usage examples,
screenshots, etc.

Signed-off-by: Jeffrey Wang <[email protected]>
aslonnie pushed a commit that referenced this pull request Mar 5, 2026
## Description
vLLM is moving to py312 + cuda13, and we'd like to adapt ray-llm CI
environment to match that.
- Add depsets for py312 + cuda13
- Remove py312 + cuda12.9 depsets and ray-llm CI / release images
introduced in #61116 and
#61149 respectively. Images are
removed together because they depend on py312 + cuda12.9 depsets.

### Follow up
Introduce CUDA 13 images for ray-llm and core-gpu:
#61497

## Related issues
> Link related issues: "Fixes #1234", "Closes #1234", or "Related to
#1234".

## Additional information
> Optional: Add implementation details, API changes, usage examples,
screenshots, etc.

---------

Signed-off-by: Jeffrey Wang <[email protected]>
ParagEkbote pushed a commit to ParagEkbote/ray that referenced this pull request Mar 10, 2026
## Description
vLLM is moving to py312 + cuda13, and we'd like to adapt ray-llm CI
environment to match that.
- Add depsets for py312 + cuda13
- Remove py312 + cuda12.9 depsets and ray-llm CI / release images
introduced in ray-project#61116 and
ray-project#61149 respectively. Images are
removed together because they depend on py312 + cuda12.9 depsets.

### Follow up
Introduce CUDA 13 images for ray-llm and core-gpu:
ray-project#61497

## Related issues
> Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to
ray-project#1234".

## Additional information
> Optional: Add implementation details, API changes, usage examples,
screenshots, etc.

---------

Signed-off-by: Jeffrey Wang <[email protected]>
Signed-off-by: Parag Ekbote <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ray fails to serialize self-reference objects

3 participants