MCPcopy Create free account
hub / github.com/Stability-AI/stable-fast-3d / load

Method load

__init__.py:33–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 return {"required": {}}
32
33 def load(self):
34 device = comfy.model_management.get_torch_device()
35 model = SF3D.from_pretrained(
36 SF3D_MODEL_NAME,
37 config_name="config.yaml",
38 weight_name="model.safetensors",
39 )
40 model.to(device)
41 model.eval()
42
43 return (model,)
44
45
46class StableFast3DPreview:

Callers 2

from_pretrainedMethod · 0.80
__init__Method · 0.80

Calls 1

from_pretrainedMethod · 0.80

Tested by

no test coverage detected