JuliaPy / JuliaPy/PythonCall.jl

Is there a way to kill a Julia runtime?

Ouverte
#455 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
Julia
Étoiles
1.1k
Forks
86
Merge moyen
1 j 22 h
PR mergées (30 j)
3

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
julia, python
Domaine
backend
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
20/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.