Moving data in and out of FLAME¶
Before you can train on your data, it has to be on FLAME's attached high-performance storage system. Once you have SSH access set up, FLAME just works like any other SSH destination, so you move data in and out of FLAME the same way you would with any other server you can SSH into:
- Push and pull from where the data is —
scp,rsyncorsftpfrom your workstation or a lab server, in either direction. - Log in and fetch it —
curl,rclone,gitetc. all can be used to pull data that lives on the internet, in cloud storage, or another server on campus.
Durability and security
FLAME storage is optimized to feed GPUs as fast as possible to maximize training performance. This comes with tradeoffs in durability and security. In particular, data on FLAME Kubernetes volumes is not backed up and stored unencrypted.
As such, FLAME storage should be understood as scratch space for "hot data" undergoing active compute. It is not an appropriate long-term data storage location. FLAME has a companion long-term storage system, Hearth, which is designed expressly for this.
Two persistent locations are mounted in every notebook and job:
- Your home directory (
/home/ubuntu) — for data only you use. /workspace— shared with your whole workspace. Put datasets here if your group works on them together; a dataset copied once to/workspaceis there for everyone.
Under the hood, these are both Kubernetes Persistent Volume Claims. See the Storage and Kubernetes reference pages for further details on how these work.
Copying over SSH¶
From any machine where you've set up SSH access, any standard command line tools will work in both directions:
# A file into your home directory
scp ./labels.csv flame:~/
# ...or results back out
scp flame:/workspace/plots/loss.png .
# A whole directory into shared workspace storage
rsync -av --progress ./my-dataset/ flame:/workspace/my-dataset/
# Interactive browsing and transfer
sftp flame
If your server isn't running, the connection starts it first, so a transfer may wait while it comes up. Transfer speed depends on the network link of the machine on the other end.
Fetching from the cluster side¶
When the data lives somewhere with a URL or an API, it's usually faster to log
in and download it directly onto FLAME than to route it through your own
machine. FLAME has a 10Gbps connection to both the public internet and Drexel's
campus network. Open a terminal with ssh flame, a JupyterHub session's
built-in terminal (File → New → Terminal in JupyterLab), or a
VSCode terminal. From there you can reach:
- Public datasets and files — anything on the internet: dataset hubs, public S3 buckets, download links, git repositories.
- Drexel campus services — servers exposed on the campus network (a lab file server, a departmental web server, another cluster) are reachable from FLAME directly.
- Cloud storage you have credentials for — S3, Google Drive, OneDrive,
Dropbox, and friends, via
rclone.
The same tools send results back out: rclone uploads to cloud storage, and
rsync and scp push to any server you can SSH into from FLAME.
Tools in the default image¶
The default image comes with the common transfer tools preinstalled:
| Tool | Good for |
|---|---|
curl, wget |
Direct HTTP(S) downloads |
rclone |
Cloud storage: S3, Google Drive, OneDrive, Dropbox, and many more |
git, git lfs |
Code and datasets versioned in git |
rsync, scp |
Copying to and from any server you can SSH into |
unzip, tar, zstd, 7z, unar, pigz |
Unpacking whatever arrived |
For example, downloading and unpacking an archive into shared workspace storage:
Python data libraries (Hugging Face datasets, boto3, etc.) aren't
preinstalled, but pip install works as usual — and Hugging Face downloads
cache under your home directory, so they persist across sessions.
Cloud storage with rclone¶
rclone is the swiss-army knife for cloud storage. Run
rclone config once, interactively, to set up a remote for your provider —
the configuration is saved in your home directory, so every future session has
it. Then copy in either direction:
rclone copy --progress mydrive:research/dataset /workspace/dataset
rclone copy --progress /workspace/results mydrive:research/results
For providers that need a browser-based OAuth login (Google Drive, OneDrive), rclone's config flow will ask you to run a small command on your own laptop to complete the login — follow the prompts, or see rclone's remote setup docs.
Small files: drag and drop¶
For a handful of scripts or a small data file, skip the tooling: JupyterLab's file browser accepts drag-and-drop uploads and downloads files with a right-click, and a VSCode window connected to FLAME lets you drag files in and out of the explorer. These routes go through your browser or editor, so they're only sensible for small transfers.