Skip to content

feat(modal): update docker tag to use torch2.6 from torch2.5#2749

Merged
NanoCode012 merged 1 commit into
mainfrom
feat/update-modal-tag
Jun 3, 2025
Merged

feat(modal): update docker tag to use torch2.6 from torch2.5#2749
NanoCode012 merged 1 commit into
mainfrom
feat/update-modal-tag

Conversation

@NanoCode012
Copy link
Copy Markdown
Collaborator

@NanoCode012 NanoCode012 commented Jun 2, 2025

Description

We now recommend torch2.6, so let's update modal's default tag too.

Motivation and Context

How has this been tested?

Screenshots (if appropriate)

Types of changes

Social Handles (Optional)

Summary by CodeRabbit

  • Chores
    • Updated the default Docker image version used for cloud deployments.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 2, 2025

Walkthrough

The change updates the default Docker image tag used in the get_image method of the ModalCloud class, changing it from version "2.5.1" to "2.6.0". No other logic or control flow is modified, and no public interfaces are altered.

Changes

File Change Summary
src/axolotl/cli/cloud/modal_.py Updated default Docker image tag from 2.5.1 to 2.6.0

Poem

A Docker tag hops up a notch,
From two-five-one to two-six-dot,
ModalCloud’s new image, fresh and bright,
Ready to launch in the moonlit night.
With every version, onward we go—
The code keeps running, smooth and slow!
🐇✨

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ecc719f and df981da.

📒 Files selected for processing (1)
  • src/axolotl/cli/cloud/modal_.py (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (6)
  • GitHub Check: PyTest from Source Dist (3.11, 2.7.0)
  • GitHub Check: PyTest (3.11, 2.6.0)
  • GitHub Check: PyTest from Source Dist (3.11, 2.5.1)
  • GitHub Check: PyTest (3.11, 2.7.0)
  • GitHub Check: PyTest (3.11, 2.5.1)
  • GitHub Check: PyTest from Source Dist (3.11, 2.6.0)


def get_image(self):
docker_tag = "main-py3.11-cu124-2.5.1"
docker_tag = "main-py3.11-cu124-2.6.0"
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.

💡 Verification agent

🧩 Analysis chain

Verify the new Docker tag and remove stale references.

The default image tag has been bumped from "main-py3.11-cu124-2.5.1" to "main-py3.11-cu124-2.6.0". Please ensure that:

  1. The new image is published on Docker Hub and pullable.
  2. No lingering references to the old tag remain in documentation/configuration.

Run this script to confirm:


🏁 Script executed:

#!/bin/bash
# 1. Check for leftover old tag references in the repo
rg -n "main-py3.11-cu124-2\.5\.1"

# 2. Verify the new tag manifest exists on Docker Hub
docker manifest inspect axolotlai/axolotl:main-py3.11-cu124-2.6.0

Length of output: 247


🏁 Script executed:

#!/bin/bash
# Verify no leftover old tag references
rg -n "main-py3.11-cu124-2\.5\.1"

# Check the new tag exists on Docker Hub via Registry HTTP API
curl -sSL -o /dev/null -w "HTTP status for new tag: %{http_code}\n" \
  "https://registry.hub.docker.com/v2/repositories/axolotlai/axolotl/tags/main-py3.11-cu124-2.6.0"

Length of output: 276


Remove stale Docker tag reference in documentation

Verified that the new Docker tag (main-py3.11-cu124-2.6.0) exists on Docker Hub (HTTP 200). However, there’s still a reference to the old tag in the docs:

• docs/docker.qmd:78

Please update it as follows:

- `main-py3.11-cu124-2.5.1`
+ `main-py3.11-cu124-2.6.0`
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
docker_tag = "main-py3.11-cu124-2.6.0"
--- a/docs/docker.qmd
+++ b/docs/docker.qmd
@@ -75,7 +75,7 @@
<!-- (other content above) -->
-`main-py3.11-cu124-2.5.1`
+`main-py3.11-cu124-2.6.0`
<!-- (other content below) -->
🤖 Prompt for AI Agents
In src/axolotl/cli/cloud/modal_.py at line 85, update the docker_tag variable to
"main-py3.11-cu124-2.6.0" as already done. Then, search the entire repository
for any remaining references to the old tag "main-py3.11-cu124-2.5.1" and
replace them with the new tag. Specifically, update the reference in
docs/docker.qmd at line 78 to use the new tag "main-py3.11-cu124-2.6.0" to
ensure consistency and remove stale references.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/axolotl/cli/cloud/modal_.py 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@NanoCode012 NanoCode012 merged commit 4b1a29c into main Jun 3, 2025
15 of 16 checks passed
@NanoCode012 NanoCode012 deleted the feat/update-modal-tag branch June 3, 2025 21:26
@coderabbitai coderabbitai Bot mentioned this pull request Aug 20, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants