Skip to content

unpin torch for CircleCI#43790

Merged
ydshieh merged 2 commits intomainfrom
unpin_torch3
Feb 6, 2026
Merged

unpin torch for CircleCI#43790
ydshieh merged 2 commits intomainfrom
unpin_torch3

Conversation

@ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Feb 6, 2026

What does this PR do?

So CircleCI will run with torch 2.10

CI is ✅ see here

@ydshieh ydshieh requested a review from tarekziade February 6, 2026 07:58
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Collaborator

@tarekziade tarekziade left a comment

Choose a reason for hiding this comment

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

Looks good thanks

ENV UV_PYTHON=/usr/local/bin/python
RUN pip --no-cache-dir install uv && uv pip install --no-cache-dir -U pip setuptools
RUN uv pip install --no-cache-dir 'torch==2.9.1' 'torchaudio' 'torchvision' 'torchcodec==0.9.1' --index-url https://download.pytorch.org/whl/cpu
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' 'torchcodec' --index-url https://download.pytorch.org/whl/cpu
Copy link
Contributor

Choose a reason for hiding this comment

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

Please let's do "<", I don't want the next torchcodec incident in 2months

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah, forgot your previous message on slack , will change, thx a lot

Copy link
Contributor

Choose a reason for hiding this comment

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

No worries, thank you :)

@ydshieh ydshieh reopened this Feb 6, 2026
ENV UV_PYTHON=/usr/local/bin/python
RUN pip --no-cache-dir install uv && uv pip install --no-cache-dir -U pip setuptools
RUN uv pip install --no-cache-dir 'torch==2.9.1' 'torchaudio' 'torchvision' 'torchcodec==0.9.1' --index-url https://download.pytorch.org/whl/cpu
RUN uv pip install --no-cache-dir 'torch<=2.10.0' 'torchaudio' 'torchvision' 'torchcodec<=0.9.1' --index-url https://download.pytorch.org/whl/cpu
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@vasqu I prefer to use <= here, more clear to me what is going on.

OK for you?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yup, sgtm

Copy link
Contributor

Choose a reason for hiding this comment

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

Don't forget to bump the torchcodec version as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sorry, should be 0.10.0

@ydshieh ydshieh merged commit 49dd297 into main Feb 6, 2026
16 checks passed
@ydshieh ydshieh deleted the unpin_torch3 branch February 6, 2026 11:48
jiosephlee pushed a commit to jiosephlee/transformers_latest that referenced this pull request Feb 11, 2026
* well

* unpin torch - build dev

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants