"""Backend Trellis (Microsoft, MIT code). STUB. Para implementar: clonar github.com/microsoft/TRELLIS a sources/, instalar deps (kaolin + custom CUDA), cargar pipeline structured latents. """ from __future__ import annotations from typing import Any, Dict from PIL import Image class Handle: def infer(self, image: Image.Image, cfg: Dict[str, Any]) -> bytes: raise NotImplementedError( "trellis backend pendiente. Ver notebook 04_smoke_trellis.ipynb" ) def close(self) -> None: # pragma: no cover return def load() -> Handle: return Handle()