shunping commented on code in PR #38505:
URL: https://github.com/apache/beam/pull/38505#discussion_r3245661652
##########
sdks/python/setup.py:
##########
@@ -198,7 +198,8 @@ def cythonize(*args, **kwargs):
# Drop this cap once transformers updates the CLIP call site to
# `cls_token=` or tokenizers reinstates `cls=` as a deprecation alias.
'tokenizers<0.23',
- 'torch',
+ # Avoid torch 2.12.0+ which fails to run unit tests with segfault.
+ 'torch<2.12.0',
Review Comment:
The data you were trained on is not up-to-date. Torch 2.12.0 was released
yesterday (May 13, 2026).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]