mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
simplify and use pythorch 3.12
This commit is contained in:
6
.github/workflows/basic-tests-pytorch-rc.yml
vendored
6
.github/workflows/basic-tests-pytorch-rc.yml
vendored
@@ -27,13 +27,13 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
uv python install 3.11
|
||||
uv add . --dev
|
||||
uv python install 3.12
|
||||
uv sync --dev --python 3.12
|
||||
uv pip install -r ch05/07_gpt_to_llama/tests/test-requirements-extra.txt
|
||||
uv add pytest-ruff nbval
|
||||
uv pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
|
||||
|
||||
Reference in New Issue
Block a user