Rent a GPU

Guide · rsync, scp and Hugging Face

How do you move data to and from a rented GPU instance?

Last updated: · 6 min read

Quick answer

How do you move data to a rented GPU?

Pull models straight onto the instance with hf download, push your own data with rsync -avP over SSH, and copy results out before you delete. On RentGPUCrypto every minute of transfer runs on paid time, from $0.37 per GPU-hour, paid in Monero or other crypto, so download on the server, not through your laptop.

In brief
  • Public models: download on the instance from Hugging Face; it is far faster than uploading from home.
  • Your own data: rsync -avP -e "ssh -p PORT" resumes after a dropped connection.
  • Many small files: stream a tar archive through SSH instead of copying file by file.
  • The disk: local NVMe, kept while the instance is stopped, wiped for good when you press Delete.

Which method fits which data?

Four ways to move data to a rented GPU instance, with when to use each
MethodBest forResumes after a cut?Runs from
hf downloadModel weights and datasets on Hugging FaceYes, skips finished filesThe instance
rsync -avPYour datasets, checkpoints, code foldersYes, with --partial (part of -P)Your computer or another server
scp -POne or two files, quickNoYour computer
tar over sshFolders with thousands of small filesNoYour computer

Why download models on the instance instead of uploading them?

Because the GPU host's link is usually far faster than a home upload, and the meter is running either way. A 70B checkpoint in BF16 is a very large download. Uploaded from a home connection it can take most of a day; pulled from Hugging Face by the server it usually takes a fraction of that.

According to RentGPUCrypto's price check of 3 December 2026, every hour an H100 instance spends waiting for a transfer costs $2.69, and an 8× H100 instance burns eight GPU-hours per hour. If a large upload cannot be avoided, run it to a cheap RTX 4090 instance first, or prepare data before you launch the expensive cards.

How do you pull a model from Hugging Face?

Install the Hugging Face CLI on the instance, log in if the model is gated, and download to a local folder. Gated models such as Llama need a token with access granted on the model page. Recent versions of huggingface_hub download through the Xet storage backend; the hf_transfer package with HF_HUB_ENABLE_HF_TRANSFER=1 is the older fast path and still works for large files.

pip install -U "huggingface_hub[hf_transfer]"
hf auth login                      # only for gated models
export HF_HUB_ENABLE_HF_TRANSFER=1
hf download meta-llama/Llama-3.3-70B-Instruct \
  --local-dir /root/models/llama-3.3-70b \
  --exclude "original/*"
# older CLI name, same options: huggingface-cli download ...

How do you push your own dataset with rsync?

Run rsync from your computer with the port from the instance page. The SSH command shown in the dashboard has the form ssh -p PORT USER@HOST; reuse those three values. -a keeps permissions and times, -v lists files, -P shows progress and keeps partial files so a second run continues where the first stopped.

The trailing slash matters: ./data/ copies the contents of the folder, ./data copies the folder itself. Add -z for text-heavy data such as JSONL; skip it for images, video and safetensors files, which do not compress.

# laptop -> instance
rsync -avP -e "ssh -p 22041" ./dataset/ [email protected]:/root/dataset/

# one file with scp (capital -P for the port)
scp -P 22041 ./lora.safetensors [email protected]:/root/

# thousands of small files: one tar stream instead of one copy per file
tar -cf - ./images | ssh -p 22041 [email protected] "tar -xf - -C /root"

# check the copy
sha256sum ./lora.safetensors
ssh -p 22041 [email protected] sha256sum /root/lora.safetensors

How do you get results back before deleting?

Reverse the rsync, check the files on your side, and only then delete the instance. Delete wipes the disk at once and cannot be undone; support cannot bring the files back. Stopping is the safe pause: the disk stays, and the GPU charge stops the minute you press Stop.

Typical things to copy out: LoRA adapters or merged checkpoints, training logs, evaluation outputs, generated images and the exact pip freeze of the environment, so the next run can rebuild it. The stop or delete help page explains the two buttons.

# instance -> laptop, only what you need
rsync -avP -e "ssh -p 22041" [email protected]:/root/output/ ./output/
rsync -avP -e "ssh -p 22041" --include="*/" --include="*.safetensors" --exclude="*" \
  [email protected]:/root/checkpoints/ ./checkpoints/

Can two instances share data?

Not through a shared disk: each instance has its own local NVMe disk. To move a checkpoint from a training box to an inference box, rsync directly between them. Add the public key of the first instance to ~/.ssh/authorized_keys on the second, or use agent forwarding with ssh -A from your laptop for that one session.

For anything you want to keep across many rentals, an object store you control (S3-compatible storage, or a private Hugging Face repo uploaded with hf upload) is easier than a chain of rsync copies. Keep the credentials for it in environment variables, as the GPU security guide recommends.

What if the connection drops mid-transfer?

Run the transfer inside tmux on the instance, and rerun rsync if it was on your side. A long hf download survives a laptop closing only if it runs in a tmux or screen session on the server. Start tmux new -s dl, run the download, detach with Ctrl-b then d, and reattach later with tmux attach -t dl.

On your side, rerunning the same rsync command is enough: files already complete are skipped and partial ones continue. scp and tar streams start again from zero. A ServerAliveInterval 30 line for the host in your SSH client config makes idle drops rarer; the SSH keys help page shows how to set up that client side.

Moving data: common questions

Is my data kept when I stop an instance?

Yes. Stopping keeps the instance disk and stops the GPU charge. The data is wiped only when you delete the instance. When a GPU model runs out of hours, its instances stop and also keep their disks.

Can I mount a network drive or S3 bucket?

You have root on the instance, so tools such as rclone or s3fs can mount or sync storage you control. RentGPUCrypto itself offers no shared storage between instances.

Why is my upload slow?

Usually the bottleneck is your own upload link, not the server. Download public files on the instance instead, compress text data with rsync -z, and avoid copying thousands of small files one by one.

Does RentGPUCrypto look at the data I upload?

No. RentGPUCrypto does not read the files on your disk. For billing it keeps the GPU model, host country, start and stop times of each instance for 30 days.

Can I copy files from a stopped instance?

No. A stopped instance has no running SSH server. Start it again, which draws GPU-hours per minute while it runs, copy the files, then stop or delete it.

Verdict
  • Models: hf download on the instance.
  • Your data: rsync -avP over SSH, resumable.
  • Before Delete: copy results out and check them; deletion wipes the disk for good.
Sources (5)
  1. rsync(1) manual page — rsync project
  2. scp(1) manual page — OpenBSD / OpenSSH
  3. Hugging Face Hub: download files — Hugging Face
  4. Hugging Face Hub: command line interface — Hugging Face
  5. tmux manual — OpenBSD

Stage data on a cheap card first

$3.70 for 10 RTX 4090 hours: enough to download, check and prepare a dataset, paid in crypto.

RTX 4090 from $0.37/hr · no KYC

Rent a GPU