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