Concepts
Several accounts, several machines
Pooled quota across a Kaggle group, switching accounts, and adding a new laptop.
- Quota is per account. A session is charged to the account that starts it, not to the notebook’s owner (measured).
- Switching is a question, not a wall. If the active account can’t finish
the session you asked for,
kdev upshows every account’s remaining hours and lets you pick.kdev account use <name>switches by hand. - The box is still running?
kdev upfrom any account or machine connects to it instead of starting a second one. - A new laptop.
kdev setupsigns you in and joins the workspace. The tunnel and git settings come from the notebook, and the new laptop’s SSH key is saved in the workspace (.kdev/authorized_keys). So every machine that has used it can reach every later box. - Stopping a box someone else started. Kaggle only lets the account that
started a session cancel it. When the box doesn’t answer,
kdev downfinds out which account that was and cancels as it — or tells you which account has to.
kdev account add alice # sign an account in (browser); re-run to refresh it
kdev account # every account and its GPU/TPU hours left
kdev account use alice # it runs the next box