How to download the model to Network Volume
At RunC.AI, the Network Volume feature lets you store and access data seamlessly across multiple instances. It’s perfect for persistent storage and working with large datasets without the need to duplicate files.
Step-by-Step Guide
1. Create a Network Volume
-
Log in to your RunC.AI (opens in a new tab) account.
-
Navigate to Console → Network Volume.
-
Click New Network Volume.
-
Configure the settings:
- Region: Location of the volume. (can only be mounted to instances in the same region.)
- Volume Name: A descriptive label (e.g., video-project).
- Size: Storage capacity in GB.
- Click Create.
2. Attach a Network Volume to an Instance
Method 1
-
In your Network Volume panel, click Deploy.
-
You’ll be redirected to the Instance Configuration page.
-
Choose your configuration and deploy.
-
If mounted successfully, the network volume will appear after the container disk.
Method 2
-
Go to Explore and select a region that matches your network volume’s region.
-
Configure your instance and choose the network volume to deploy.
-
If mounted successfully, the network volume will appear after the container disk.
3. Verify the Mount
Connect to JupyterLab and open a terminal. Run the following command:
df -h
If `/network` appears in the output, your setup is complete.
Here’s a clean and easy-to-read rewrite of your guide:
4. Download Files from Hugging Face and Civitai
Hugging Face
- Get your API Token
- Log in to your Hugging Face account (opens in a new tab).
- Go to Settings → Access Tokens and create a new token.
- Official guide: Hugging Face Security Tokens (opens in a new tab).
- Download a file Huggingface discussion (opens in a new tab)
Use wget with the --header option to include your token:
wget --header="Authorization: Bearer YOUR_HUGGING_FACE_API_TOKEN" https://huggingface.co/stabilityai/stable-diffusion-3-medium/resolve/main/sd3_medium_incl_clips_t5xxlfp8.safetensors
Replace YOUR_HUGGING_FACE_API_TOKEN with your actual token.
Keep your token private—never share it in public repos or logs.
Civitai
- Get your API Token
- Log in to your Civitai account (opens in a new tab).
- Go toSettings → API and generate a token.
- Official guide: Civitai API Download Guide (opens in a new tab).
- Download a file
Example wget command:
wget -O FILENAME "https://civitai.com/api/download/models/2102296?type=Model&format=SafeTensor&token=YOUR_CIVITAI_API_TOKEN"
Replace:
- YOUR_CIVITAI_API_TOKEN → your actual API token
- FILENAME → The unique name assigned to the file, including its extension. EX. vae.safetensors
Troubleshooting
Issue | Possible Cause | Solution |
---|---|---|
Slow access speed | Network latency | Use volumes in the same region as your instance |
Permission denied | Incorrect accessAPI token | Updateyour API Tokenin command |