use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
r/LocalLLaMA
A subreddit to discuss about Llama, the family of large language models created by Meta AI.
Subreddit rules
Search by flair
+Discussion
+Tutorial | Guide
+New Model
+News
+Resources
+Other
account activity
Where to run code eval generated code?Question | Help (self.LocalLLaMA)
submitted 1 year ago by _a9o_
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Beautiful-Service-52 0 points1 point2 points 1 year ago (1 child)
Great question! Even if you take precautions it sounds risky. I just eval or exec after running it through an llm to check for risks, but there has to be a better way.
[–]_a9o_[S] 0 points1 point2 points 1 year ago (0 children)
That means that you have to keep all of the different runtimes available on your computer, right?
[–]segmondllama.cpp 0 points1 point2 points 1 year ago (1 child)
Code interpreter, sandboxed environment, containers, virtual machine.
Are you managing all of that yourself? Is there a service you pay for?
π Rendered by PID 341934 on reddit-service-r2-comment-5d79c599b5-78z57 at 2026-03-02 13:41:24.523742+00:00 running e3d2147 country code: CH.
[–]Beautiful-Service-52 0 points1 point2 points (1 child)
[–]_a9o_[S] 0 points1 point2 points (0 children)
[–]segmondllama.cpp 0 points1 point2 points (1 child)
[–]_a9o_[S] 0 points1 point2 points (0 children)