File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
e2e-tests/llm-katan/llm_katan Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,7 @@ def main(
161
161
import transformers # noqa: F401
162
162
except ImportError :
163
163
click .echo (
164
- "❌ Required dependencies missing. "
165
- "Install with: pip install transformers torch" ,
164
+ "❌ Required dependencies missing. " "Install with: pip install transformers torch" ,
166
165
err = True ,
167
166
)
168
167
sys .exit (1 )
Original file line number Diff line number Diff line change @@ -36,9 +36,7 @@ def __post_init__(self):
36
36
37
37
# Validate backend
38
38
if self .backend not in ["transformers" , "vllm" ]:
39
- raise ValueError (
40
- f"Invalid backend: { self .backend } . Must be 'transformers' or 'vllm'"
41
- )
39
+ raise ValueError (f"Invalid backend: { self .backend } . Must be 'transformers' or 'vllm'" )
42
40
43
41
@property
44
42
def device_auto (self ) -> str :
You can’t perform that action at this time.
0 commit comments