From d34486cf930da1c30025d41d7799c6df5425f4fd Mon Sep 17 00:00:00 2001 From: limbicnation Date: Sat, 3 May 2025 19:21:15 +0200 Subject: [PATCH] fix: specify tokenizers version to avoid build errors - Add tokenizers>=0.13.3,<0.14.0 to use pre-built wheels - Prevent Rust compilation errors on systems without Rust toolchain - Fix installation issues in environments like Anaconda - Improve compatibility with Python 3.10 --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4e8199d..db4b3f9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ # requirements.txt for ComfyUI-DepthEstimation Node -# Transformers library for the depth estimation model pipeline +# Transformers library with specific tokenizers version to avoid build issues +tokenizers>=0.13.3,<0.14.0 # Use pre-built version compatible with most platforms transformers>=4.20.0,<4.37.0 # Required for Depth Anything models # Pillow (PIL Fork) - Compatibility with other ComfyUI nodes