R
RunPodβ€’6mo ago
pstadnyk

New to RunPod but problems

I was excited to use the service mainly for the pre-set templates. And at first, the Stable Diffusion UI worked great. But then I restarted and it had trouble finding a port. All subsequent attempts to change the port were unsuccessful. And the relauncher.py file loops infinitely making it unable to close. Any thoughts on why this is happening. May have to bail entirely. This sucks. Was hopefull.
13 Replies
justin
justinβ€’6mo ago
This is for serverless? GPU? do u have code? What are you trying to do? / what is the objective If you can give some more context be helpful πŸ™‚ Sounds like you are doing a GPU pod and doing something, but not entirely sure. What template are you using / commands?
pstadnyk
pstadnykβ€’6mo ago
Ok, yeah πŸ™‚ I'm installing Stable Diffusion on a cloud GPU pod (RTX A5000). It's a premade template chosen from the dropdown selector when I fire up a new pod. It comes with a Gradio UI and generates a local and web-based GUI (for A1111). It worked the first time. But the errors seem to indicate it's not finding a port in subsequent initiations. And I manually change the port but it continues to fail. Seems like a silly issue and I bet there is a simple workaround. But then, there's more... the relauncher.py file that initiates everything continues to run (loop) in the terminal and is impossible to end (again, there may be a simple workaround but I guess it's beyond me). BTW, I am using --listen in the arguments. Not sure if this is supposed to find the next available port... but it's really running on an open port that is the problem. That, and shutting down a looping terminal that will not stop.
justin
justinβ€’6mo ago
Oh shoot what command are u running? I tried to download stable diffusion template but no clue how to start it haha Im not familiar at all
justin
justinβ€’6mo ago
GitHub
GitHub - ashleykleynhans/stable-diffusion-docker: Docker image for ...
Docker image for Stable Diffusion WebUI with ControlNet, After Detailer, Dreambooth, Deforum and roop extensions, as well as Kohya_ss and ComfyUI - GitHub - ashleykleynhans/stable-diffusion-docker:...
justin
justinβ€’6mo ago
Ashelyk is a community member with a repo for this too, maybe his might work bit better Or actually https://discord.com/channels/912829806415085598/1185336794309468210/1185639798745088081 Koypl another community member made one for a1111 with tensortrt and has a video guide for it! I havent tested it but probably a great start
pstadnyk
pstadnykβ€’6mo ago
Ok I did try Ashelyk Docker template but I am completely stumped by what to do here, where exactly do I get a token? And why doesnt other templates require this? How do I get past this? I've read the documentation but don't really understand it.
No description
justin
justinβ€’6mo ago
Yup no worries so there is another button to connect to web consile and then type jupyter server list and then u should see the token paste it into the password or it sometimes also u can see it / got pulled into the env variable for the pod
justin
justinβ€’6mo ago
No description
justin
justinβ€’6mo ago
i was also very confused the first time i saw this
justin
justinβ€’6mo ago
GitHub
GitHub - justinwlin/FooocusRunpod
Contribute to justinwlin/FooocusRunpod development by creating an account on GitHub.
justin
justinβ€’6mo ago
Runpod has a special setup for their official templates to do this and looking to eventually bring this to community ones
pstadnyk
pstadnykβ€’6mo ago
That was pretty convoluted (and required a few tries... no password appears if the script hasn't finished running when you open the terminal)... but i got it (after deleting some strange characters in the password)... but i. got. it. πŸ™‚ Thanks!
justin
justinβ€’6mo ago
congrats! ❀️ glad u figured it out tho woot