mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-05 04:17:32 +00:00
fix(tests): set inference mode to be replay by default
This commit is contained in:
parent
c3d3a0b833
commit
cd60e4d46a
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ def pytest_runtest_makereport(item, call):
|
|||
def pytest_sessionstart(session):
|
||||
# stop macOS from complaining about duplicate OpenMP libraries
|
||||
os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
|
||||
if "LLAMA_STACK_TEST_INFERENCE_MODE" not in os.environ:
|
||||
os.environ["LLAMA_STACK_TEST_INFERENCE_MODE"] = "replay"
|
||||
|
||||
|
||||
def pytest_runtest_teardown(item):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue