[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111285":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":13,"forks30d":13,"starsTrendScore":17,"compositeScore":18,"rankGlobal":8,"rankLanguage":8,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":8,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":13,"starSnapshotCount":13,"syncStatus":12,"lastSyncTime":28,"discoverSource":29},111285,"devzonex-strata-kaggle","iAmAjayTeli\u002Fdevzonex-strata-kaggle","iAmAjayTeli",null,"Python",68,37,2,0,1,3,7,4,45.9,"Other",false,"main",true,[],"2026-10-26 11:35:27","2026-11-23 08:04:17","# 🚀 Strata on Kaggle — by DevZoneX\n\n[![Tests](https:\u002F\u002Fgithub.com\u002FiAmAjayTeli\u002Fdevzonex-strata-kaggle\u002Factions\u002Fworkflows\u002Ftests.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FiAmAjayTeli\u002Fdevzonex-strata-kaggle\u002Factions\u002Fworkflows\u002Ftests.yml)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-green.svg)](LICENSE)\n![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-Kaggle%20GPU-20BEFF)\n![Status](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstatus-experimental-orange)\n[![Open in Kaggle](https:\u002F\u002Fkaggle.com\u002Fstatic\u002Fimages\u002Fopen-in-kaggle.svg)](https:\u002F\u002Fkaggle.com\u002Fkernels\u002Fwelcome?src=https:\u002F\u002Fgithub.com\u002FiAmAjayTeli\u002Fdevzonex-strata-kaggle\u002Fblob\u002Fmain\u002Fnotebooks\u002FStrata_Kaggle_Launcher.ipynb)\n\n**Run a Strata-supported model on a Kaggle GPU, cache the model and Strata runtime in your own private Kaggle Datasets, and connect OpenCode Desktop through a temporary authenticated HTTPS tunnel.**\n\nThis project turns our Strata + Qwen3.8-Flash-Next Gyro-S setup into a guided notebook. The default example is `gyro \u002F gyro-s`; other choices must be supported by the installed Strata release.\n\n## 🧠 Which model are we running, and why is it hard to run?\n\nThe default example is **Qwen3.8-Flash-Next — Gyro-S**, using Strata's `gyro \u002F gyro-s` model family and variant. It is a large **125-billion-parameter sparse Mixture-of-Experts (MoE) model**, with about **6 billion parameters active for each token**. “6B active” does **not** mean the whole model only occupies the memory of a 6B model: its full weights and supporting data still need to be stored and accessed.\n\nSources: [Strata model guide](https:\u002F\u002Fgithub.com\u002FNiko1221\u002FStrata\u002Fblob\u002Fmain\u002Fdocs\u002FMODELS.md) · [Gyro quantization details](https:\u002F\u002Fgithub.com\u002FNiko1221\u002FStrata\u002Fblob\u002Fmain\u002Fdocs\u002FGYRO.md) · [NVIDIA's Qwen3.8-Flash-Next architecture overview](https:\u002F\u002Fdocs.nvidia.com\u002Fdynamo\u002Fdev\u002Frecipes\u002Fqwen-3-8-flash-next).\n\n### Model size and memory at a glance\n\n| Model \u002F format | Download or disk size | Estimated model memory (RAM + VRAM) |\n|---|---:|---:|\n| **Gyro-S (our default)** | **58.5 GB** for the main model file | **27.6 GB combined** |\n| Gyro-M | 92.0 GB | 35 GB combined |\n| Qwen3.8-Flash-Next Q2_0 (standard Strata option) | varies by pack\u002Fsource | 37.6 GB combined |\n| Qwen3.8-Flash-Next IQ2_XS | varies by pack\u002Fsource | 39.2 GB combined |\n| Qwen3.8-Flash-Next IQ3_XXS | varies by pack\u002Fsource | 47.0 GB combined |\n| Qwen3.8-Flash-Next IQ3_S | varies by pack\u002Fsource | 54.8 GB combined |\n| Higher 4–8-bit Unsloth formats | roughly 94 GB to 136 GB of files, depending on format | roughly 72 GB to 136 GB combined, depending on format |\n\nThese are upstream estimates for the **model weights**, not a promise that every format fits every machine. Leave memory for the operating system and other processes. Actual needs depend on context length, engine\u002Fcache settings, and which quantization you select. Gyro-S is the smallest option and trades some output quality for lower memory use. See the [official Strata model guide](https:\u002F\u002Fgithub.com\u002FNiko1221\u002FStrata\u002Fblob\u002Fmain\u002Fdocs\u002FMODELS.md) for updated estimates and compatibility.\n\n### What hardware are we using in this project?\n\nOur working Kaggle setup used **2 × NVIDIA Tesla T4 GPUs (about 15 GB VRAM each, around 30 GB total VRAM exposed)** plus roughly **31 GB system RAM**. That is a specific observed Kaggle session, not a guarantee that every account will receive the same GPU or RAM.\n\nWe use **Strata + the Gyro-S quantization**, rather than trying to load a larger, less-compressed version entirely into GPU memory. Strata manages expert weights across available VRAM and system memory; Gyro-S also keeps its large n-gram\u002FPLE table on disk and reads relevant data as needed. That is why a model with 125B total parameters can be practical on this setup even though it would not fit as a conventional full-weight GPU-only load. The trade-off is that SSD access and memory pressure can reduce speed, and the Gyro-S quantization has lower quality than larger variants.\n\nOur model cache is about **79.94 GiB** because it includes more than the headline GGUF file: model data, expert\u002Fdense pack files, tokenizer\u002Fsupport assets, and a path manifest. The separate Strata runtime cache is about **1.3 GiB** in our current setup.\n\n### Why does Kaggle still show “Downloaded” after I attach the dataset?\n\n**Add Input makes the dataset available to the notebook; it does not teleport 80 GiB onto the new runtime.** Kaggle still has to make those attached dataset files available to the session, and this notebook copies the needed files from the read-only `\u002Fkaggle\u002Finput` mount into local `\u002Froot\u002Fstrata-local` so Strata can use a local model path. The progress such as `14\u002F16 files: 4.5 GiB\u002F79.94 GiB` is dataset transfer\u002Frestore progress, not a fresh download of the original model from its source.\n\nThe benefit is **persistence and reuse**: future sessions can restore from your Kaggle Dataset instead of fetching the model from the original host and downloading the engine again. The restore still moves data from Kaggle's dataset storage into a fresh runtime, so it can take several minutes. The runtime cache is much smaller; the model cache is the large transfer.\n\n\n> [!WARNING]\n> **Experimental project.** The complete first-run and fresh-session workflow still needs validation on more Kaggle accounts and GPU configurations. Review the Strata launch plan before approving large downloads. Kaggle availability, quotas, GPU types, model licenses, and Strata compatibility vary.\n\n## ✨ What it does\n\n| Stage | What happens |\n|---|---|\n| **1 · Preflight** | Checks Kaggle Secrets, GPU visibility, Internet, attached datasets, and Strata version. |\n| **2 · Choose a model** | Select a Strata-supported family\u002Fvariant, context, vision option, and GPU list. |\n| **3 · Restore or install** | Restores your private caches when attached; otherwise installs Strata and lets it fetch compatible files. |\n| **4 · Review plan** | Streams Strata's plan output into the notebook so you can review compatibility before downloading large files. |\n| **5 · Start securely** | Streams Strata launch logs into the notebook, starts Cloudflare access mode, and creates\u002Freuses a temporary Quick Tunnel. |\n| **6 · Verify** | Checks API-key enforcement, model listing, health, and a short authenticated generation. |\n| **7 · Cache** | Optionally uploads model files and the Strata terminal\u002Fengine into separate private datasets you own. |\n| **8 · OpenCode** | Prints the temporary HTTPS base URL, model ID, and provider configuration snippet. |\n| **9 · Optional supervision** | Runs a six-hour health-monitoring cell that checks Strata and the tunnel authentication boundary. |\n\n## 🧭 Quick links\n\n[![Open in Kaggle](https:\u002F\u002Fkaggle.com\u002Fstatic\u002Fimages\u002Fopen-in-kaggle.svg)](https:\u002F\u002Fkaggle.com\u002Fkernels\u002Fwelcome?src=https:\u002F\u002Fgithub.com\u002FiAmAjayTeli\u002Fdevzonex-strata-kaggle\u002Fblob\u002Fmain\u002Fnotebooks\u002FStrata_Kaggle_Launcher.ipynb)\n\nIf the badge does not open the notebook import flow, go to [Kaggle Notebooks](https:\u002F\u002Fwww.kaggle.com\u002Fnotebooks\u002Fwelcome), choose **Load from URL**, and paste:\n\n```text\nhttps:\u002F\u002Fgithub.com\u002FiAmAjayTeli\u002Fdevzonex-strata-kaggle\u002Fblob\u002Fmain\u002Fnotebooks\u002FStrata_Kaggle_Launcher.ipynb\n```\n\nOpening the notebook imports its code; it does **not** grant access to anyone else's private datasets or secrets.\n\n- **[Open the Kaggle launcher notebook](notebooks\u002FStrata_Kaggle_Launcher.ipynb)**\n- [Kaggle setup checklist](docs\u002Fkaggle-setup.md)\n- [OpenCode connection guide](docs\u002Fopencode-setup.md)\n- [Troubleshooting](docs\u002Ftroubleshooting.md)\n- [Security policy](SECURITY.md)\n- [Strata official setup guide](https:\u002F\u002Fgithub.com\u002FNiko1221\u002FStrata\u002Fblob\u002Fmain\u002Fdocs\u002FAI_SETUP.md)\n- [Strata model compatibility](https:\u002F\u002Fgithub.com\u002FNiko1221\u002FStrata\u002Fblob\u002Fmain\u002Fdocs\u002FMODELS.md)\n\n---\n\n## 🗺️ Visual walkthrough\n\n![Strata on Kaggle workflow overview](assets\u002Fworkflow-overview.svg)\n\n![Summary of the manually observed first-run result](assets\u002Fobserved-first-run.svg)\n\nThese are **workflow\u002Fresults illustrations**, not raw UI screenshots. The screenshots shared during setup were used to ground the run summary below.\n\n## ✅ Verification status\n\n### Manually observed as working\n\n- **First launch:** Strata reported `Strata is serving` for `qwen3.8-flash-next-gyro-gyro-s`; the local health endpoint reported `\"loaded\": true`.\n- **Hardware:** the dashboard showed two Tesla T4 GPUs with approximately 29 GiB \u002F 30 GiB VRAM allocated.\n- **Remote tunnel and API security:** Cloudflare Quick Tunnel connected; the public API rejected a request without a key, and the authenticated API test succeeded.\n- **Model cache upload:** Kaggle showed a private Version 1 model dataset of approximately 85.83 GB with the model and support files.\n- **Runtime cache upload:** Kaggle showed a private Version 2 runtime dataset of approximately 1.36 GB with the archive, checksum, and manifest.\n- **Fresh-session restore and OpenCode:** the maintainer reports that, after attaching the private model\u002Fruntime datasets in a fresh Kaggle run, Strata launched and OpenCode connected and returned responses successfully.\n- **Live progress:** Copy-mode model restoration reports live bytes\u002FGiB restored, percentage, completed files, active copies, throughput, and elapsed time. Strata launch and Kaggle upload helpers also stream command output and print periodic status when a process is quiet.\n\n### Still to validate across more environments\n\nThe main end-to-end workflow has been manually verified for the default `gyro \u002F gyro-s` setup. The full six-hour monitoring period has not yet been confirmed to complete uninterrupted, and other model families, GPU types, Strata versions, and Kaggle account configurations need separate tests. The project remains experimental for those broader environments.\n\n## ✅ Before you start\n\nYou need:\n\n- A Kaggle account, Internet access, and an available compatible GPU accelerator.\n- A Kaggle API token stored as a notebook Secret.\n- Your exact Kaggle username.\n- Enough session time, local disk space, and dataset quota for the model and supporting files.\n- A model whose license permits downloading and use. To cache it, the license must also allow a private copy.\n- OpenCode Desktop if you want to use the model through OpenCode on Windows.\n\n### Model compatibility matters\n\nThis is **not** a universal Hugging Face model runner. Strata supports particular families, variants, formats, and hardware combinations. A model being downloadable does not mean Strata can run it. Use the official Strata compatibility list and inspect the launch plan before proceeding.\n\nThe default tested example is:\n\n```python\nMODEL_FAMILY = \"gyro\"\nMODEL_VARIANT = \"gyro-s\"\nCONTEXT = \"32k\"\nVISION = \"off\"\n```\n\nStart with text-only mode.\n\n---\n\n# 🧑‍💻 First-time setup — full walkthrough\n\n## 1. Open the notebook in Kaggle\n\n1. Open [`notebooks\u002FStrata_Kaggle_Launcher.ipynb`](notebooks\u002FStrata_Kaggle_Launcher.ipynb) on GitHub.\n2. Download the `.ipynb` file and use Kaggle's notebook import flow, or create a blank notebook and copy the cells in order.\n3. Enable **Internet** and select an available NVIDIA GPU accelerator.\n4. If Kaggle requests a restart after changing settings, restart the notebook before running any cells.\n\nGPU availability, session length, and quotas depend on Kaggle's current policies and your account.\n\n## 2. Add Kaggle API credentials as a Secret\n\n1. Create an API token using Kaggle's current account settings.\n2. In the notebook, open **Add-ons → Secrets**.\n3. Create a secret named exactly `KAGGLE_API_TOKEN`.\n4. Paste the token into the secret value and enable access for this notebook.\n5. Never put the token in a code cell, output, GitHub file, screenshot, or chat.\n\nThe notebook reads the token through Kaggle's `UserSecretsClient` and stores it in a restricted temporary config path for CLI commands.\n\n## 3. Configure the model and your cache names\n\nIn the **USER CONFIGURATION** cell, edit at least:\n\n```python\nKAGGLE_USERNAME = \"your-kaggle-username\"\nMODEL_FAMILY = \"gyro\"\nMODEL_VARIANT = \"gyro-s\"\nCONTEXT = \"32k\"\nVISION = \"off\"\nGPU_IDS = \"\"  # blank = auto-detect visible GPUs\nMODEL_DATA_DIR = \"\u002Froot\u002Fstrata-local\"\n\n# \"copy\" uses extra local disk\u002Ftime but may improve local reads (default for this tutorial).\n# Use \"symlink\" to avoid the second local copy; input-mount reads may be slower.\nMODEL_RESTORE_MODE = \"copy\"\n\nUPLOAD_CACHES = True\nI_CONFIRM_MODEL_LICENSE_AND_PRIVATE_STORAGE = False\nFORCE_UPDATE_MODEL_CACHE = False\nFORCE_UPDATE_RUNTIME_CACHE = False\n```\n\n**Replace the placeholder Kaggle username.** Dataset names are derived from your configured username and model family\u002Fvariant.\n\nBy default the notebook plans to use these separate datasets:\n\n- `\u003Cyour-username>\u002Fstrata-model-\u003Cfamily>-\u003Cvariant>`\n- `\u003Cyour-username>\u002Fstrata-runtime-cache`\n\nThese are user-owned caches, not global datasets shared by the project owner. Attach only datasets you own or have been granted access to.\n\n### Confirm the model license before caching\n\nKeep `I_CONFIRM_MODEL_LICENSE_AND_PRIVATE_STORAGE = False` until you have checked that the model's license\u002Fterms permit making and storing a private copy in Kaggle. If the flag remains false, the model upload is skipped. Do not upload model weights to GitHub.\n\n## 4. Run the notebook cells in order\n\n1. **Load helpers and credentials** — clones the repository's scripts and reads your Kaggle Secret.\n2. **Restore caches or install Strata** — uses attached private datasets when available; installs Strata if not.\n3. **Review plan** — inspect Strata's plan and confirm the selected model, engine, context, and GPU setup before downloading.\n4. **Launch Strata** — fetches missing compatible model\u002Fengine files on a first run.\n5. **Tunnel and health check** — checks local health and API-key protection, starts a Quick Tunnel if Strata hasn't provided a URL, and verifies the public endpoint.\n6. **Authenticated generation test** — confirms chat completions work.\n7. **Upload private caches** — stores the model and runtime separately, if enabled and permitted.\n8. **Print OpenCode config** — provides the current URL\u002Fmodel\u002Fprovider snippet.\n\nBefore the endpoint is considered ready, the checks should establish:\n\n- `\u002Fhealth` reports the model loaded and API-key protection enabled.\n- An unauthenticated `\u002Fv1\u002Fmodels` request returns `401` or `403`.\n- An authenticated model listing succeeds.\n- An authenticated `\u002Fv1\u002Fchat\u002Fcompletions` request returns text.\n\nIf an unauthenticated public request succeeds with HTTP `200`, stop the tunnel and fix authentication before continuing.\n\n## 5. Wait for private dataset processing\n\n| Cache dataset | What's saved | Purpose |\n|---|---|---|\n| Model cache | Model weights\u002Fsupport files plus path-and-size manifest | Avoid re-downloading model assets from their original source |\n| Runtime cache | Strata terminal, engine components, manifest\u002Fchecksum, and optionally Cloudflare Tunnel binary | Avoid re-downloading the same compatible runtime build |\n\nThe notebook creates datasets without a public-visibility flag. Verify each dataset's visibility and file list on Kaggle. “Upload successful” means the files transferred; it does not necessarily mean Kaggle finished processing the dataset.\n\nLarge uploads may be rejected due to account limits, disk space, network issues, or model license terms.\n\n---\n\n# ⏱️ Keep Strata running for six hours\n\nAfter the launch, tunnel, and authenticated API test succeed, the notebook contains an **optional six-hour supervision cell**. Run it when you want to keep the notebook actively monitoring the actual service. It checks:\n\n- the local Strata health response,\n- that the model remains loaded and API-key protected,\n- periodically, that the public URL still rejects no-key requests.\n\nThis is a genuine health monitor, not a fake mouse\u002Fkeyboard keepalive. It does **not** override Kaggle's session or GPU quota limits and cannot guarantee uptime. Kaggle's published docs list up to 12 hours for CPU\u002FGPU notebook executions and a shorter time for TPU sessions; limits can change. Stop the monitor when you finish.\n\nFor long executions, Kaggle's **Save Version → Save & Run All** workflow can run in the background until the platform's runtime cap. However, the full notebook must finish or reach its monitoring cell within the permitted session, and you must be able to retrieve the emitted tunnel URL. Do not treat a free notebook as an always-on production server.\n\n---\n\n# 🔁 Restore on a later Kaggle session\n\n1. Reopen the notebook and enable Internet\u002FGPU.\n2. Use **Add Input** to attach your own model and runtime cache datasets.\n3. Enable the `KAGGLE_API_TOKEN` Secret for this notebook.\n4. Keep the model family\u002Fvariant and username consistent with your cache names.\n5. Run the notebook from top to bottom.\n\nThe model dataset uses a `manifest.json`; the runtime dataset contains `strata-runtime-cache.bin`, `strata-runtime-cache.bin.sha256`, and `runtime-manifest.json`.\n\nThe notebook verifies the manifest and file sizes, then uses the `MODEL_RESTORE_MODE` option:\n\n- `\"copy\"` (default for this tutorial): copies the model files into `\u002Froot\u002Fstrata-local`. This takes extra restore time and disk space, but may provide faster local file access.\n- `\"symlink\"`: creates links in `\u002Froot\u002Fstrata-local` to the attached read-only Kaggle dataset, avoiding the second full local copy. Reads from the input mount may be slower.\n\n**Why Add Input can still show a download progress bar:** Kaggle must make the selected dataset files available to the fresh runtime; this is a transfer from your Kaggle Dataset storage into that notebook session, not the same as downloading the model again from its original model host. No notebook option can eliminate this input-staging step.\n\nWith `MODEL_RESTORE_MODE = \"copy\"` (the notebook default), the helper copies files into `\u002Froot\u002Fstrata-local`, using extra restore time and disk space but potentially improving local-read performance. With `MODEL_RESTORE_MODE = \"symlink\"`, the helper creates links to the attached read-only `\u002Fkaggle\u002Finput` files and avoids the second full local copy, but reading from the mount may be slower. In either mode, wait for Kaggle's input staging and the restore cell to finish before launching Strata. The goal is to avoid downloading the model from its original host again—not to eliminate every transfer.\n\nRuntime caches may not be compatible after a Strata, engine, OS, CUDA, or GPU change. Review the plan again and allow Strata to fetch a compatible component when needed.\n\n---\n\n# 🖥️ Connect OpenCode Desktop\n\n1. Copy the **current** HTTPS URL printed by the notebook.\n2. In the Kaggle shell, retrieve the API key privately with `strata launch --show-key`. Do not include it in notebook output or chat.\n3. On Windows, save it locally as `%USERPROFILE%\\.config\\opencode\\strata-key.txt`.\n4. Merge the printed provider snippet into the existing top-level `providers` object in `opencode.jsonc`. Don't overwrite other provider or MCP settings.\n5. Set the model to the provider\u002Fmodel ID printed by the notebook, restart OpenCode, and test in a fresh session.\n\nKeep the Kaggle runtime and tunnel running while using OpenCode. Quick Tunnel URLs are temporary, public URLs, and can change on restart. Anyone who obtains a URL can reach the endpoint, so API-key enforcement is required. Update the OpenCode base URL after every tunnel change.\n\n---\n\n## 🔐 Security and licensing\n\n- Never commit API tokens, local OpenCode keys, Kaggle credentials, model weights, runtime archives, or saved notebook outputs containing secrets.\n- Keep model\u002Fruntime datasets private and check their visibility in the Kaggle UI.\n- Verify API-key protection before using a public tunnel; stop the tunnel if the no-key request isn't rejected.\n- Stop Strata and Cloudflare when you're finished. This is temporary experimental hosting, not production infrastructure.\n- Check the model terms before making a private cache copy.\n- The repository's MIT license applies only to the original project code\u002Fdocs; third-party software and model files retain their own licenses.\n\n## 🛠️ Troubleshooting\n\n| Problem | What to check |\n|---|---|\n| No GPU | Enable the accelerator and restart if requested; check `nvidia-smi`. |\n| Secret missing | Confirm `KAGGLE_API_TOKEN` spelling and notebook access. Never print the value. |\n| Dataset missing | Attach it through Add Input and verify username\u002Fslug. |\n| Kaggle API 403 | Check token\u002Faccount\u002Fownership and whether dataset processing has completed; don't immediately repeat a 1+ GB upload. |\n| Model unsupported | Choose a family\u002Fvariant supported by the installed Strata release; review the launch plan. |\n| Launch cell shows only the first status line | The launch helper used by an already-running cell may buffer output until Strata exits. The latest helper streams logs and progress live; the notebook's helper-load cell now pulls the latest repository version and reloads the module. Rerun that cell before starting a new launch. \n| Cache upload shows only “Preparing … files” | The currently running notebook may still have the older helper imported, which buffers Kaggle CLI output. Don't interrupt an active upload. The latest helper streams Kaggle upload progress and emits a 30-second heartbeat if the CLI is silent; rerun the helper-load cell before another cache upload. |\n| Model download slow | Check local disk space, network, model size, and remaining session time. |\n| Cache upload skipped | Check the explicit model-license confirmation and upload logs. |\n| Runtime cache fails with `Text file busy` | A Strata Python executable is still in use while restoring. Rerun the helper-loading cell to get the latest version; it reuses a matching installed runtime or stops Strata and extracts to staging before replacing files. Then rerun the restore cell. |\n| Tunnel unavailable | Confirm local health, `cloudflared` is running, and the URL is current. |\n| OpenCode 401 | Check the local key file and provider config without printing the key. |\n| OpenCode hangs | Test authenticated `\u002Fv1\u002Fmodels` and `\u002Fv1\u002Fchat\u002Fcompletions`, inspect logs, and check model context limits. |\n\n## 🧪 Development and tests\n\nRun the helper tests locally:\n\n```bash\npython -m pip install --upgrade pytest\npython -m compileall -q scripts tests\npython -m pytest -q\n```\n\nUnit tests do not replace a clean Kaggle integration test. Validate first run, private uploads, fresh-session restore, no-key rejection, authenticated generation, six-hour monitoring, and OpenCode connectivity.\n\n## 🤝 Contributing\n\nPlease report the Strata version, GPU, whether it was first run or cache restore, and the error with secrets removed. Never attach model files, credentials, or sensitive notebook output to issues.\n\n## 📄 License\n\nOriginal project code and documentation: [MIT](LICENSE). Third-party components and models retain their respective licenses.\n","这是一个面向 Kaggle 平台的轻量级部署工具，用于在 Kaggle GPU 环境中运行 Strata 框架支持的稀疏 MoE 大语言模型（如 Qwen3.8-Flash-Next Gyro-S）。项目提供预配置 Notebook，自动处理模型与 Strata 运行时的下载、缓存至私有 Kaggle Dataset，并通过临时 HTTPS 隧道连接 OpenCode Desktop。核心特点是适配 Kaggle 限制性环境（如无持久存储、需显式缓存）、支持大模型量化加载（最小内存占用约 27.6 GB），并聚焦于 Gyro 系列高效稀疏推理。适用于在资源受限但需 GPU 加速的在线环境中快速验证 MoE 模型推理、教学演示或轻量级研究实验。","2026-11-24 04:40:40","CREATED_QUERY"]