{"id":35881597,"url":"https://github.com/kayas881/comfyui-kaggle","last_synced_at":"2026-01-08T18:02:35.113Z","repository":{"id":330977914,"uuid":"1124696640","full_name":"kayas881/comfyui-kaggle","owner":"kayas881","description":"Free ComfyUI notebook for Kaggle with GPU support","archived":false,"fork":false,"pushed_at":"2025-12-29T13:10:31.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-01T15:09:52.103Z","etag":null,"topics":["comfyui","comfyui-manager","comfyui-workflow","google-collab","kaggle","kaggle-notebook"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kayas881.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-29T13:07:53.000Z","updated_at":"2025-12-29T14:42:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kayas881/comfyui-kaggle","commit_stats":null,"previous_names":["kayas881/comfyui-kaggle"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kayas881/comfyui-kaggle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayas881%2Fcomfyui-kaggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayas881%2Fcomfyui-kaggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayas881%2Fcomfyui-kaggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayas881%2Fcomfyui-kaggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kayas881","download_url":"https://codeload.github.com/kayas881/comfyui-kaggle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayas881%2Fcomfyui-kaggle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28247278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2026-01-08T02:00:06.591Z","response_time":241,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comfyui","comfyui-manager","comfyui-workflow","google-collab","kaggle","kaggle-notebook"],"created_at":"2026-01-08T18:00:41.498Z","updated_at":"2026-01-08T18:02:35.108Z","avatar_url":"https://github.com/kayas881.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ComfyUI on Kaggle - Universal Workflow Runner\n\nRun **any** ComfyUI workflow on Kaggle's free GPU (Tesla T4 with 15GB VRAM) using this notebook!\n\n## 🚀 Quick Start\n\n1. Upload the notebook to Kaggle\n2. Enable GPU: **Settings → Accelerator → GPU T4 x2**\n3. Enable Internet: **Settings → Internet → On**\n4. Run all cells\n5. Access ComfyUI through the Pinggy URL (printed after Cell 3)\n\n## 📦 What's Included\n\nThis notebook provides:\n- ✅ Full ComfyUI installation with Manager\n- ✅ Storage optimization (uses `/tmp` for large files)\n- ✅ Public URL via Pinggy tunnel (no ngrok needed)\n- ✅ Support for **any workflow** - not limited to specific models!\n\n## 🎯 Using Your Own Workflows\n\n### Default Setup (Wan 2.1 Chrono Edit)\nThe notebook comes pre-configured with Wan 2.1 models as an example, but you can easily swap these for any models you need.\n\n### Customizing Models (Cell 4)\n\n**Cell 4** is where model downloads happen. Here's how to modify it for your workflow:\n\n#### 1. Identify Your Model Requirements\nFirst, check what models your ComfyUI workflow needs. Common model types:\n- `diffusion_models/` - Main models (SD1.5, SDXL, Flux, etc.)\n- `text_encoders/` - CLIP, T5, etc.\n- `vae/` - VAE models\n- `loras/` - LoRA files\n- `clip_vision/` - CLIP vision models\n- `controlnet/` - ControlNet models\n- `upscale_models/` - Upscalers (ESRGAN, etc.)\n\n#### 2. Find Model URLs on Hugging Face\nMost models are hosted on Hugging Face. Get direct download links:\n```\nhttps://huggingface.co/[org]/[repo]/resolve/main/[file].safetensors\n```\n\n#### 3. Modify Cell 4\nReplace the `downloads` list with your models:\n\n```python\n# Example: SDXL Workflow\ndownloads = [\n    # SDXL Base Model\n    (\"https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors\",\n     f\"{DIRS['diffusion_models']}/sd_xl_base_1.0.safetensors\"),\n    \n    # SDXL VAE\n    (\"https://huggingface.co/stabilityai/sdxl-vae/resolve/main/sdxl_vae.safetensors\",\n     f\"{DIRS['vae']}/sdxl_vae.safetensors\"),\n    \n    # Your favorite LoRA\n    (\"https://huggingface.co/your-org/your-lora/resolve/main/lora.safetensors\",\n     f\"{DIRS['loras']}/your_lora.safetensors\"),\n]\n```\n\n#### 4. Add More Directories If Needed\nIf your workflow needs controlnet or upscale models:\n\n```python\nDIRS = {\n    \"text_encoders\": f\"{BASE}/text_encoders\",\n    \"clip_vision\": f\"{BASE}/clip_vision\",\n    \"loras\": f\"{BASE}/loras\",\n    \"diffusion_models\": f\"{BASE}/diffusion_models\",\n    \"vae\": f\"{BASE}/vae\",\n    \"controlnet\": f\"{BASE}/controlnet\",      # Add this\n    \"upscale_models\": f\"{BASE}/upscale_models\",  # Add this\n}\n```\n\nThen add downloads for those directories:\n\n```python\ndownloads = [\n    # ... your other models ...\n    \n    # ControlNet\n    (\"https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11p_sd15_canny.pth\",\n     f\"{DIRS['controlnet']}/control_v11p_sd15_canny.pth\"),\n    \n    # Upscaler\n    (\"https://huggingface.co/ai-forever/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth\",\n     f\"{DIRS['upscale_models']}/RealESRGAN_x4.pth\"),\n]\n```\n\n## 💾 Storage Notes\n\n- Kaggle provides ~73GB disk space, but most is in `/tmp`\n- The notebook automatically symlinks `models/`, `input/`, and `output/` to `/tmp`\n- Large models (30GB+) work fine with this setup\n- Downloads resume automatically if interrupted\n\n## 🔧 Troubleshooting\n\n### \"Out of VRAM\" errors\n- T4 has 15GB VRAM - some huge models may not fit\n- Try enabling `--lowvram` in Cell 3 if needed\n\n### Models not loading\n- Check the Hugging Face URL is correct\n- Ensure the file path in Cell 4 matches the model type\n- Look at ComfyUI console output for missing files\n\n### Pinggy URL expires\n- Pinggy free tier gives you a new URL each session\n- URL changes every time you restart the notebook\n- For permanent URLs, consider ngrok or paid Pinggy\n\n## 📝 Tips\n\n- **Save your workflow**: Download your workflow JSON before closing Kaggle\n- **Upload images**: Use the ComfyUI upload button to add input images\n- **Download outputs**: Generated images are in the output folder\n- **Session limit**: Kaggle sessions last ~9 hours max\n\n## 🆘 Need Help?\n\n1. Check ComfyUI Manager for missing nodes\n2. Review the console output for error messages  \n3. Verify your model downloads completed (check file sizes)\n4. Make sure your workflow is compatible with the models you downloaded\n\n---\n\n**Note**: This notebook uses Pinggy for tunneling (no account required). The free tier provides temporary URLs. For production use, consider setting up your own tunnel solution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayas881%2Fcomfyui-kaggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayas881%2Fcomfyui-kaggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayas881%2Fcomfyui-kaggle/lists"}