Teams and quotas
This page explains what teams split and what they do not, what a team lead can do, and what happens to jobs that go over a quota. It also shows how to choose, in code and on screen, which team your job counts toward.

What teams split
Section titled “What teams split”A team is the unit for splitting GPUs and workspaces between groups and for handing team work to a team lead. Quotas are set per team, and a team lead manages the members and jobs of their own team.
A team is not a boundary for secrets. Experiments, models, datasets and projects are visible to every user of the server, whatever their team. Others just cannot change or delete what is not theirs. Other teams' names are hidden on screen, but that only reduces what is shown. It is not a security control.
Default team and primary team
Section titled “Default team and primary team”Every human account starts in the default team. New accounts join it automatically. The default team has no quotas and cannot be deleted. So if you never create a team, the server behaves exactly as it did before teams existed.
A person can belong to several teams. One of them is the primary team. Jobs count toward the primary team unless you choose otherwise.
- When an admin adds someone to another team without choosing a primary team, that team becomes the primary team. The person then leaves the default team they had joined automatically.
- When a team lead adds someone, that person's primary team and default team membership do not change.
- The person or an admin changes the primary team. You press Make primary on Manage › My team.
- Members can leave a team themselves. Anyone left with no team returns to the default team.
- Agent accounts are never put in teams.
Who does what
Section titled “Who does what”| Task | Server admin | Team lead (own team) | Team member |
|---|---|---|---|
| Create and delete teams, change display name | Yes | - | - |
| Edit team description | Yes | Yes | - |
| Appoint and remove leads | Yes | - | - |
| Add and remove team members (existing accounts only) | Yes | Adds only people who are in the default team alone. Cannot remove leads or server admins | Leave the team |
| Create accounts, reset passwords | Yes | - | - |
| Set team quotas | Yes | View only | See what is left |
| Stop running jobs of team members | Yes | Yes | Own |
| Reorder waiting team jobs | Yes | Among team jobs | Among own jobs |
| Delete or archive members' experiments and models | Yes | Author only | Own |
| Create team workspaces and set resources | Yes | - | - |
| Start, stop and manage members of team workspaces | Yes | Yes (adds team people only) | When manager of that workspace |
Members of other teams can do none of these for a team they do not belong to.
A few more rules apply to leads.
- Lead rights apply only through the qgon screens and your own API key. Code running with a workspace key has no lead rights.
- A lead adds people by typing the exact account name. Server admins and people from other teams cannot be added. In that case you get the same message as for a name that does not exist. Ask an admin for such people.
- Leads cannot stop or move a server admin's jobs either. The default team has no lead.
- A lead cannot add themselves to a team workspace. Inside a workspace, members can read each other's keys, so an admin does this. In a workspace where a server admin is a member, a lead cannot add people or change roles either.
Creating and deleting teams, appointing leads and changing quotas work only from the internal network. From outside the server, adding and removing team members works only if the admin allowed 'Workspace members' for external access. Each such change notifies the admins (Security and access).
Quotas
Section titled “Quotas”An admin sets them per team on Settings › Teams. An empty field means no limit.
| Quota | What it counts | When exceeded |
|---|---|---|
| Pool use | Whether the team may send jobs to that pool (queue) | Refused when enqueued |
| Concurrent runs | Running jobs counted to the team, including those about to start | Waits in the queue (reason 'team quota') |
| Memory | Sum of expected or measured memory of the team's running jobs (GB) | Waits in the queue (reason 'team quota') |
| Running workspaces | Number of team workspaces that are on | Start refused |
| Workspace CPU memory | Sum of the CPU memory fields of team workspaces that are on | Start refused |
| Workspace disk allocation | Sum of the disk sizes set for team workspaces (not actual usage) | Create and grow refused |
| Result file size | Checkpoints, models and result files left by team jobs | Warning only |
The settings screen always shows concurrent runs, memory and running workspaces. The other three fields appear under Advanced. If any of them has a value, that section starts open. Team members see quotas, current usage and what is left on Manage › My team.
Jobs waiting on a quota
Section titled “Jobs waiting on a quota”A job held by a team quota does not block the jobs behind it. It is released only when that team's own jobs finish, so other teams' jobs start first. Within one team the order is kept. Waiting for server memory ('memory wait') works differently: the job at the front starts first (Share GPUs and the queue).
Say the vision team has a concurrent run quota of 1. While one vision job runs, the second vision job waits with 'team quota'. An nlp job behind it starts first as long as server memory allows. When the first vision job ends, the second one becomes a candidate to start again.
- When another team's job waits on its team quota, Build › Scheduling shows it only as 'Waiting for team quota'. The team name is not shown.
- If a team has no jobs running at all, its first job starts regardless of the memory quota. If the team has an endpoint running, though, the memory quota applies to the first job too.
- If a job waits on a team quota for more than 10 minutes, the admins are notified.
Splitting a unified memory server
Section titled “Splitting a unified memory server”On a server where one GPU shares server memory, teams cannot be split by number of GPUs. Such servers are split by concurrent runs and memory sum.
A job with no memory estimate counts as twice the memory guard threshold until its real usage is measured, and then counts at the measured value. If you set a memory quota below that amount, the quota screen warns you. The sum of memory quotas may exceed server memory. Server memory is the final limit.
The workspace CPU memory quota does not limit the memory the GPU uses. On a unified memory server, GPU memory is allocated outside the workspace CPU memory limit. Workspace disks are fixed when an admin creates each workspace. So the advanced fields are rarely needed on such servers.
When quotas do not apply
Section titled “When quotas do not apply”Auto-assign is the server feature that starts jobs in turn based on remaining memory. If it is off, GPU team quotas do not apply. Settings › Teams shows 'Auto-assign off · quotas not enforced'. Values are saved and take effect once auto-assign is turned on.
Jobs put on other queues that do not go through auto-assign, and training run directly inside a workspace, are also outside team quotas. The memory guard protects the server for those runs.
Which team a job counts toward
Section titled “Which team a job counts toward”The server decides the team in this order.
- The team chosen when sending. This covers
qgon run --team,qgon.submit(team=)and Quota team in a new run on screen. You must belong to that team. - Jobs sent from a team workspace count toward that workspace's team.
- Pipeline steps and hyperparameter search trials count toward their parent job's team.
- Everything else counts toward the sender's primary team.
Jobs created by automatic requeue, GPU yield or resume training inherit the team of the original job. Admin jobs also count toward the admin's primary team quota.
qgon run --queue gpu --team vision -- python train.pyqgon run --queue gpu --team vision --dry-run -- python train.py # the 'team' line shows the team to send toimport qgon
r = qgon.submit(["python", "train.py"], queue="gpu", team="vision")print(r.id, r.url)In a new run on Build › Scheduling, pick Quota team. Only teams you belong to are listed.
Put --team before the command, like --queue. If you write it after, as in qgon run python train.py --team vision, it becomes a script argument and you get a warning. If the team name format is wrong (2 to 31 lowercase letters, digits or -, starting with a lowercase letter), nothing is created.
If you leave the team empty, the server decides it in the order above. Admins can name any team. In the cases below nothing is sent, and the run being created and the uploaded code are deleted.
| Case | Message (shown in Korean) |
|---|---|
| You do not belong to that team | vision 팀 소속이 아니어서 보낼 수 없습니다. … (cannot send: not a member of vision) |
| That team may not use this queue's pool | 이 팀은 gpu 풀을 쓸 수 없습니다 … (this team cannot use the gpu pool) |
| The team does not exist (admin) | nope 팀이 없습니다 (no team named nope) |
Runs started directly in a workspace
Section titled “Runs started directly in a workspace”qgon.init(team=), and qgon run --team without --queue, only record the team on a run you start in the workspace.
import qgon
run = qgon.init(project="vision-cls", team="vision") # record team vision on this runIf you later clone this run on screen and enqueue it, it counts toward that team. The person enqueuing must also belong to that team. Otherwise it is refused with a 'not a member of … team' message. Inside a script running on an agent, qgon.init(team=) changes nothing, because the team was already decided at enqueue time. Set the team for queued jobs with --team.
Read it from the API
Section titled “Read it from the API”Team information can also be read from the REST API. Admins see every team, everyone else sees only their own teams. Getting a token is covered in REST API.
BASE="http://<server address>:<web port>"curl -s -H "Authorization: Bearer $TOKEN" "$BASE/qgon-api/teams" # my teams (admins see all)curl -s -H "Authorization: Bearer $TOKEN" "$BASE/qgon-api/teams/vision" # team detail: members, quotas, usagecurl -s -H "Authorization: Bearer $TOKEN" "$BASE/qgon-api/pools" # what my teams have left in each poolYou can also change your primary team by sending {"primary": true} to PATCH /qgon-api/teams/<team>/members/<your user name>.