[Doc] Basic guide for writing unit tests for new models (#11951)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2025-01-11 21:27:24 +08:00
committed by GitHub
parent 7a3a83e3b8
commit a991f7d508
6 changed files with 81 additions and 3 deletions
+5
View File
@@ -22,6 +22,11 @@ class _HfExamplesInfo:
for speculative decoding.
"""
min_transformers_version: Optional[str] = None
"""
The minimum version of HF Transformers that is required to run this model.
"""
is_available_online: bool = True
"""
Set this to ``False`` if the name of this architecture no longer exists on