JuliaPy / JuliaPy/PythonCall.jl

Is there a way to kill a Julia runtime?

Abierto
#455 1 comentario 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
Julia
Estrellas
1.1k
Forks
86
Merge medio
1 d 22 h
PR fusionados (30 d)
3

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
julia, python
Área
backend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.