Last active
February 21, 2026 05:30
-
-
Save singularitti/f97637f8ef9a309c0025bf43b59fdf93 to your computer and use it in GitHub Desktop.
Run PythonCall in Julia with multiple worker processes #Julia #Python #runtime-bridge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Use single-threaded Julia per worker (PythonCall stability) | |
| export JULIA_NUM_THREADS=1 | |
| # Force PythonCall to use your venv Python (e.g., 3.12) | |
| export JULIA_PYTHONCALL_EXE="/path/to/bin/python" | |
| # Launch Julia with 10 worker processes using current project | |
| julia --project=. -p 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment