Migrate MeteorSketch to ZeroGPU and close its incident
MeteorSketch still behaves like a dedicated-GPU Space. Migrate /workspace/project so the same
Gradio app works in both the offline local-cpu and simulated zerogpu runtimes, then write the
remediation record to /workspace/output/result.json.
Preserve the public app.generate(image_path, strength) behavior and its deterministic image
result. A fresh import must load and place the tiny model once without running inference. Each
ZeroGPU render must perform its model compute in exactly one scheduled GPU entry and return a
plain, serializable CPU-side result; local CPU renders must use no scheduled GPU entry. Two
back-to-back requests in one imported process must reuse the module-level model.
Keep the two examples and their click-to-populate behavior. In particular, this must still be true
when GRADIO_CACHE_EXAMPLES=true and GRADIO_CACHE_MODE=lazy. Make the Space metadata and
dependency declaration consistent with the deployment notes as well.
The incident evidence and report schema are in /workspace/evidence. Resolve every finding listed
in report-contract.json, cite the required source anchors with hashes of the complete source
files, link each finding to a real top-level symbol in the migrated project, and include all four
runtime verification cases. The supplied probe shows one way to inspect a case, for example:
The vendored runtime shims, model package and weights, example images, evidence corpus, probe, and
existing dedicated-GPU test are fixed fixtures. Do not modify them. The finished task must run
offline; no hosted Space or real GPU is available.