Remote runs exec the repo-relative manifest python via bash with no
existence check ('vendor/trellis2-mlx/.venv/bin/python: No such file'),
killing trellis2_mlx on the validated m1 lane (its fork lives at
~/trellis2-mlx). Both run.py launchers are stdlib-only and already
resolve the per-box fork checkout + venv themselves — run them on the
server/system python instead. trellis_mac/run.py now resolves its vendor
venv explicitly (sys.executable was only correct under the old pin).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
83 lines
2.3 KiB
JSON
83 lines
2.3 KiB
JSON
{
|
|
"id": "trellis_mac",
|
|
"name": "TRELLIS.2 (local, SOTA)",
|
|
"category": "mesh-gen",
|
|
"description": "Image → GLB + baked PBR locally via the TRELLIS.2 MPS/Metal port (best open-weights quality on Apple Silicon, ~3-5 min/gen). Weights need a one-time HuggingFace login (facebook/dinov3-vitl16, briaai/RMBG-2.0). Note: 1536 is upstream-only; Mac port maxes at 1024_cascade.",
|
|
"accepts": [
|
|
"image"
|
|
],
|
|
"produces": [
|
|
"model"
|
|
],
|
|
"resources": "gpu",
|
|
"entry": "run.py",
|
|
"params_schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"pipeline_type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"512",
|
|
"1024",
|
|
"1024_cascade"
|
|
],
|
|
"default": "1024",
|
|
"description": "Resolution tier (1024_cascade = highest quality on Mac)"
|
|
},
|
|
"texture_size": {
|
|
"type": "integer",
|
|
"enum": [
|
|
512,
|
|
1024,
|
|
2048
|
|
],
|
|
"default": 2048,
|
|
"description": "Baked texture resolution"
|
|
},
|
|
"seed": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"description": "Random seed"
|
|
},
|
|
"no_texture": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Geometry only (skip texture stage, much faster)"
|
|
},
|
|
"max_bake_faces": {
|
|
"type": "integer",
|
|
"enum": [
|
|
200000,
|
|
500000,
|
|
1000000
|
|
],
|
|
"default": 500000,
|
|
"description": "Pre-bake simplify cap. 500k ≈ fal parity, verified crash-free on the M3 Ultra (2026-07-22); drop to 200k on laptops (mtlbvh guard)"
|
|
},
|
|
"steps": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"description": "Sampler steps override for all 3 flow phases (0 = pipeline default, 12)"
|
|
},
|
|
"baker": {
|
|
"type": "string",
|
|
"enum": [
|
|
"",
|
|
"vertex"
|
|
],
|
|
"default": "",
|
|
"description": "'vertex' = KDTree vertex-color bake (dark-patch workaround, no PBR maps)"
|
|
},
|
|
"alpha_mode": {
|
|
"type": "string",
|
|
"enum": [
|
|
"opaque",
|
|
"auto"
|
|
],
|
|
"default": "opaque",
|
|
"description": "opaque = force alphaMode OPAQUE in the GLB (fixes speckle-veil hair from noisy baked alpha); auto = keep o_voxel's BLEND detection for glassy subjects"
|
|
}
|
|
}
|
|
}
|
|
}
|