R
RunPodā€¢5w 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
nerdylive
nerdyliveā€¢5w ago
Hmm let me check later You need a network volume to use this
kalebbroo
kalebbrooā€¢5w 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.
nerdylive
nerdyliveā€¢5w ago
You create new network volume first and you can only attach to new pods
kalebbroo
kalebbrooā€¢5w ago
ah ok let me delete this pod and try that.
nerdylive
nerdyliveā€¢5w ago
Wait wait
kalebbroo
kalebbrooā€¢5w ago
ok
nerdylive
nerdyliveā€¢5w ago
im updating it, so wait abit you'll try the newest one
kalebbroo
kalebbrooā€¢5w ago
sounds good. Just let me know.
nerdylive
nerdyliveā€¢5w ago
oh nvm stableswarm installs itself right
kalebbroo
kalebbrooā€¢5w ago
iot was working well I just did not know how to add more model files
nerdylive
nerdyliveā€¢5w ago
ok its done Where do you download them from?
kalebbroo
kalebbrooā€¢5w ago
Civ and some are custom lora
nerdylive
nerdyliveā€¢5w ago
From? the others*
kalebbroo
kalebbrooā€¢5w ago
the custom ones are not hosted anywhere they are private
nerdylive
nerdyliveā€¢5w 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
nerdylive
nerdyliveā€¢5w ago
heres how to use it
No description
nerdylive
nerdyliveā€¢5w ago
Oh so from your local pc, try from runpodctl
kalebbroo
kalebbrooā€¢5w ago
yes
nerdylive
nerdyliveā€¢5w ago
its done updating ig leme check the paths, where you can move your files into, in a bit
kalebbroo
kalebbrooā€¢5w ago
ok so now delete this pod and start a volume with a new one?
nerdylive
nerdyliveā€¢5w ago
make the network volume in the storage tab
kalebbroo
kalebbrooā€¢5w ago
workspace\StableSwarmUI\Models\Stable-Diffusion
workspace\StableSwarmUI\Models\Stable-Diffusion
I think should be the location
nerdylive
nerdyliveā€¢5w ago
yeah should be
kalebbroo
kalebbrooā€¢5w ago
noiw there is like no gpus available...
nerdylive
nerdyliveā€¢5w ago
Huh which region are you using? remove the last pod already?
kalebbroo
kalebbrooā€¢5w ago
o it changes by region I see now sorry first time setting a pod up was today.
nerdylive
nerdyliveā€¢5w ago
yeah the network volume is region based np nvm, the new template was broken lol
kalebbroo
kalebbrooā€¢5w ago
its installing now.
nerdylive
nerdyliveā€¢5w ago
leme roll it back
kalebbroo
kalebbrooā€¢5w ago
hahahha
nerdylive
nerdyliveā€¢5w ago
oh just stop the installation ig ( by removing the pods ) because its dependency path issues you'll need to reinstall later lol
kalebbroo
kalebbrooā€¢5w 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.
nerdylive
nerdyliveā€¢5w ago
yeah next time i'll keep it stable and working lol
nerdylive
nerdyliveā€¢5w ago
still trying to install first
No description
kalebbroo
kalebbrooā€¢5w ago
so pods can just run anything from docker? Can it run compose?
nerdylive
nerdyliveā€¢5w 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
kalebbrooā€¢5w 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
nerdylive
nerdyliveā€¢5w 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
kalebbrooā€¢4w 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 ...
nerdylive
nerdyliveā€¢4w ago
what he made lol wow he integrated civitai extension to his UI
kalebbroo
kalebbrooā€¢4w ago
Added a feature to download models. After I asked about how to do it šŸ˜‚
nerdylive
nerdyliveā€¢4w 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
kalebbrooā€¢4w 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. šŸ˜‚
nerdylive
nerdyliveā€¢4w ago
nice keep on looping then alrighty
digigoblin
digigoblinā€¢4w ago
Swarm dev is the same dev as ComfyUI, and he works for Stability AI who make Stable Diffusion
kalebbroo
kalebbrooā€¢4w 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.
nerdylive
nerdyliveā€¢4w ago
Ohh the maintainers
kalebbroo
kalebbrooā€¢4w 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?
nerdylive
nerdyliveā€¢4w ago
Ohh wait let me check later