File tree Expand file tree Collapse file tree 6 files changed +3
-8
lines changed Expand file tree Collapse file tree 6 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 47
47
pytest --ruff setup/02_installing-python-libraries/tests.py
48
48
pytest --ruff ch04/01_main-chapter-code/tests.py
49
49
pytest --ruff ch05/01_main-chapter-code/tests.py
50
- pytest --ruff ch05/07_gpt_to_llama/tests/tests.py
51
50
pytest --ruff ch06/01_main-chapter-code/tests.py
52
51
53
52
- name : Validate Selected Jupyter Notebooks
Original file line number Diff line number Diff line change 41
41
source .venv/bin/activate
42
42
pip install --upgrade pip
43
43
pip install -r requirements.txt
44
- pip install -r ch05/07_gpt_to_llama/tests/test-requirements-extra.txt
45
44
pip install pytest pytest-ruff nbval
46
45
47
46
- name : Test Selected Python Scripts
50
49
pytest --ruff setup/02_installing-python-libraries/tests.py
51
50
pytest --ruff ch04/01_main-chapter-code/tests.py
52
51
pytest --ruff ch05/01_main-chapter-code/tests.py
53
- pytest --ruff ch05/07_gpt_to_llama/tests/tests.py
54
52
pytest --ruff ch06/01_main-chapter-code/tests.py
55
53
56
54
- name : Validate Selected Jupyter Notebooks
Original file line number Diff line number Diff line change 50
50
pytest --ruff setup/02_installing-python-libraries/tests.py
51
51
pytest --ruff ch04/01_main-chapter-code/tests.py
52
52
pytest --ruff ch05/01_main-chapter-code/tests.py
53
- pytest --ruff ch05/07_gpt_to_llama/tests/tests.py
54
53
pytest --ruff ch06/01_main-chapter-code/tests.py
55
54
56
55
- name : Validate Selected Jupyter Notebooks
Original file line number Diff line number Diff line change 33
33
run : |
34
34
curl -LsSf https://astral.sh/uv/install.sh | sh
35
35
uv sync --dev --python=3.10 # tests for backwards compatibility
36
- uv pip install -r ch05/07_gpt_to_llama/tests/test-requirements-extra.txt
37
36
uv add pytest-ruff nbval
38
37
uv pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
39
38
43
42
pytest --ruff setup/02_installing-python-libraries/tests.py
44
43
pytest --ruff ch04/01_main-chapter-code/tests.py
45
44
pytest --ruff ch05/01_main-chapter-code/tests.py
46
- pytest --ruff ch05/07_gpt_to_llama/tests/tests.py
47
45
pytest --ruff ch06/01_main-chapter-code/tests.py
48
46
49
47
- name : Validate Selected Jupyter Notebooks
Original file line number Diff line number Diff line change 51
51
pytest --ruff setup/02_installing-python-libraries/tests.py
52
52
pytest --ruff ch04/01_main-chapter-code/tests.py
53
53
pytest --ruff ch05/01_main-chapter-code/tests.py
54
- pytest --ruff ch05/07_gpt_to_llama/tests/tests.py
54
+ pytest --ruff ch05/07_gpt_to_llama/tests/tests_rope_and_parts.py
55
+ pytest --ruff ch05/07_gpt_to_llama/tests/test_llama32_nb.py
56
+ pytest --ruff ch05/11_qwen3/tests/test_qwen3_nb.py
55
57
pytest --ruff ch06/01_main-chapter-code/tests.py
56
58
57
59
- name : Run Jupyter Notebook Tests
Original file line number Diff line number Diff line change 51
51
pytest --ruff setup/02_installing-python-libraries/tests.py
52
52
pytest --ruff ch04/01_main-chapter-code/tests.py
53
53
pytest --ruff ch05/01_main-chapter-code/tests.py
54
- pytest --ruff ch05/07_gpt_to_llama/tests/tests.py
55
54
pytest --ruff ch06/01_main-chapter-code/tests.py
56
55
57
56
- name: Run Jupyter Notebook Tests
You can’t perform that action at this time.
0 commit comments