mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-15 06:00:48 +00:00
be less dumb
This commit is contained in:
parent
273549c7c6
commit
6ccd000b11
1 changed files with 5 additions and 1 deletions
|
@ -37,7 +37,11 @@ def pytest_sessionstart(session):
|
|||
# pull client instantiation to session start so all the complex logs during initialization
|
||||
# don't clobber the test one-liner outputs
|
||||
|
||||
if not getattr(session.config, "skip_llama_stack_client_instantiation", True):
|
||||
should_skip = (
|
||||
hasattr(session.config, "skip_llama_stack_client_instantiation")
|
||||
and session.config.skip_llama_stack_client_instantiation
|
||||
)
|
||||
if not should_skip:
|
||||
print("instantiating llama_stack_client")
|
||||
start_time = time.time()
|
||||
with warnings.catch_warnings():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue