|
| 1 | +============================= test session starts ============================== |
| 2 | +platform linux -- Python 3.12.3, pytest-8.4.0, pluggy-1.6.0 -- /home/mohamed-ashraf/Desktop/GSoC2025/env/bin/python |
| 3 | +cachedir: .pytest_cache |
| 4 | +rootdir: /home/mohamed-ashraf/Desktop/GSoC2025/keras-hub |
| 5 | +configfile: pytest.ini |
| 6 | +plugins: cov-6.1.1 |
| 7 | +collecting ... collected 15 items |
| 8 | + |
| 9 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::TestCase::test_session SKIPPED [ 6%] |
| 10 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_all_presets SKIPPED [ 13%] |
| 11 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_cache_correctness SKIPPED [ 20%] |
| 12 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_causal_lm_basics SKIPPED [ 26%] |
| 13 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_early_stopping PASSED [ 33%] |
| 14 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_flash_attention_call SKIPPED [ 40%] |
| 15 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_generate PASSED [ 46%] |
| 16 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_generate_compilation PASSED [ 53%] |
| 17 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_generate_with_bfloat16 PASSED [ 60%] |
| 18 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_multitoken_stopping PASSED [ 66%] |
| 19 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_saved_model SKIPPED [ 73%] |
| 20 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_score_layer_intercept_fn_exfiltration PASSED [ 80%] |
| 21 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_score_logits PASSED [ 86%] |
| 22 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_score_loss SKIPPED [ 93%] |
| 23 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_session PASSED [100%] |
| 24 | + |
| 25 | +=============================== warnings summary =============================== |
| 26 | +../../../../../usr/lib/python3.12/multiprocessing/popen_fork.py:66 |
| 27 | +../../../../../usr/lib/python3.12/multiprocessing/popen_fork.py:66 |
| 28 | + /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=22401) is multi-threaded, use of fork() may lead to deadlocks in the child. |
| 29 | + self.pid = os.fork() |
| 30 | + |
| 31 | +../env/lib/python3.12/site-packages/openvino/runtime/__init__.py:10 |
| 32 | + /home/mohamed-ashraf/Desktop/GSoC2025/env/lib/python3.12/site-packages/openvino/runtime/__init__.py:10: DeprecationWarning: The `openvino.runtime` module is deprecated and will be removed in the 2026.0 release. Please replace `openvino.runtime` with `openvino`. |
| 33 | + warnings.warn( |
| 34 | + |
| 35 | +../env/lib/python3.12/site-packages/_pytest/config/__init__.py:1474 |
| 36 | + /home/mohamed-ashraf/Desktop/GSoC2025/env/lib/python3.12/site-packages/_pytest/config/__init__.py:1474: PytestConfigWarning: Unknown config option: env |
| 37 | + |
| 38 | + self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") |
| 39 | + |
| 40 | +keras_hub/src/models/gemma/gemma_causal_lm_test.py::GemmaCausalLMTest::test_session |
| 41 | + /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TensorFlowTestCase.test_session of <keras_hub.src.models.gemma.gemma_causal_lm_test.GemmaCausalLMTest testMethod=test_session>>) |
| 42 | + return self.run(*args, **kwds) |
| 43 | + |
| 44 | +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html |
| 45 | +=================== 8 passed, 7 skipped, 5 warnings in 5.98s =================== |
0 commit comments