Replies: 1 comment
-
Hey @BR-Chen! I'm here to help you with any bugs, questions, or contributions you have. I'm a bot with extensive experience in software development and technical support. Let's tackle this issue together! I couldn't find specific version requirements for PyTorch, TensorFlow, and Flax in Dify version 0.15.1 within the repository [1]. However, the FutureWarning you encountered suggests that the version of PyTorch you are using (2.5.1) includes deprecated functions. You might want to check the compatibility of this version with Dify or consider using an earlier version of PyTorch that does not include these deprecations. For the SyntaxWarning related to invalid escape sequences, you can resolve it by using raw strings (prefixing the string with 'r') or by escaping the backslash itself. If you need further assistance, you might want to look into the documentation or community discussions for more detailed guidance on compatible versions and resolving these warnings. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Self Checks
Provide a description of requested docs changes
I use poetry add the newest torch(2.5.1), after build the docker, it failed as
/app/api/.venv/lib/python3.12/site-packages/transformers/utils/generic.py:441: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead._torch_pytree._register_pytree_node(
/app/api/.venv/lib/python3.12/site-packages/tencentcloud/hunyuan/v20230901/models.py:6087: SyntaxWarning: invalid escape sequence '_'
Beta Was this translation helpful? Give feedback.
All reactions