transformers==5.14.1 + protobuf (correct pin)
Browse files- requirements.txt +11 -10
requirements.txt
CHANGED
|
@@ -9,16 +9,17 @@
|
|
| 9 |
# is SAFE in a Docker Space: we control the whole image. The managed
|
| 10 |
# Inference-Endpoint toolkit cannot do this because it hard-pins
|
| 11 |
# transformers==4.51.3, which predates video_utils entirely.
|
| 12 |
-
#
|
| 13 |
-
#
|
| 14 |
-
#
|
| 15 |
-
#
|
| 16 |
-
#
|
| 17 |
-
# is
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
#
|
| 21 |
-
#
|
|
|
|
| 22 |
protobuf
|
| 23 |
sentencepiece
|
| 24 |
accelerate
|
|
|
|
| 9 |
# is SAFE in a Docker Space: we control the whole image. The managed
|
| 10 |
# Inference-Endpoint toolkit cannot do this because it hard-pins
|
| 11 |
# transformers==4.51.3, which predates video_utils entirely.
|
| 12 |
+
# EXACT PIN — history of wrong blames on this line, do not loosen casually:
|
| 13 |
+
# - "removed is_tf_available" (wrong; survives to v5)
|
| 14 |
+
# - "v5 breaks trust_remote_code" (wrong; 2026-07-23's v5 crash was a MISSING
|
| 15 |
+
# PROTOBUF, and 4.57.x can't load this model AT ALL — its stock-Qwen2
|
| 16 |
+
# tokenizer path crashes on the repo's list-typed extra_special_tokens).
|
| 17 |
+
# 5.14.x is what every working image actually resolved to (>=4.57.0 floated to
|
| 18 |
+
# latest); ==5.14.1 verified loading MolmoAct2Processor on 2026-07-23.
|
| 19 |
+
transformers==5.14.1
|
| 20 |
+
# protobuf: REQUIRED by the load path but no longer pulled transitively by the
|
| 21 |
+
# 2026-07-23 dependency resolution (the actual cause of that day's first two
|
| 22 |
+
# build failures). sentencepiece kept as its usual partner.
|
| 23 |
protobuf
|
| 24 |
sentencepiece
|
| 25 |
accelerate
|