pytorch / pytorch/vision

[free threading] Support for free threading Python in torchvision

Open
#8,916 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

The nightly builds for Python 3.13t are now enabled in Linux, Linux aarch64, MacOS and Windows:
https://hud.pytorch.org/hud/pytorch/vision/nightly/1?per_page=50&name_filter=3_13t

We would like to:

  1. audit trochvision code for thread safety
  2. perform parallel testing and identify failures
  3. Work on fixing these failures

References:
https://py-free-threading.github.io/porting/
https://docs.python.org/3/howto/free-threading-python.html

cc @NicolasHug @malfet @albanD @scotts @rgommers

Versions

0.22.0 nightly

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the free-threading porting references and the Python 3.13t nightly build results linked in the issue. Audit torchvision for thread-safety problems, run parallel tests on the listed Linux, Linux aarch64, macOS, and Windows builds, and document and fix the failures found.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.