Run a notebook without sitting there
A batch job runs one of your notebooks later, in a pod of its own, on hardware you choose — and then puts the executed notebook and its log in your file browser. You can close JupyterLab, let your server be culled, log out for the night: the job keeps running and the results are waiting for you.
👩🎓 Participants: the seven lines at the bottom are probably all you need. The rest explains why those seven lines are true.
👩🏫 Owners / Coaches: the two things worth knowing are that batch spends the same weekly budget as an interactive server (Cost) and that a batch job yields its GPU to anyone starting an interactive server. The exception is a job-only GPU such as the H100, which no interactive server can use.
The one difference that explains the rest
| Interactive server | Batch job | |
|---|---|---|
| Runs in… | the pod you are typing in | a separate pod, under your name |
| Your home is… | yours to write | read-only, with one writable folder |
| It ends when… | you stop it, or the idle-culler does | the notebook finishes |
| It survives… | nothing — logging out ends it | logout, idle-cull, closing your laptop |
| It gives up its GPU… | never, while it runs | immediately, if an interactive server needs it |
That last row is the deal. Batch gets to use GPUs that would otherwise sit warm and empty, and in exchange it is the first thing evicted when someone needs to work interactively.
Is batch available on my course? It needs both the submission UI in your image and the batch service on your hub. If your notebook toolbar has no Create a notebook job button, your course is not set up for it — ask ZI. The hardware choices you get are the ones your course offers; see Choosing hardware.
Submitting a job
- Open the notebook you want to run, or find it in the file browser.
- Click Create a notebook job (the calendar icon) in the notebook toolbar — or right-click the
.ipynbin the file browser and choose Create Job. - Fill in the form and click Create.

| Field | What to put there |
|---|---|
| Job name | Anything that will still mean something to you tomorrow. It is how you find the job in the list. |
| Input file | Filled in for you — the notebook you started from. |
| Compute type | The hardware the job runs on: cpu, gpu-shared, gpu-dedicated, gpu-dedicated-a10, gpu-dedicated-h100, … — whichever your course offers. See Choosing the hardware. |
| Parameters | Optional name/value pairs, injected into the notebook by papermill. |
| Schedule | Leave it on Run now. Scheduled and recurring jobs are not available. |
The form also shows Run job with input folder and Output formats. Neither has an effect here: a job always sees your whole home (read-only), and its result is always the executed notebook plus its log.
The notebook is submitted as it is at that moment — including unsaved-to-storage edits, because a copy travels with the submission. You do not have to wait for a sync before submitting.
Choosing the hardware
The Compute type list holds the hardware kinds your course’s profiles give you — the same kinds you could start an interactive server on, plus any job-only kind your course offers. It is not a way around your course’s setup: if your course has no dedicated-GPU profile for you, the batch form offers no dedicated GPU either. The names are the kinds of compute capacity, not the profile names on the server-selection page.
The choice is independent of the server you submitted from. Submitting from a small CPU server onto gpu-dedicated is normal and is much of the point — you do not need to hold a GPU in order to ask for one.
Job-only hardware: the H100
Some courses offer gpu-dedicated-h100, a whole NVIDIA H100 (94 GB of GPU memory). There is only one in the platform, so it is job-only: you will not find it on the server-selection page, only in the batch form. That changes three things for a job on it:
- It is not evicted for an interactive server, because no interactive server can run there.
- It waits for the jobs ahead of it. One H100 runs one job at a time — other courses’ jobs included. A long Queued time is normal; keep jobs short so everyone gets a turn.
- It starts cold. The H100 machine is switched off while nobody uses it, and starting it takes several minutes before the notebook begins.
Prepare and test the notebook on a smaller compute type first, and submit to the H100 only the run that needs it.
gpu-sharedputs your job on a slice of a GPU card shared with other users. It is cheaper on your budget’s terms only in that it is easier to get hold of — there is no memory isolation between slices, so a neighbour can exhaust the card. If a job dies with a CUDA out-of-memory error that makes no sense for its size, retry it, or usegpu-dedicatedif you are entitled to one.
A job gets the same CPU and memory as an interactive server of that compute type — a gpu-dedicated job runs with the same limits a gpu-dedicated server would, not less. Shared memory (/dev/shm) is sized for multiprocess data loading, so a PyTorch DataLoader with num_workers > 0 works without special handling.
Parameters
Parameters are handed to papermill, which injects them into your notebook. For that to work, tag the cell holding your defaults with the tag parameters (in JupyterLab: Property Inspector → Common Tools → Cell Tags). Papermill inserts a new cell just below it that overrides those defaults with the values you typed in the form. Without the tag, the values are ignored.
What the job sees
| Your home | Mounted read-only. On a fleet deployment it is a snapshot, copied in when the job starts. |
| The notebook | The version you submitted, not whatever is in the home. |
| Its working directory | ~/jobs/<notebook>-<job-id>/ — the one place it may write. |
| A large course dataset | If your course has one, at /srv/data — streamed and read-only, exactly as in your server (fleet). |
| Course materials | On an isolated deployment, /home/shared, read-only. On a fleet deployment, /srv/shared is not there — copy what a job needs from it into your home first. |
/scratch | 20 GiB of local disk for downloaded models and library caches (Hugging Face, PyTorch), whatever compute type you chose. Wiped when the job ends. Going over the limit stops the job. |
| Your venv kernels | A notebook on a my-venv-kernel environment runs as it is. On an isolated deployment the environment is unpacked before the notebook starts, which adds about a minute for a large one (PyTorch); on fleet it is already part of your home. |
Because the working directory is the output folder, the ordinary thing works: open("results.csv", "w") lands beside your results and is kept. What does not work is writing back into your home by absolute path — ~/data/results.csv fails with Read-only file system. That is deliberate: only the output folder is ever saved, so a write anywhere else would be thrown away silently at the end of the run. A loud failure is better.
On a fleet deployment, the data files in the snapshot are only as fresh as the last home sync of your running server, which copies your home back about every ten minutes (see Storage). A dataset you generated shortly before submitting may not be in the snapshot yet. The notebook is always the version you submitted; everything else is as of the last sync.
Where the results go
Everything a job produces lands in one folder, named after the notebook and the job’s id — for train.ipynb, something like ~/jobs/train-15c22ad1-1d26-…/. A job’s detail view shows the exact name.
| File | What it is |
|---|---|
~/jobs/<notebook>-<job-id>/<your-notebook>.ipynb | The executed notebook — every cell with its output, exactly as it ran. |
~/jobs/<notebook>-<job-id>/job.log | Everything the run printed, including the error if it failed. |
~/jobs/<notebook>-<job-id>/job.json | The job’s own record. This is what keeps the job in your list after your server is culled. |
~/jobs/<notebook>-<job-id>/parameters.yaml | The parameters, if you gave any. |
| anything your notebook wrote | Relative writes land here too. |
If a server of yours is running when the job finishes, the results appear in it within seconds, whether or not a browser tab is open; if not, they are there when you next log in. The log is flushed roughly once a minute while the job runs, so you can open it and watch a long job make progress.
Treat
~/jobs/as read-only. Editing a result notebook in place does not stick — on a fleet deployment those edits are discarded. Copy it out first:cp -r ~/jobs/<notebook>-<job-id>/result.ipynb ~/and work on the copy. Storage explains why the folder is protected this way.
Watching a job
Open the Jobs card in the JupyterLab Launcher (under Other) to see your jobs, their status, and a detail view per job — click a job’s name. The Notebook, Log and Files links open its results directly. The × under Actions deletes the job and its results.

