cog
b997ef86 - fix: static schema gen (#2948)

Commit
32 days ago
fix: static schema gen (#2948) * fix: schema gen casing / default null issues Signed-off-by: Mark Phelps <mphelps@cloudflare.com> * perf: install user packages before SDK in cog-base Dockerfile Reorder the cog-base-image Dockerfile layers so user python_packages (torch, diffusers, etc.) are installed before the cog SDK/coglet. This means changing the SDK wheel (via COG_SDK_WHEEL, --cog-ref, or version bumps) no longer invalidates the Docker cache for expensive user dependencies. Previously, an SDK change would force a full rebuild of multi-GB packages like torch. The non-cog-base-image path already had this ordering. Now both paths are consistent. * chore: temp override pip install Signed-off-by: Mark Phelps <mphelps@cloudflare.com> * chore: rm files Signed-off-by: Mark Phelps <mphelps@cloudflare.com> * chore: undo std gen changes Signed-off-by: Mark Phelps <mphelps@cloudflare.com> --------- Signed-off-by: Mark Phelps <mphelps@cloudflare.com>
Author
Parents
Loading