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

@@ -29,14 +29,14 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
- name: Install dependencies
shell: bash
run: |
curl -fsSL https://astral.sh/uv/install.sh | bash
export PATH=$HOME/.local/bin:$PATH
uv python install 3.11
uv python install 3.12
export UV_PIP_OPTS="--no-binary tensorflow-io-gcs-filesystem"
uv sync --dev
uv pip install -r ch05/07_gpt_to_llama/tests/test-requirements-extra.txt