simplify and use pythorch 3.12

This commit is contained in:
rasbt
2025-02-19 21:01:15 -06:00
parent 361a75d9e2
commit ca0eee4cf9
10 changed files with 20 additions and 24 deletions

View File

@@ -31,12 +31,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.10"
- name: Install dependencies
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install 3.11
uv python install 3.10
uv add . --dev
uv pip install -r ch05/07_gpt_to_llama/tests/test-requirements-extra.txt
uv add torch==${{ matrix.pytorch-version }}