Skip to content

Explain Kaggle runs that get no GPU and list live Kaggle kernels - #16

Merged
tuandang304 merged 1 commit into
mainfrom
kaggle-fixes
Oct 14, 2026
Merged

tuandang304 merged 1 commit into
mainfrom
kaggle-fixes

Conversation

@tuandang304

Copy link
Copy Markdown
Owner

Before: a Kaggle run on an account that is not phone-verified ran on CPU with no internet, failed while downloading packages, and showed only "Job failed: exited with code 2". Running instances listed only orx runs of the selected project, so Kaggle kernels orx no longer followed (or started elsewhere) were invisible.

After: the kernel stops right away when Kaggle withholds the GPU, and the run's status reads "Kaggle gave the kernel no GPU. Kaggle grants GPUs and internet access only to phone-verified accounts: verify this account at https://www.kaggle.com/settings and run again." A run that fails offline says it had no internet access. Running instances also shows kernels queued or running on any saved Kaggle account, with a link to each.

How: the driver checks nvidia-smi and a TCP connection to PyPI/GitHub before extracting the snapshot and exits 98 without a GPU. The controller writes a one-line failure_reason next to exit_code, which localbox::inspect_job now uses as the error message when present. A new /api/settings/kaggle/kernels endpoint checks the five most recently run kernels per account with kernels status (cached 30s), and the UI adds them to the Running instances table, skipping ones that already appear as orx runs.

Also runs cargo fmt on src/local/skills.rs, which made fmt, clippy, test fail on main.

Checks: cargo fmt --check, cargo clippy --all-targets -D warnings, Kaggle and localbox tests, i18n lint, tsc, pnpm build ((void 0)() count 0). The driver was run locally without a GPU and exits 98 with the message.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LnYzVVarTNKxtq2vcYnzmE


Generated by Claude Code

The kernel driver now checks for the GPU it asked for and for internet
access before running. Kaggle silently drops both on accounts without a
verified phone number; the run now stops at once and its status says so
instead of a bare exit code.

Running instances also lists kernels that are queued or running on any
saved Kaggle account, including ones orx no longer follows.

Also formats src/local/skills.rs, which failed cargo fmt on main.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LnYzVVarTNKxtq2vcYnzmE
@tuandang304
tuandang304 merged commit 2ebf706 into main Oct 14, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants