JuliaPy / JuliaPy/PythonCall.jl
Is there a way to kill a Julia runtime?
- 主要语言
- Julia
- 星标
- 1.1k
- 派生
- 86
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 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
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100