README: fix stale transformers version guidance (currently recommends a broken version window)

#14
by VemVemRu - opened
Files changed (1) hide show
  1. README.md +10 -1
README.md CHANGED
@@ -93,7 +93,16 @@ Ouro-1.4B is based on the decoder-only Transformer architecture with parameter s
93
 
94
  ## Quick Start
95
 
96
- **⚠️ IMPORTANT**: Please use `transformers<4.56.0` to avoid compatibility issues. We recommend `transformers==4.54.1` or earlier versions.
 
 
 
 
 
 
 
 
 
97
 
98
  ```python
99
  from transformers import AutoModelForCausalLM, AutoTokenizer
 
93
 
94
  ## Quick Start
95
 
96
+ **⚠️ IMPORTANT**: With the current code revision, please use `transformers>=4.56.0` (verified working on `4.57.1`). Earlier versions fail:
97
+
98
+ | transformers version | status |
99
+ |---|---|
100
+ | 4.52.x and earlier | ❌ `ImportError: cannot import name 'layer_type_validation'` (`configuration_ouro.py`) |
101
+ | 4.54.x to 4.55.x | ❌ `AttributeError: property 'key_cache' of 'UniversalTransformerCache' object has no setter` (`modeling_ouro.py`) |
102
+ | 4.56.0 and later | ✅ works (verified on `4.57.1`) |
103
+
104
+ For `transformers` 5.x support, see PR #13.
105
+
106
 
107
  ```python
108
  from transformers import AutoModelForCausalLM, AutoTokenizer