{
 "last_node_id": 8,
 "last_link_id": 6,
 "nodes": [
  {
   "id": 1,
   "type": "MarkdownNote",
   "pos": [
    0,
    -416.0
   ],
   "size": [
    640,
    246
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "**Needs in ComfyUI's `input` folder:** `example.png`\n\nSame model, three backends: auto (what fastforks picks on this machine), portable (plain PyTorch) and kernels (our CUDA or Metal kernels where there are any). The fourth entry of the backend dropdown, mlx, is the model's Apple MLX port (Apple silicon only): pick it in a copy of a branch on a Mac. Results should match; time and memory differ. Run the queue twice: the first run includes loading and compilation."
   ]
  },
  {
   "id": 2,
   "type": "LoadImage",
   "pos": [
    0.0,
    0.0
   ],
   "size": [
    300,
    340
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      1,
      3,
      5
     ],
     "slot_index": 0
    },
    {
     "name": "MASK",
     "type": "MASK",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "example.png",
    "image"
   ]
  },
  {
   "id": 3,
   "type": "FastforksDepth",
   "pos": [
    540.0,
    0.0
   ],
   "size": [
    330,
    230
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 1
    }
   ],
   "outputs": [
    {
     "name": "depth",
     "type": "IMAGE",
     "links": [
      2
     ],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "depth (fastforks), backend auto",
   "widgets_values": [
    "depth-anything-v2-s",
    "auto",
    "auto",
    1
   ]
  },
  {
   "id": 4,
   "type": "PreviewImage",
   "pos": [
    950.0,
    0.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 2
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 5,
   "type": "FastforksDepth",
   "pos": [
    540.0,
    420.0
   ],
   "size": [
    330,
    230
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 3
    }
   ],
   "outputs": [
    {
     "name": "depth",
     "type": "IMAGE",
     "links": [
      4
     ],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "depth (fastforks), backend portable",
   "widgets_values": [
    "depth-anything-v2-s",
    "portable",
    "auto",
    1
   ]
  },
  {
   "id": 6,
   "type": "PreviewImage",
   "pos": [
    950.0,
    420.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 4
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 7,
   "type": "FastforksDepth",
   "pos": [
    540.0,
    840.0
   ],
   "size": [
    330,
    230
   ],
   "flags": {},
   "order": 7,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 5
    }
   ],
   "outputs": [
    {
     "name": "depth",
     "type": "IMAGE",
     "links": [
      6
     ],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "depth (fastforks), backend kernels",
   "widgets_values": [
    "depth-anything-v2-s",
    "kernels",
    "auto",
    1
   ]
  },
  {
   "id": 8,
   "type": "PreviewImage",
   "pos": [
    950.0,
    840.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 8,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 6
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  }
 ],
 "links": [
  [
   1,
   2,
   0,
   3,
   0,
   "IMAGE"
  ],
  [
   2,
   3,
   0,
   4,
   0,
   "IMAGE"
  ],
  [
   3,
   2,
   0,
   5,
   0,
   "IMAGE"
  ],
  [
   4,
   5,
   0,
   6,
   0,
   "IMAGE"
  ],
  [
   5,
   2,
   0,
   7,
   0,
   "IMAGE"
  ],
  [
   6,
   7,
   0,
   8,
   0,
   "IMAGE"
  ]
 ],
 "groups": [
  {
   "id": 1,
   "title": "Inputs",
   "bounding": [
    -30.0,
    -90.0,
    360.0,
    460.0
   ],
   "color": "#88A",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 2,
   "title": "fastforks",
   "bounding": [
    510.0,
    -90.0,
    770.0,
    1260.0
   ],
   "color": "#3f789e",
   "font_size": 24,
   "flags": {}
  }
 ],
 "config": {},
 "extra": {},
 "version": 0.4
}