MichaelMintIcecream commited on
Commit
be6274f
·
verified ·
1 Parent(s): b966e8c

transformers==5.14.1 + protobuf (correct pin)

Browse files
Files changed (1) hide show
  1. 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
- # (Earlier revisions of this file blamed a "removed is_tf_available" wrong:
13
- # that symbol survives through 4.57.3 and goes only in v5.0.0.)
14
- # UPPER BOUND is load-bearing: an unpinned build on 2026-07-23 resolved to
15
- # transformers 5.14.1 and the Space died at startup (RUNTIME_ERROR) v5
16
- # removes pre-5 APIs MolmoAct2's trust_remote_code stack depends on. 4.57.x
17
- # is the proven-good line (Gate A measured on it).
18
- transformers>=4.57.0,<5
19
- # protobuf + sentencepiece: needed by the 4.57.x processor load path (the
20
- # 2026-07-23 pinned rebuild failed with "requires the protobuf library"
21
- # earlier images only had it transitively).
 
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 ALLits 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