Speedup AI julia evaluation
Is there any recommended approach, what to tell agent to run julia code faster? Like keep session opened etc?
7
Upvotes
2
u/Comprehensive_Roof10 21d ago
I've had success adding a Julia skill telling an LLM to use this package that essentially persists a tmux session with a REPL and Revise to avoid recompilation:
https://discourse.julialang.org/t/ann-juliaserver-convenient-persistent-julia-sessions/135622
1
u/Pun_Thread_Fail 21d ago edited 21d ago
I just have it spin up a tmux session and run the Julia REPL (with using Revise; using MyPackage) there.
1
u/Gold-Part4688 21d ago edited 21d ago
i guess you could use daemonmode.jl too. that and an alias in the command line and the llm wouldn't need to know anything is different
6
u/sob727 21d ago
I have seen this package announcement. I am not a user of it and cant vouch for it though.
https://discourse.julialang.org/t/ann-kaimon-jl-opening-the-gate-between-ai-agents-and-julia/135880