R
Runpod•8mo ago
nick

automatically start jupyter notebook with API call?

Hi, when i make a new pod via the web ui i can check the box 'start jupyter notebook' and it will start that up. Is there a way to pass this to the api when i hit rest.runpod.io/v1/pods to create a new pod?
14 Replies
nick
nickOP•8mo ago
(throws voice) Wow great question nick
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
nick
nickOP•8mo ago
eh thats a good idea, but it doesnt work. env variables are empty
No description
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
nick
nickOP•8mo ago
i mean i guess...
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Mementum
Mementum•7mo ago
@nick did you get this to work? I'm curious, are you trying to bypass the Runpod webui via API in the command line?
nick
nickOP•7mo ago
i just have a workflow where i very regularly spin up the exact same gpu in the same region with the same container sizes and am sick of accidentally forgetting to click some checkbox in the web ui like every time i train a model i want to grab an a40 from eu-se-1, train it, eval, then shut it down tbh i imagine this is pretty common i only want to do eu-se-1 because the canadian data center with the a40's still has a lot of issues, especially with multi gpu setups which is a separate issue but its whatever sorry i just realized you arent runpod staff. no i havent gotten it to work lol
Mementum
Mementum•7mo ago
I think we are trying to achieve the same thing. Im using Runpod for ComfyUI, and I need the same networkvolume, region, GPU, image. I can get it running via API, but Jupytyer never boots up.
nick
nickOP•7mo ago
🤷 idk they just dont expose it i think
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Mementum
Mementum•7mo ago
I'm using runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04 as the pod template. Is the "Start Jupyter Notebook" option not a part of this image?
No description
The myth.
The myth.•3mo ago
Did you guys ever found a solution??
Unknown User
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?