If you are using both a Paperspace Linux VM and Gradient you can share files between them through Persistent Storage. Learn more about Persistent Storage here.
Once you have set up either a Gradient Jupyter Notebook or a Job you will have access to Persistent Storage in
Persistent Storage is kept in two regions based on your machine type:
- East Coast (NY2) - GPU+, P5000, C2, C7
- GCP West - K80, P100, TPU
From A Notebook:
When opening your notebook you will see a
/storage folder. Clicking on the folder will take you to Persistent Storage where you can upload your data. If there are a large amount of files, it's advisable to zip them up first.
From Your (Terminal Only/SSH) VM:
To access the same folder in your Paperspace VM simply log on and type
ls / into the terminal and you will see the storage folder. Typing
ls /storage will show you what folders you have in storage. If you have Notebooks or Jobs set up in only one region then you will only see one folder. If you have it set up in two different regions, you will see two folders. Typing
ls /storage/storagefoldername will show you the contents of that folder.
Note: If your machine was created before June 15th, 2018, you'll need to take the following 2 steps:
1) Download this file: softupdate.paperspace.io/enable_jobstorage.sh to /tmp/
2) From terminal, run `sudo bash /tmp/enable_jobstorage.sh`
Machines that have been running before you had job storage will be prompted to power down and then back up.
From a Linux Desktop (Machine Learning in a Box)
For users that are using our Machine Learning in a Box Template and also have a desktop, you will be able to see Persistent Storage in your /storage folder. Simply click on the "Home" Folder on your desktop. Then click on "Computer" near the bottom in the left pane:
Click on storage and you will see your folders containing all your files.