Files
PozzettiAndrea-ComfyUI-Dept…/dev/linux-gpu/logs/bas_relief.log
T
2026-05-13 12:44:03 +00:00

118 lines
23 KiB
Plaintext

Capturing execution frames: bas_relief.json
Frame 1 saved (frame_000.jpg, t=0.0s)
Validating workflow...
[ComfyUI] === /validate endpoint called ===
[ComfyUI] Received JSON with keys: ['prompt']
Queuing workflow for execution...
[ComfyUI] Prompt has 6 nodes
[ComfyUI] Node 2: LoadImage
[ComfyUI] Inputs: {"image": "bas_relief.png"}
[ComfyUI] Node 3: DownloadAndLoadDepthAnythingV3Model
[ComfyUI] Inputs: {"model": "da3_large.safetensors", "precision": "auto", "attention": "auto"}
[ComfyUI] Node 21: DepthAnything_V3
[ComfyUI] Inputs: {"normalization_mode": "Raw", "resize_method": "resize", "invert_depth": false, "keep_model_size": true, "da3_model": ["3", 0], "images": ["2", 0]}
[ComfyUI] Node 27: PreviewImage
[ComfyUI] Inputs: {"images": ["21", 2]}
[ComfyUI] Node 30: Preview3D
[ComfyUI] Inputs: {"model_file": ["32", 0], "image": ""}
[ComfyUI] Node 32: DA3_ToMesh
[ComfyUI] Inputs: {"confidence_threshold": 0.1, "depth_edge_threshold": 0.1, "downsample": 1, "target_faces": 100000, "filename_prefix": "mesh", "allow_around_1": true, "use_draco_compression": false, "depth_raw": ["21
[ComfyUI] Generated prompt_id: ffad7df7-dbd5-448d-891c-f9c26cd27f3f
[ComfyUI] Calling execution.validate_prompt()...
[ComfyUI] Validation result: valid=True
[ComfyUI] === Validation PASSED ===
[ComfyUI] got prompt
[ComfyUI] [comfy-env] Running DownloadAndLoadDepthAnythingV3Model: model: 'da3_large.safetensors', precision: 'auto', attention: 'auto'
[ComfyUI] [VRAM] Before DownloadAndLoadDepthAnythingV3Model: 24106 / 24124 MB
[ComfyUI] [SubprocessWorker] call_method: nodes.load_model.DownloadAndLoadDepthAnythingV3Model.EXECUTE_NORMALIZED
[ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
[ComfyUI] [ComfyUI-DepthAnythingV3] Health check: ping (timeout=5.0s)...
[ComfyUI] [ComfyUI-DepthAnythingV3] Health check: ok
[ComfyUI] [SubprocessWorker] worker started/confirmed
[ComfyUI] [SubprocessWorker] serializing kwargs to shm...
[ComfyUI] [SubprocessWorker] created 0 shm blocks
[ComfyUI] [SubprocessWorker] sending request via socket...
[ComfyUI] [SubprocessWorker] call_id=10 sending call_method
[ComfyUI] [SubprocessWorker] got response: ok
[ComfyUI] [comfy-env] DownloadAndLoadDepthAnythingV3Model done (0.10s): result: NodeOutput
[ComfyUI] [VRAM] After DownloadAndLoadDepthAnythingV3Model: 24106 / 24124 MB
[ComfyUI] [comfy-env] Running DepthAnything_V3: normalization_mode: 'Raw', resize_method: 'resize', invert_depth: False, keep_model_size: True, da3_model: dict, images: torch.float32 [1,2000,1336,3] cpu
[ComfyUI] [VRAM] Before DepthAnything_V3: 24106 / 24124 MB
[ComfyUI] [SubprocessWorker] call_method: nodes.nodes_inference.DepthAnything_V3.EXECUTE_NORMALIZED
[ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
[ComfyUI] [ComfyUI-DepthAnythingV3] Health check: ping (timeout=5.0s)...
[ComfyUI] [ComfyUI-DepthAnythingV3] Health check: ok
[ComfyUI] [SubprocessWorker] worker started/confirmed
[ComfyUI] [comfy-env] PRE-SERIALIZE 'images' shape: torch.Size([1, 2000, 1336, 3])
[ComfyUI] [SubprocessWorker] serializing kwargs to shm...
[ComfyUI] [SubprocessWorker] created 0 shm blocks
[ComfyUI] [SubprocessWorker] sending request via socket...
[ComfyUI] [SubprocessWorker] call_id=11 sending call_method
[ComfyUI] [worker:ComfyUI-DepthAnythingV3] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'parent_pid', 'fd', 'storage_size']
[ComfyUI] [worker:ComfyUI-DepthAnythingV3] [comfy-env] DESERIALIZE TensorRef: tensor_size=[1, 2000, 1336, 3]
[ComfyUI] [worker:ComfyUI-DepthAnythingV3] [comfy-env] DESERIALIZED tensor shape: torch.Size([1, 2000, 1336, 3])
[ComfyUI] [SubprocessWorker] callback 'request_vram_budget' from call_id=11
[ComfyUI] [comfy-env] VRAM request: 0.82GB, free before eviction: 0.02GB
[ComfyUI] [comfy-env] VRAM after eviction: 0.02GB
[ComfyUI] [worker:ComfyUI-DepthAnythingV3] [VRAM] +380MB (now 583MB) reserved=768MB peak=583MB
[ComfyUI] [SubprocessWorker] got response: error
[ComfyUI] !!! Exception during processing !!! Allocation on device 0 would exceed allowed memory. (out of memory)
[ComfyUI] Currently allocated : 1.09 GiB
[ComfyUI] Requested : 53.07 MiB
[ComfyUI] Device limit : 23.56 GiB
[ComfyUI] Free (according to CUDA): 18.25 MiB
[ComfyUI] PyTorch limit (set by user-supplied memory fraction)
[ComfyUI] : 17179869184.00 GiB
[ComfyUI]
[ComfyUI] Worker traceback:
[ComfyUI] Traceback (most recent call last):
[ComfyUI] File "/tmp/comfyui_pvenv_c1iflygq/persistent_worker.py", line 1762, in main
[ComfyUI] result = method(**inputs)
[ComfyUI] ^^^^^^^^^^^^^^^^
[ComfyUI] File "/workspaces/DepthAnythingV3-1231/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
[ComfyUI] to_return = cls.execute(*args, **kwargs)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/nodes_inference.py", line 156, in execute
[ComfyUI] output = model(img, extrinsics=ext_i, intrinsics=int_i, infer_gs=infer_gs)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl
[ComfyUI] return self._call_impl(*args, **kwargs)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl
[ComfyUI] return forward_call(*args, **kwargs)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1577, in forward
[ComfyUI] output = self._process_depth_head(feats, H, W)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1591, in _process_depth_head
[ComfyUI] return self.head(feats, H, W, patch_start_idx=0)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl
[ComfyUI] return self._call_impl(*args, **kwargs)
Execution complete (t=2.0s)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Execution error: {'prompt_id': 'e951a077-cc16-4dfa-95b5-0f19db309842', 'node_id': '21', 'node_type': 'DepthAnything_V3', 'executed': ['3', '2'], 'exception_message': 'Allocation on device 0 would exceed allowed memory. (out of memory)\nCurrently allocated : 1.09 GiB\nRequested : 53.07 MiB\nDevice limit : 23.56 GiB\nFree (according to CUDA): 18.25 MiB\nPyTorch limit (set by user-supplied memory fraction)\n : 17179869184.00 GiB\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_c1iflygq/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n ^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/nodes_inference.py", line 156, in execute\n output = model(img, extrinsics=ext_i, intrinsics=int_i, infer_gs=infer_gs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl\n return self._call_impl(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl\n return forward_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1577, in forward\n output = self._process_depth_head(feats, H, W)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1591, in _process_depth_head\n return self.head(feats, H, W, patch_start_idx=0)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl\n return self._call_impl(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl\n return forward_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1366, in forward\n out_dict = self._forward_impl(feats, H, W, patch_start_idx)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1401, in _forward_impl\n x = self._add_pos_embed(x, W, H)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1477, in _add_pos_embed\n pe = position_grid_to_embed(pe, x.shape[1]) * ratio\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 131, in position_grid_to_embed\n emb = torch.cat([emb_x, emb_y], dim=-1)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ntorch.OutOfMemoryError: Allocation on device 0 would exceed allowed memory. (out of memory)\nCurrently allocated : 1.09 GiB\nRequested : 53.07 MiB\nDevice limit : 23.56 GiB\nFree (according to CUDA): 18.25 MiB\nPyTorch limit (set by user-supplied memory fraction)\n : 17179869184.00 GiB\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/DepthAnythingV3-1231/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/DepthAnythingV3-1231/ComfyUI/execution.py", line 335, in get_output_data\n return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/DepthAnythingV3-1231/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/DepthAnythingV3-1231/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n ^^^^^^^^^^^\n', ' File "/workspaces/DepthAnythingV3-1231/.venv/lib/python3.11/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n ^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/DepthAnythingV3-1231/.venv/lib/python3.11/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n'], 'current_inputs': {'normalization_mode': ['Raw'], 'resize_method': ['resize'], 'invert_depth': [False], 'keep_model_size': [True], 'da3_model': ["{'model_path': '/workspaces/DepthAnythingV3-1231/ComfyUI/models/depthanything3/da3_large.safetensors', 'model_key': 'da3-large', 'dtype': 'bf16', 'attention': 'auto'}"], 'images': ['tensor([[[[0.5922, 0.4510, 0.2863],\n [0.5922, 0.4588, 0.2902],\n [0.5529, 0.4235, 0.2667],\n ...,\n [0.5373, 0.4510, 0.3373],\n [0.5176, 0.4392, 0.3216],\n [0.5059, 0.4314, 0.3216]],\n\n [[0.5686, 0.4235, 0.2745],\n [0.5451, 0.4157, 0.2627],\n [0.5373, 0.4078, 0.2627],\n ...,\n [0.5412, 0.4549, 0.3451],\n [0.5137, 0.4392, 0.3294],\n [0.5020, 0.4314, 0.3255]],\n\n [[0.4745, 0.3529, 0.2235],\n [0.4706, 0.3569, 0.2235],\n [0.4745, 0.3647, 0.2392],\n ...,\n [0.5255, 0.4314, 0.3294],\n [0.5255, 0.4471, 0.3412],\n [0.5059, 0.4353, 0.3216]],\n\n ...,\n\n [[0.5294, 0.4196, 0.3059],\n [0.5333, 0.4275, 0.2941],\n [0.5412, 0.4235, 0.2941],\n ...,\n [0.5647, 0.4275, 0.2863],\n [0.5765, 0.4431, 0.2941],\n [0.5765, 0.4353, 0.2863]],\n\n [[0.5176, 0.4078, 0.2902],\n [0.5412, 0.4392, 0.3098],\n [0.5098, 0.3922, 0.2745],\n ...,\n [0.5451, 0.4078, 0.2549],\n [0.5451, 0.4000, 0.2471],\n [0.5255, 0.3686, 0.2157]],\n\n [[0.5176, 0.4196, 0.3098],\n [0.5725, 0.4667, 0.3569],\n [0.5490, 0.4392, 0.3294],\n ...,\n [0.5373, 0.3882, 0.2353],\n [0.5176, 0.3647, 0.2078],\n [0.4745, 0.3176, 0.1765]]]])']}, 'current_outputs': ['30', '27', '21', '32', '3', '2'], 'timestamp': 1778675988895}
[ComfyUI] File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl
Status: FAILED
Error: Workflow execution failed: {'prompt_id': 'e951a077-cc16-4dfa-95b5-0f19db309842', 'node_id': '21', 'node_type': 'DepthAnything_V3', 'executed': ['3', '2'], 'exception_message': 'Allocation on device 0 would exceed allowed memory. (out of memory)\nCurrently allocated : 1.09 GiB\nRequested : 53.07 MiB\nDevice limit : 23.56 GiB\nFree (according to CUDA): 18.25 MiB\nPyTorch limit (set by user-supplied memory fraction)\n : 17179869184.00 GiB\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_c1iflygq/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n ^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/nodes_inference.py", line 156, in execute\n output = model(img, extrinsics=ext_i, intrinsics=int_i, infer_gs=infer_gs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl\n return self._call_impl(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl\n return forward_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1577, in forward\n output = self._process_depth_head(feats, H, W)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1591, in _process_depth_head\n return self.head(feats, H, W, patch_start_idx=0)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl\n return self._call_impl(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.ce/.pixi/envs/depthanythingv3-nodes/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl\n return forward_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1366, in forward\n out_dict = self._forward_impl(feats, H, W, patch_start_idx)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1401, in _forward_impl\n x = self._add_pos_embed(x, W, H)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1477, in _add_pos_embed\n pe = position_grid_to_embed(pe, x.shape[1]) * ratio\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 131, in position_grid_to_embed\n emb = torch.cat([emb_x, emb_y], dim=-1)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ntorch.OutOfMemoryError: Allocation on device 0 would exceed allowed memory. (out of memory)\nCurrently allocated : 1.09 GiB\nRequested : 53.07 MiB\nDevice limit : 23.56 GiB\nFree (according to CUDA): 18.25 MiB\nPyTorch limit (set by user-supplied memory fraction)\n : 17179869184.00 GiB\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/DepthAnythingV3-1231/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/DepthAnythingV3-1231/ComfyUI/execution.py", line 335, in get_output_data\n return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/DepthAnythingV3-1231/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/DepthAnythingV3-1231/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n ^^^^^^^^^^^\n', ' File "/workspaces/DepthAnythingV3-1231/.venv/lib/python3.11/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n ^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/DepthAnythingV3-1231/.venv/lib/python3.11/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n'], 'current_inputs': {'normalization_mode': ['Raw'], 'resize_method': ['resize'], 'invert_depth': [False], 'keep_model_size': [True], 'da3_model': ["{'model_path': '/workspaces/DepthAnythingV3-1231/ComfyUI/models/depthanything3/da3_large.safetensors', 'model_key': 'da3-large', 'dtype': 'bf16', 'attention': 'auto'}"], 'images': ['tensor([[[[0.5922, 0.4510, 0.2863],\n [0.5922, 0.4588, 0.2902],\n [0.5529, 0.4235, 0.2667],\n ...,\n [0.5373, 0.4510, 0.3373],\n [0.5176, 0.4392, 0.3216],\n [0.5059, 0.4314, 0.3216]],\n\n [[0.5686, 0.4235, 0.2745],\n [0.5451, 0.4157, 0.2627],\n [0.5373, 0.4078, 0.2627],\n ...,\n [0.5412, 0.4549, 0.3451],\n [0.5137, 0.4392, 0.3294],\n [0.5020, 0.4314, 0.3255]],\n\n [[0.4745, 0.3529, 0.2235],\n [0.4706, 0.3569, 0.2235],\n [0.4745, 0.3647, 0.2392],\n ...,\n [0.5255, 0.4314, 0.3294],\n [0.5255, 0.4471, 0.3412],\n [0.5059, 0.4353, 0.3216]],\n\n ...,\n\n [[0.5294, 0.4196, 0.3059],\n [0.5333, 0.4275, 0.2941],\n [0.5412, 0.4235, 0.2941],\n ...,\n [0.5647, 0.4275, 0.2863],\n [0.5765, 0.4431, 0.2941],\n [0.5765, 0.4353, 0.2863]],\n\n [[0.5176, 0.4078, 0.2902],\n [0.5412, 0.4392, 0.3098],\n [0.5098, 0.3922, 0.2745],\n ...,\n [0.5451, 0.4078, 0.2549],\n [0.5451, 0.4000, 0.2471],\n [0.5255, 0.3686, 0.2157]],\n\n [[0.5176, 0.4196, 0.3098],\n [0.5725, 0.4667, 0.3569],\n [0.5490, 0.4392, 0.3294],\n ...,\n [0.5373, 0.3882, 0.2353],\n [0.5176, 0.3647, 0.2078],\n [0.4745, 0.3176, 0.1765]]]])']}, 'current_outputs': ['30', '27', '21', '32', '3', '2'], 'timestamp': 1778675988895}
Details: Workflow: /node/ComfyUI-DepthAnythingV3/workflows/bas_relief.json
Node error: DepthAnything_V3
[ComfyUI] return forward_call(*args, **kwargs)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1366, in forward
[ComfyUI] out_dict = self._forward_impl(feats, H, W, patch_start_idx)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1401, in _forward_impl
[ComfyUI] x = self._add_pos_embed(x, W, H)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 1477, in _add_pos_embed
[ComfyUI] pe = position_grid_to_embed(pe, x.shape[1]) * ratio
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "/workspaces/DepthAnythingV3-1231/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV3/nodes/depth_anything_v3/model.py", line 131, in position_grid_to_embed
[ComfyUI] emb = torch.cat([emb_x, emb_y], dim=-1)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] torch.OutOfMemoryError: Allocation on device 0 would exceed allowed memory. (out of memory)
[ComfyUI] Currently allocated : 1.09 GiB
[ComfyUI] Requested : 53.07 MiB
[ComfyUI] Device limit : 23.56 GiB
[ComfyUI] Free (according to CUDA): 18.25 MiB