You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* adding conftest.py for test configs
* adding modified tests with optional LLM runs
* adding llama 1b in model ids
* adding tests to config and workflow
* renaming workflow
* small changes
* trying to test workflow
* adding the tests to the quality workflow
* adding env variable to disable tests
* chaning marker name llm -> qualitative
* changing test markers
* addressing PR comments
* changing ollama port
* changing ollama port
* changing ollama order
* skipping hf tests till we have a 1b alora
* skip rich doc test that takes too much memory
* remove unused session functions
* changing env var name
* minor changes
* ignoring more watsonx for now
* minor changes
* fix non-duplicate member func for mify in python 3.11
---------
Co-authored-by: Jake LoRocco <[email protected]>
Copy file name to clipboardExpand all lines: test/backends/test_huggingface.py
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -37,15 +37,15 @@ def session(backend):
37
37
yieldsession
38
38
session.reset()
39
39
40
-
40
+
@pytest.mark.qualitative
41
41
deftest_system_prompt(session):
42
42
result=session.chat(
43
43
"Where are we going?",
44
44
model_options={ModelOption.SYSTEM_PROMPT: "Talk like a pirate."},
45
45
)
46
46
print(result)
47
47
48
-
48
+
@pytest.mark.qualitative
49
49
deftest_constraint_alora(session, backend):
50
50
answer=session.instruct(
51
51
"Corporate wants you to find the difference between these two strings: aaaaaaaaaa aaaaabaaaa. Be concise and don't write code to answer the question.",
0 commit comments