Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(model-hunyuan3d): pull :latest before --cache-from so rebuilds reuse layers

nirholas55f219e054d1
diff --git a/workers/model-hunyuan3d/cloudbuild.yaml b/workers/model-hunyuan3d/cloudbuild.yaml
index 5e5be2612..bc4ec2d9b 100644
--- a/workers/model-hunyuan3d/cloudbuild.yaml
+++ b/workers/model-hunyuan3d/cloudbuild.yaml
@@ -17,6 +17,15 @@ substitutions:
_MAX_INSTANCES: "1"
steps:
+ # --cache-from only consults images already present on the builder — without
+ # this pull every rebuild recompiles the CUDA extensions (~35 min) from
+ # scratch and blows the build timeout. Best-effort: a missing :latest (first
+ # build) just skips the cache.
+ - id: pull-cache
+ name: gcr.io/cloud-builders/docker
+ entrypoint: bash
+ args: ['-c', 'docker pull ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/server:latest || exit 0']
+
- id: build
name: gcr.io/cloud-builders/docker
dir: workers/model-hunyuan3d