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
This commit is contained in:
limbicnation
2025-05-03 19:21:15 +02:00
parent 454a1c07c0
commit d34486cf93
+2 -1
View File
@@ -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