Skip to content

Docker image for free-threaded python 3.13 with no GIL and additionally with JIT enabled

Notifications You must be signed in to change notification settings

gehirndienst/python-nogil-jit-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

A quick Dockerfile to build an image containing the free-threaded python 3.13 with no GIL and additionally with JIT enabled. Based on. The latest version in pyenv at the time of writing is 3.13.0rc2

Pull

docker pull gehirndienst/python-nogil-jit:latest

Run

The repo provides a simple test script that demonstrates the difference between the GIL and no GIL. The script is copied to the image at /home/test.py. To run the script in the container, use the following command:

docker run -it --rm --name python-nogil-test gehirndienst/python-nogil-jit:latest bash -c "cd /home && python test.py && python -X gil=1 test.py && exec bash"

About

Docker image for free-threaded python 3.13 with no GIL and additionally with JIT enabled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published