
Kaggle Code Competitions Without a Local GPU: GitHub Actions + Kaggle API Cloud Workflow
The Problem I wanted to compete on Kaggle but: No local GPU Limited disk space (Celeron N4500 / 4GB RAM) Wanted to work from any device The goal: edit a notebook anywhere, push to GitHub, and have it appear on Kaggle ready to submit . The Workflow Edit notebook → git push → GitHub Actions → kaggle kernels push → Submit via browser Step Automated? How Edit notebook - Any device Upload to Kaggle Yes GitHub Actions + kaggle kernels push Submit Manual Browser: "Submit to Competition" Check score Yes kaggle competitions submissions API Why Can't We Fully Automate? I spent a lot of time trying to make submission fully automatic. Here's what I found: The Kaggle API's CreateCodeSubmission endpoint returns 403 Forbidden : Permission 'kernelSessions.get' was denied I tested every combination: Auth Method CLI Version API Result Legacy API Key 1.8.4 competition_submit_code 403 New API Token (KGAT_...) 1.8.4 competition_submit_code 403 New API Token (KGAT_...) 2.0.0 competition_submit_code 403 New
Continue reading on Dev.to Python
Opens in a new tab



