Skip to content

Bugfix for MacOS subprocess usage issue#80

Draft
dandinu wants to merge 3 commits intoSakanaAI:mainfrom
dandinu:bugfix/macos_subprocess_usage
Draft

Bugfix for MacOS subprocess usage issue#80
dandinu wants to merge 3 commits intoSakanaAI:mainfrom
dandinu:bugfix/macos_subprocess_usage

Conversation

@dandinu
Copy link
Copy Markdown

@dandinu dandinu commented Dec 20, 2025

  • ai_scientist/treesearch/interpreter.py - Adds subprocess mode for macOS using subprocess.Popen instead of multiprocessing to avoid fork() issues
  • ai_scientist/treesearch/parallel_agent.py - Uses ThreadPoolExecutor instead of ProcessPoolExecutor on macOS and adds thread/process-specific workspace handling
  • launch_scientist_bfts.py - Sets multiprocessing start method to 'fork' for macOS at initialization

@dandinu dandinu marked this pull request as draft December 20, 2025 19:18
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.

1 participant