Skip to main content

Following a workload

The Workloads page lists the workloads of your tenants, newest first. Filter them by tenant, by status (All, Active, Finished, Failed), search by name, ID or submitter, or tick Only mine. A card per tenant shows its GPU types, your GPUs in use against your cap, and its number of active workloads.

Each workload has a page with three tabs:

  • Overview: status, timeline, resources, output directory and the commands to download it;
  • Logs: the output of the container;
  • Spec: the submitted workload, with the platform defaults resolved, as JSON.

The pages refresh on their own while something shown is still active.

Statuses​

Any active workload can also be cancelled: it goes to Cancelling, then Cancelled. These transitions are not drawn.

StatusMeaning
HeldYou already use your per-user GPU cap in this tenant. Starts automatically when your other workloads end, oldest first.
ValidatedAccepted, being launched on the GPU cluster. Retried automatically for up to 10 minutes.
ScheduledWaiting in the queue for free GPUs in your tenant's quota. The reason given by the queue is shown.
AdmittedGPUs reserved: the container is starting and pulling its image.
RunningYour command is running. Live logs are available.
SucceededYour command exited with code 0. Final.
FailedNon-zero exit code, maximum duration reached, or the workload could not start. The reason and the exit code are shown. Final.
CancellingA cancel was requested and the workload is being stopped.
CancelledStopped by a user. Final.
ErrorThe cancel could not be confirmed within 10 minutes. The Forge team must stop the workload by hand; it then becomes Cancelled.

Statuses are refreshed every few seconds. A short workload can go straight from Scheduled to Succeeded without showing the statuses in between.

The queue​

A valid workload is never rejected because GPUs are busy. It waits, in one of two places.

Held: your per-user cap​

If your tenant has a per-user cap, you cannot use more GPUs than this cap at the same time in the tenant. A workload that would exceed it goes to Held. Held workloads do not occupy the tenant's queue: the workloads of the other members go before them. When your running workloads end, your held workloads are released one by one, oldest first, as long as they fit in your cap.

This keeps a member who submits many workloads at once from filling the queue of the whole tenant: members take turns instead.

If the cap is lowered below the GPUs of a held workload, that workload can never start: it goes to Failed, with the reason N GPUs requested, above the per-user cap of M of the tenant.

Scheduled: your tenant's quota​

Each tenant has a quota of GPUs per type. A scheduled workload waits until enough GPUs are free in this quota. Within a tenant, workloads start in submission order, as long as they fit: a smaller workload can start before a larger one that does not fit yet.

Depending on its provisioning, a tenant may also be allowed to borrow the GPUs other tenants leave idle, and so run more workloads than its own quota. Ask the Forge team whether yours can.

Eviction​

Eviction only concerns workloads running on borrowed GPUs: a workload within your tenant's own quota is never evicted.

When the tenant that lent its GPUs needs them back, the workload running on them is evicted: it is stopped, goes back to Scheduled, and starts again from the beginning once GPUs are free. Everything it had not written to /data is lost. The workload's page shows how many times it was evicted and why.

If your tenant can borrow GPUs, make long workloads save their progress to /data regularly (for instance the model's weights after each epoch), and resume from the last saved state when they start.

Logs​

The Logs tab shows the standard output and error of your container:

  • live while it runs, refreshed every few seconds (Follow keeps the view at the bottom);
  • archived once it has ended, for 90 days.

You can choose how many lines to show (up to 5000), and download the whole archive of an ended workload. An archive is capped at 50 MB: beyond that, the start of the output is dropped and a line says how much. Write anything important to files under $GPUWL_OUTPUT_DIR rather than relying on the logs.

Logs are visible to everyone with GPU_WORKLOAD_READ or GPU_WORKLOAD_MANAGE on the tenant: do not print secrets.

Cancelling​

Cancel Workload on the workload's page stops it, whatever its status: held, queued or running. It requires GPU_WORKLOAD_MANAGE on the tenant, and works on any workload of the tenant, not only yours. Output files already written to /data are kept.

When a workload fails​

The workload's page shows the reason and, when the container ran, its exit code. Then check the Logs tab. Common causes:

SymptomCause and fix
Fails at once with ErrImagePull, ImagePullBackOff or InvalidImageNameThe image cannot be pulled: typo in the reference, tag that does not exist, or private registry. The platform gives up after 1 minute.
Fails with CreateContainerConfigErrorThe container could not be configured on the cluster. Contact the Forge with the workload ID.
Reason DeadlineExceededThe max duration was reached. Submit again with a longer duration, or resume from a checkpoint.
Exit code 137The container was killed, usually for using more memory than its limit, /dev/shm included. Reduce the memory used, or the shared memory.
Exit code 126 or 127The command cannot be executed or is not found. Check Command and Arguments: each item is passed as-is, without a shell.
Permission denied on /dataYour workload does not have the tenant's group yet. Being added to the group can take up to an hour: after that delay, log out of the portal, log back in, then submit again. See Storage permissions.
Any other non-zero exit codeAn error of your program: read the logs.
Stays in Admitted a long timeThe image is large and still being pulled, which can take several minutes the first time. A workload that cannot be placed on a node fails after 10 minutes.

If a workload stays in Error, or a failure looks like a platform problem, contact the Forge with the workload ID (copy button next to its name).