R
RunPod3mo ago
AMooMoo

Question about Pods and data

Hi! I have a quick question for pods regarding how data on them works. Let's say I use the ComfyUI stable diffusion template, but I want to add some models, so I go into the pod, and I add some models in whatever way, whether through CLI or the ComyUI manager thing. If the pod goes down or some kind of interruption happens, do I lose my custom models when the pod restarts?
5 Replies
ashleyk
ashleyk3mo ago
You don't lose your data if you put it on the persistent storage. You lose your data if you put it on the container disk when the pod restarts. You can also use network storage, then you can simply attach it to a new pod if something happens to your pod.
AMooMoo
AMooMoo3mo ago
hmm, that's correct, but here's one thing i'm unsure of. ComfyUI allows you to define the model folder location, which means I can define it to be in the persistent storage. However, that config is part of the template, which also gets reset when the pod restarts. Would I have to upload my own custom container with that config updated instead of using the community template? thanks btw!
ashleyk
ashleyk3mo ago
Which community tenplate are you using?
AMooMoo
AMooMoo3mo ago
should I be using a different one?
No description
AMooMoo
AMooMoo3mo ago
is there a suggestion for one I should use?