Files
PozzettiAndrea aa09b4aae0 Add auto attention backend: sage > flash_attn > sdpa
Auto-detect best available attention backend by default.
Priority: sage (v3 Blackwell, v2 Ampere+) > flash_attn > sdpa.
Users can still force a specific backend from the dropdown.
2026-02-15 18:42:56 +01:00

235 lines
4.3 KiB
JSON

{
"id": "a792b853-e7f5-400c-9969-3bfef3f29e37",
"revision": 0,
"last_node_id": 14,
"last_link_id": 19,
"nodes": [
{
"id": 2,
"type": "LoadImage",
"pos": [
-118.21271306818176,
220.1200284090909
],
"size": [
274.080078125,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
18
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.68",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"bridge.jpg",
"image"
]
},
{
"id": 14,
"type": "DepthAnything_V3",
"pos": [
350.9524538459722,
144.64394779650195
],
"size": [
272.05859375,
250
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "da3_model",
"type": "DA3MODEL",
"link": 17
},
{
"name": "images",
"type": "IMAGE",
"link": 18
},
{
"name": "camera_params",
"shape": 7,
"type": "CAMERA_PARAMS",
"link": null
}
],
"outputs": [
{
"name": "depth",
"type": "IMAGE",
"links": [
19
]
},
{
"name": "confidence",
"type": "IMAGE",
"links": null
},
{
"name": "ray_origin",
"type": "IMAGE",
"links": null
},
{
"name": "ray_direction",
"type": "IMAGE",
"links": null
},
{
"name": "extrinsics",
"type": "STRING",
"links": null
},
{
"name": "intrinsics",
"type": "STRING",
"links": null
},
{
"name": "sky_mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "ComfyUI-DepthAnythingV3",
"ver": "0bb483bb0db9bf0fdae73117fec75ea96dc45b7c",
"Node name for S&R": "DepthAnything_V3"
},
"widgets_values": [
"V2-Style",
"resize",
true,
false
]
},
{
"id": 4,
"type": "PreviewImage",
"pos": [
723.814333433443,
97.64063596724947
],
"size": [
447.3669938016528,
258
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 19
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.68",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 3,
"type": "DownloadAndLoadDepthAnythingV3Model",
"pos": [
-174.13971790690474,
61.67140553461144
],
"size": [
388.65,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "da3_model",
"type": "DA3MODEL",
"links": [
17
]
}
],
"properties": {
"cnr_id": "ComfyUI-DepthAnythingV3",
"ver": "f900962397f5dd3df02d3caba1e99b0cfe80c25a",
"Node name for S&R": "DownloadAndLoadDepthAnythingV3Model",
"aux_id": "PozzettiAndrea/ComfyUI-DepthAnythingV3"
},
"widgets_values": [
"da3_large.safetensors",
"auto",
"auto",
"cpu_offload"
]
}
],
"links": [
[
17,
3,
0,
14,
0,
"DA3MODEL"
],
[
18,
2,
0,
14,
1,
"IMAGE"
],
[
19,
14,
0,
4,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.1167815779424761,
"offset": [
363.876300095911,
167.39350339094614
]
},
"frontendVersion": "1.28.8"
},
"version": 0.4
}