Training hypernetworks on RunPod for Dummies
This is how I set up my RunPod within 4-5 minutes, so I don't waste valuable (and paid) time.
What you need before you start:
- Dataset/Images, already pre-processed
- A RunPod account with credits
Click on "My Pods"
Select "Go to community cloud"
Select a GPU and template
I usually use the 3090 to train up to 768x768
Make sure you select the stable diffusion template as well.
I never needed more space than 20GB. Keep in mind that "Volume Disk" is meant for everything that lands in your "output" folder.
Select "Deploy On-Demand"
If you like living dangerous and don't mind loosing your data, select "Deploy Sport". It is cheaper, but if you wanna quickly check out things it is okay.
I DO NOT RECOMMEND THIS FOR ACTUAL TRAINING. READ UP ON WHAT IT IS AND WHY IT CAN CANCEL/DELETE YOUR WORK!
Wait
It will now take a few seconds until your Pod is ready to go. Don't worry if you can't connect right away.
Connect to Jupyter Lab
Prepare the Webui
Download this file:
https://files.catbox.moe/d9245h.ipynb
Drag and drop it into the Jupyter file browser and double click it. A tab on the right will open.
Don't mind the name difference, catbox renames the file.
The prepared file does 3 things:
- checking which GPU you have
- updating the Webui to the current version
- torrenting the novel ai leak model
Click in each cell and click "Run the selected cell" at the top.
I never had the issue of not getting the GPU I selected, but I read about reviews claiming they would scam people by not providing what is paid for.
Prepare your files
While you wait for the torrent to finish, you can upload your dataset into the train folder (it got made automatically).
Attention: Jupyter doesn't support drag & drop of a whole folder. Only of multiple files.
Restart your Pod
Once your dataset is uploaded and the torrent is done, go back to the dashboard and restart your pod.
Training
Once the Pod has restarted, simply connect via HTTP to your Webui.
Make sure to check if you are on the correct model, and if you have checked "Unload VAE and CLIP from VRAM when training".
There are other guides on how to train, so if you have questions about that you better read those.