@@ -42,55 +42,31 @@ jobs:
4242 python -m pip install uv
4343 python -m uv pip install -e '.[all]' --verbose
4444
45- - name : Recurrent test alone
45+ - name : Construct recurrent context with verbose disabled
4646 continue-on-error : true
47- run : |
48- python -m pytest -vv -s \
49- tests/test_llama.py::test_recurrent_model_prompt_cache_reset
50-
51- - name : Recurrent test after low-level model
52- continue-on-error : true
53- run : |
54- python -m pytest -vv -s \
55- tests/test_llama.py::test_real_model \
56- tests/test_llama.py::test_recurrent_model_prompt_cache_reset
47+ env :
48+ VERBOSE : " 0"
49+ run : python tests/diagnose_recurrent_context.py
5750
58- - name : Recurrent test after high-level model
51+ - name : Construct recurrent context with verbose enabled
5952 continue-on-error : true
60- run : |
61- python -m pytest -vv -s \
62- tests/test_llama.py::test_real_llama \
63- tests/test_llama.py::test_recurrent_model_prompt_cache_reset
64-
65- - name : Recurrent test after repeated-prompt model
66- continue-on-error : true
67- run : |
68- python -m pytest -vv -s \
69- tests/test_llama.py::test_real_llama_repeated_prompt_cache \
70- tests/test_llama.py::test_recurrent_model_prompt_cache_reset
53+ env :
54+ VERBOSE : " 1"
55+ run : python tests/diagnose_recurrent_context.py
7156
72- - name : Reproduce original test sequence
57+ - name : Run original recurrent test
7358 continue-on-error : true
7459 run : |
7560 python -m pytest -vv -s \
76- tests/test_llama.py::test_llama_cpp_version \
77- tests/test_llama.py::test_llama_cpp_tokenization \
78- tests/test_llama.py::test_real_model \
79- tests/test_llama.py::test_real_llama \
80- tests/test_llama.py::test_real_llama_repeated_prompt_cache \
8161 tests/test_llama.py::test_recurrent_model_prompt_cache_reset
8262
83- - name : Capture original-sequence backtrace
63+ - name : Capture verbose-disabled backtrace
8464 continue-on-error : true
65+ env :
66+ VERBOSE : " 0"
8567 run : |
8668 gdb --batch \
8769 -ex "set pagination off" \
8870 -ex run \
8971 -ex "thread apply all bt" \
90- --args python -m pytest -vv -s \
91- tests/test_llama.py::test_llama_cpp_version \
92- tests/test_llama.py::test_llama_cpp_tokenization \
93- tests/test_llama.py::test_real_model \
94- tests/test_llama.py::test_real_llama \
95- tests/test_llama.py::test_real_llama_repeated_prompt_cache \
96- tests/test_llama.py::test_recurrent_model_prompt_cache_reset
72+ --args python tests/diagnose_recurrent_context.py
0 commit comments