kijai / ComfyUI-DepthAnythingV2

Simple DepthAnythingV2 inference node for monocular depth estimation
167 stars 12 forks source link

fix: set is_accelerate_false when accelerate is not available #17

Open patrickhulce opened 1 month ago

patrickhulce commented 1 month ago

Fixes the following ComfyUI error when accelerate is not installed.

Error occurred when executing DownloadAndLoadDepthAnythingV2Model:

name 'is_accelerate_available' is not defined