Files & storage
Understanding where your files live is important: some locations persist across workspaces, some persist only within one workspace, and some are temporary.
/work - your persistent work directory
Section titled “/work - your persistent work directory”Every workspace mounts ~/work from the host as /work inside the container.
- Files written to
/workpersist across all your workspaces and survive stops, restarts, and even workspace deletion. - A different workspace you create later sees the same
/work. - Put datasets, checkpoints, code, and anything you can’t afford to lose here.
/home/<you> - per-workspace home
Section titled “/home/<you> - per-workspace home”Your home directory inside the container is backed by a per-workspace directory on the host
(~/workspaces/<id>/workspace-private). This means:
- conda environments, pip user-installs, dotfiles, and shell history persist across stop and start of that workspace.
- When you create a new workspace, the home directory starts fresh - the environments and installs from an old workspace don’t carry over.
- When you delete a workspace, its per-workspace home is archived under your account. Ask your
admin if you need to recover something from it. Your
/workis not removed.
If you want to preserve a conda environment across workspaces, keep it under /work or export
and reinstall it.
Shared mounts
Section titled “Shared mounts”Your admin may offer shared directories, such as datasets or pre-downloaded model weights, as
folder presets. Select the ones you need when creating a workspace or editing Settings →
Folders. Selected folders appear at fixed paths such as /data and are read-only by default.
Ask your admin what paths are available.
File ownership
Section titled “File ownership”Workspaces run as your Linux user with --userns=keep-id. Files you create inside the container
appear as your Linux user on the host - no chown required, and no UID mismatch when you access
them outside LabPod (e.g. over SSH).
File manager
Section titled “File manager”Files is one of the two primary destinations in the top navigation (alongside Workspaces), and the workspace detail page also has its own Files shortcut next to the main app - both open the same server-side file manager, pre-scoped to that workspace when you came from its detail page. From there you can:
- Browse your
/workand per-workspace home directories. - Upload files from your local machine.
- Download individual files or entire directories as a
.tar.gzarchive - useful for backing up a workspace home before deleting, or for extracting results. - Create directories and rename, copy, move, or delete files.
- Open a text file to view it, then choose Edit to change it.
The file manager works even when the workspace is stopped.
To copy or move items, select them and choose Copy to… or Move to…. Browse to the destination folder, then confirm with Copy here or Move here. While the operation runs, the confirmed destination, copy or move action, and selected items stay fixed. Folder browsing, Close, closing with Escape, and repeat confirmation are unavailable until it finishes.
If a multi-item operation fails partway through, the picker stays open and reports how many items completed, which item failed, and how many remain. Copy here or Move here retries only the failed item and items not yet attempted; completed items are not copied or moved again. After the failure, you can also browse to another destination or close the picker.
New-folder and rename dialogs keep Folder name or New name visible while typing. The submitted name is read-only while its request runs. If you close that dialog and open another, a late success or error preserves the newer name draft; only one naming request can run at a time. After a failed request, use Refresh to check current names before retrying. A failed location list stays an error until Refresh succeeds; it is not reported as an empty list.
Deleting a folder always asks you to type the displayed confirmation exactly, whatever its size.
This is normally the folder name; names containing quotes, backslashes, or control characters use
the quoted, escaped form shown. If your selection contains several items including a folder, the
phrase is instead something like DELETE 3 ITEMS. If only part of a deletion succeeds, LabPod
lists what was deleted and what needs review; deleted items are not restored.
When you save an edited file, LabPod checks whether it changed on disk since you opened it. If it did, choose Reload to discard your edits and load the latest version (copy your edits first), or Overwrite to save your version. Editing pauses while a save is in progress, and a failed save keeps your draft. The check does not lock the file against other programs.
Name conflicts, non-empty folders, and invalid copy or move destinations are reported with a suggestion for a valid target. Your host HOME and the workspace definition files are not shown here; edit a workspace’s definition from its Settings or Definition files instead.
Hugging Face model cache
Section titled “Hugging Face model cache”LabPod sets HF_HOME=/work/.hf-cache inside every workspace. This means model weights and
datasets you download with transformers, datasets, or huggingface-hub are stored once
per user under your /work and are automatically shared across all your workspaces - instead of
downloading 16+ GB again every time you create a new workspace.
If you want a different cache location, override HF_HOME from Settings →
Environment.
If your lab shares common weights, ask your admin to configure a shared read-only mount and point
HF_HUB_CACHE at it.