JuliaPy / JuliaPy/PythonCall.jl

Is there a way to kill a Julia runtime?

オープン
#455 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
Julia
スター
1.1k
フォーク
86
平均マージ
1日 22時間
マージ済み PR(30日)
3

説明

I want to use Python multiprocessing to call a Julia function in parallel, which works fine, as long as I don't import `juliacall` outside Python's `Worker` context (either in the main script directly or in any function that eventually get called from the main script).

I don't know what's causing it, but I feel like if I can kill the current Julia runtime after `Worker` has done its job, then it should be fine to call `juliacall` in the main script.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the interaction between Python multiprocessing, the Worker context, and juliacall, comparing imports in worker processes with imports from the main script. Investigate how the current Julia runtime is created and whether its lifecycle can be controlled after Worker work completes. Done means the reported import restriction is understood and a supported way to end or reuse the runtime is identified.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
backend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。