The Job Definitions tab belongs to recurring jobs, which are not available; it stays empty.
| Status | What it means | Costs budget? |
|---|---|---|
| Queued | Waiting — either for room in your course’s share of the cluster, or for a machine to be free or started up. | No |
| In progress | Running, holding its hardware. | Yes |
| Completed | The notebook ran to the end. | — |
| Failed | The notebook raised, or the job could not run. job.log says why. | — |
| Stopped | You stopped it, or your budget hit zero. | — |
The list survives everything the job does. If your server is idle-culled while a job runs, log back in and the job is still there with its real status — it is read back from job.json in your home, not from anything that died with the pod. The list shows when you created each job; open a job for its Start time and End time, which are when it actually ran (blank while it has not started or not ended yet).
Two actions in the detail view reach the actual job: Stop Job (while it runs) kills the pod and stops the clock — what it had written so far is kept. Delete Job removes the job from the list and deletes its results folder ~/jobs/<notebook>-<job-id>/, stopping the job first if it is still running. The detail view says so above the folder name. Copy out anything you want to keep before deleting.
A job can be Queued for a long time, and that is not a fault. GPUs in this platform are started on demand and given to interactive users first; a batch job takes what is left over. Time spent queued is free, so waiting costs you nothing but time.
Job notices
On a fleet deployment you do not have to keep the Jobs card open. When one of your jobs starts running, completes, fails, or is stopped because your budget ran out, you get a notice: a pop-up in JupyterLab, kept in the Messages panel (the bell icon in the left sidebar). A job that fails or is stopped carries the reason. A job you stopped yourself sends no notice, and neither does waiting in the queue. A notice reaches you only — see Messages & Notices for how they are shown and dismissed.
A notice is sent even while you are logged out: it is waiting in the panel the next time you open JupyterLab.
What a job costs
Batch spends the same weekly budget as your interactive servers — one budget, spent whichever way you like. There is no separate batch allowance.
- Charged: the time the job actually held its hardware.
- Free: time spent queued, or waiting after being evicted.
- Tier: a job on a GPU kind spends your GPU budget; a job on
cpuspends your CPU budget. See CPU & GPU Quota. - At zero: a new submission is refused, and a running job is stopped — the same two gates that apply to an interactive server.
Eviction charges you, and nothing is resumed. When an interactive user needs the GPU your job is on, your job is evicted — it either starts over from the top or fails outright, and either way the minutes it had already spent are charged, because the hardware really was held. So:
- Write notebooks that are safe to run twice. No “append one row to the results file”.
- Prefer shorter jobs. A 20-minute job that gets evicted loses 20 minutes; an 8-hour one loses eight hours.
👩🏫 Owners / Coaches: an hour granted in the Quota Admin UI covers batch and interactive use alike — there is one ledger per user and tier, and batch simply draws on it.
When a submission is refused
Refusals name a cause you can act on — but where the cause appears is easy to miss. The form accepts the job and it appears in the list; because the broker never took it, it then sits at Queued and never starts. Open the job from the list: the cause is the red message at the top of its detail view.
| Cause | What to do |
|---|---|
budget-exhausted | Your budget for that tier is spent this period. Wait for the reset, or ask your Owner or Coach for an extension. |
kind-not-entitled | You picked a hardware kind you may not use. Pick one from the list. |
no-entitled-kind | Your course offers you no hardware you may submit to at all. Ask your Owner or Coach. |
notebook-too-large | The notebook exceeds 512 KiB. Almost always this is saved cell output — clear all outputs (Edit → Clear Outputs of All Cells), save, and submit again. |
invalid-notebook-path | The notebook could not be read. Save it, and check it is inside your home. |
contract-version-mismatch | The hub and your notebook image are from different releases. Report it to ZI; there is nothing you can do from here. |
A job that stays Queued with a red message on it was refused and will never run. A job that is legitimately waiting for hardware carries no such message. Check the detail view before assuming a long queue is just a busy cluster.
If the Compute type list is empty, the batch service is not answering. Retry; if it persists, report it.
What batch cannot do
| Limit | Detail |
|---|---|
| One notebook per job | No scripts, no shell commands, no multi-step pipelines. Wrap the work in a notebook. |
| No schedules or recurring runs | A job runs once, when you create it. Recurring job definitions are not available. |
| No output formats | You get the executed .ipynb and the log. No automatic PDF or HTML conversion. |
| No email notifications, timeouts or retry settings | Those parts of the form do not apply here. On fleet, JupyterLab shows job notices instead of e-mail. |
No writing outside ~/jobs/<notebook>-<job-id>/ | See What the job sees. |
| No editing results in place | Copy them out of ~/jobs/ first. |
| Not resumable | Eviction never picks up where the notebook left off. |
Running several jobs at once is fine — each gets its own folder and they cannot collide.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| Job is Queued for a long time | No free GPU, and starting a new machine takes minutes — or your course is at its limit and the job is held until there is room. Both resolve on their own. If the job’s detail view carries a red message, it was refused and will never run. |
Failed, with Read-only file system in job.log | The notebook wrote by absolute path into the home. Write relative paths instead — they land in the results folder. |
Failed, with FileNotFoundError on a data file | The file was not in the snapshot. On fleet, a file you just created reaches the snapshot with your server’s next home sync (up to about ten minutes); submit after that, or check the path. |
Failed, CUDA out of memory on gpu-shared | Possibly a neighbour on the same card. Retry, or use gpu-dedicated if you may. |
Failed, killed with no error in job.log | The job ran out of ordinary RAM (not GPU memory). Load the data in smaller pieces, or ask ZI whether the compute type’s memory limit fits the workload. It can also be /scratch overflowing its 20 GiB — usually several large downloaded models. |
Failed before the notebook ran, with a my-venv-kernel message in job.log | The notebook’s venv could not be restored. Check that the environment still exists and is saved (my-venv-kernel <name> --save in your server), then submit again. |
Failed, FileNotFoundError under /srv/shared | Shared course materials are not in a fleet job. Copy what the job needs into your home first. |
| Results are not in the file browser | They normally arrive within seconds of the job finishing; refresh the file browser. If they are still missing, they arrive with your server’s next home sync (up to about ten minutes). If the job is still In progress, only job.log is there yet. |
| Results look doubled, or the job seems to have started over | It was evicted and re-run from the top. Make the notebook safe to run twice. |
| No Create a notebook job button | Batch is not enabled for your course. Ask ZI. |
Seven lines for participants
| Submit | Open a notebook → Create a notebook job (or right-click → Create Job) → name it, pick the hardware, Create. |
| Then | Close everything. The job outlives your session. |
| Results | ~/jobs/<notebook>-<job-id>/ — executed notebook, job.log, whatever your notebook wrote. |
| Watch | The Jobs card in the Launcher. job.log updates while it runs. |
| Cost | The same weekly budget as a server, charged only while it actually runs. |
| Writing | Only ~/jobs/<notebook>-<job-id>/ is writable — and copy results out before editing them. |
| Rule | Make the notebook safe to run twice: an evicted job never resumes. |
Figures on this page reflect current defaults: notebooks up to 512 KiB, logs flushed about once a minute, 20 GiB of
/scratchper job, one H100 in the platform. Several are per-deployment settings — check with ZI before quoting an exact number to a class.