R
RunPod•11mo ago
kalebbroo

How to add files?

I just setup a pod for the first time and I am trying to ssh into it to add some custom model files. I am getting this error and the connection closes. I dont really know much about ssh and this is my first pod.
-- RUNPOD.IO --
Enjoy your Pod #oxb2cpeousjz ^_^

OCI runtime exec failed: exec failed: unable to start container process: chdir to cwd ("/rp-vol/StableSwarmUI") set in config.json failed: no such file or directory: unknown
Connection to 0.0.0.0 closed.
Connection to ssh.runpod.io closed.
-- RUNPOD.IO --
Enjoy your Pod #oxb2cpeousjz ^_^

OCI runtime exec failed: exec failed: unable to start container process: chdir to cwd ("/rp-vol/StableSwarmUI") set in config.json failed: no such file or directory: unknown
Connection to 0.0.0.0 closed.
Connection to ssh.runpod.io closed.
Im using this template to run Swarm. https://runpod.io/console/deploy?template=u7mlkrmxq3&ref=c6jd6jj0 - Port 2254.
49 Replies
Jason
Jason•11mo ago
Hmm let me check later You need a network volume to use this
kalebbroo
kalebbrooOP•11mo ago
ok so just add a network volume? how does it connect to the pod? When it loads the checkpoints to vram its not going to try to do it over network right? that would not be good.
Jason
Jason•11mo ago
You create new network volume first and you can only attach to new pods
kalebbroo
kalebbrooOP•11mo ago
ah ok let me delete this pod and try that.
Jason
Jason•11mo ago
Wait wait
kalebbroo
kalebbrooOP•11mo ago
ok
Jason
Jason•11mo ago
im updating it, so wait abit you'll try the newest one
kalebbroo
kalebbrooOP•11mo ago
sounds good. Just let me know.
Jason
Jason•11mo ago
oh nvm stableswarm installs itself right
kalebbroo
kalebbrooOP•11mo ago
iot was working well I just did not know how to add more model files
Jason
Jason•11mo ago
ok its done Where do you download them from?
kalebbroo
kalebbrooOP•11mo ago
Civ and some are custom lora
Jason
Jason•11mo ago
From? the others*
kalebbroo
kalebbrooOP•11mo ago
the custom ones are not hosted anywhere they are private
Jason
Jason•11mo ago
wget https://raw.githubusercontent.com/ashleykleynhans/civitai-downloader/main/download.py
mv download.py /usr/local/bin/download-model
chmod +x /usr/local/bin/download-model
wget https://raw.githubusercontent.com/ashleykleynhans/civitai-downloader/main/download.py
mv download.py /usr/local/bin/download-model
chmod +x /usr/local/bin/download-model
for the civitai ones use this
Jason
Jason•11mo ago
heres how to use it
No description
Jason
Jason•11mo ago
Oh so from your local pc, try from runpodctl
kalebbroo
kalebbrooOP•11mo ago
yes
Jason
Jason•11mo ago
its done updating ig leme check the paths, where you can move your files into, in a bit
kalebbroo
kalebbrooOP•11mo ago
ok so now delete this pod and start a volume with a new one?
Jason
Jason•11mo ago
make the network volume in the storage tab
kalebbroo
kalebbrooOP•11mo ago
workspace\StableSwarmUI\Models\Stable-Diffusion
workspace\StableSwarmUI\Models\Stable-Diffusion
I think should be the location
Jason
Jason•11mo ago
yeah should be
kalebbroo
kalebbrooOP•11mo ago
noiw there is like no gpus available...
Jason
Jason•11mo ago
Huh which region are you using? remove the last pod already?
kalebbroo
kalebbrooOP•11mo ago
o it changes by region I see now sorry first time setting a pod up was today.
Jason
Jason•11mo ago
yeah the network volume is region based np nvm, the new template was broken lol
kalebbroo
kalebbrooOP•11mo ago
its installing now.
Jason
Jason•11mo ago
leme roll it back
kalebbroo
kalebbrooOP•11mo ago
hahahha
Jason
Jason•11mo ago
oh just stop the installation ig ( by removing the pods ) because its dependency path issues you'll need to reinstall later lol
kalebbroo
kalebbrooOP•11mo ago
all good. The Swarm dev is a good guy and im sure would be glad to help if you are running into issues specific to Swarm. Im sure he wopuld not mind to have an official working template to point to.
Jason
Jason•11mo ago
yeah next time i'll keep it stable and working lol
Jason
Jason•11mo ago
still trying to install first
No description
kalebbroo
kalebbrooOP•11mo ago
so pods can just run anything from docker? Can it run compose?
Jason
Jason•11mo ago
CPU pods only i think GPU pods arent so previledged @kalebbroo okay it works now https://runpod.io/console/deploy?template=u7mlkrmxq3&ref=c6jd6jj0
kalebbroo
kalebbrooOP•11mo ago
oooo nice let me test it out. takes a while to install lol I did get this error but it seems not to have any effect on the install as far as i can tell.
2024-06-09T04:57:49.711561862Z 04:57:49.711 [Init] Applying command line settings...
2024-06-09T04:57:49.771986820Z 04:57:49.771 [Error] Failed to run event on extension StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension: System.IO.DirectoryNotFoundException: Could not find a part of the path '/workspace/StableSwarmUI/Models/upscale_models'.
2024-06-09T04:57:49.772026048Z at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
2024-06-09T04:57:49.772050085Z at System.IO.Enumeration.FileSystemEnumerator`1.Init()
2024-06-09T04:57:49.772055075Z at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
2024-06-09T04:57:49.772061228Z at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
2024-06-09T04:57:49.772066635Z at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
2024-06-09T04:57:49.772071542Z at StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension.<OnPreInit>g__listModelsFor|6_0(String subpath) in /workspace/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/ComfyUIBackendExtension.cs:line 81
2024-06-09T04:57:49.772075799Z at StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension.OnPreInit() in /workspace/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/ComfyUIBackendExtension.cs:line 82
2024-06-09T04:57:49.772081282Z at StableSwarmUI.Core.Program.<>c.<Main>b__21_4(Extension e) in /workspace/StableSwarmUI/src/Core/Program.cs:line 146
2024-06-09T04:57:49.772085669Z at StableSwarmUI.Core.Program.RunOnAllExtensions(Action`1 action) in /workspace/StableSwarmUI/src/Core/Program.cs:line 366
2024-06-09T04:57:49.711561862Z 04:57:49.711 [Init] Applying command line settings...
2024-06-09T04:57:49.771986820Z 04:57:49.771 [Error] Failed to run event on extension StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension: System.IO.DirectoryNotFoundException: Could not find a part of the path '/workspace/StableSwarmUI/Models/upscale_models'.
2024-06-09T04:57:49.772026048Z at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
2024-06-09T04:57:49.772050085Z at System.IO.Enumeration.FileSystemEnumerator`1.Init()
2024-06-09T04:57:49.772055075Z at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
2024-06-09T04:57:49.772061228Z at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
2024-06-09T04:57:49.772066635Z at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
2024-06-09T04:57:49.772071542Z at StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension.<OnPreInit>g__listModelsFor|6_0(String subpath) in /workspace/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/ComfyUIBackendExtension.cs:line 81
2024-06-09T04:57:49.772075799Z at StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension.OnPreInit() in /workspace/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/ComfyUIBackendExtension.cs:line 82
2024-06-09T04:57:49.772081282Z at StableSwarmUI.Core.Program.<>c.<Main>b__21_4(Extension e) in /workspace/StableSwarmUI/src/Core/Program.cs:line 146
2024-06-09T04:57:49.772085669Z at StableSwarmUI.Core.Program.RunOnAllExtensions(Action`1 action) in /workspace/StableSwarmUI/src/Core/Program.cs:line 366
Jason
Jason•11mo ago
Yeha because using network storage, it's abit slower but it's persistent so that's the only way haha You see the error there? Couldn't find path xxxxxz Create the path /workspace/xxx/Models/upscale.... Im too lazy to type Use the jupyter from port 7888
kalebbroo
kalebbrooOP•11mo ago
GitHub
Feature Announcements Thread Ā· Stability-AI StableSwarmUI Ā· Discuss...
This is a dedicated thread you can follow where new features will be announced. While the project is in alpha, things will likely move fast and there will be posts here somewhat often. After alpha ...
Jason
Jason•11mo ago
what he made lol wow he integrated civitai extension to his UI
kalebbroo
kalebbrooOP•11mo ago
Added a feature to download models. After I asked about how to do it šŸ˜‚
Jason
Jason•11mo ago
did you request that lol oh yeah hes nice btw is this a bug or what Someone send me a break, please! šŸ”„
break;
SyntaxError: invalid syntax ^
break;
SyntaxError: invalid syntax ^
kalebbroo
kalebbrooOP•11mo ago
I have not looked into that yet. I have to wait fory kid to take a nap before I can get back to my PC. šŸ˜‚
Jason
Jason•11mo ago
nice keep on looping then alrighty
digigoblin
digigoblin•11mo ago
Swarm dev is the same dev as ComfyUI, and he works for Stability AI who make Stable Diffusion
kalebbroo
kalebbrooOP•11mo ago
The main Comfy dev is a different person but both of them work for SAI. That's why Swarm and Comfy will support SD3 on the day it's launched.
Jason
Jason•11mo ago
Ohh the maintainers
kalebbroo
kalebbrooOP•11mo ago
@nerdylive If I try to restart I get this ertror and I have to reset the pod to get it working again.
2024-06-09T23:40:55.263575400Z /opt/nvidia/nvidia_entrypoint.sh: line 67: /rp-vol/StableSwarmUI/start.sh: No such file or directory
2024-06-09T23:40:55.263575400Z /opt/nvidia/nvidia_entrypoint.sh: line 67: /rp-vol/StableSwarmUI/start.sh: No such file or directory
Shouldent this be trying to run the launch-linux.sh instead?
Jason
Jason•11mo ago
Ohh wait let me check later

Did you find this page helpful?