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:
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
pip install --upgrade pip
|
||||
pip install uv
|
||||
uv venv --python=python3.11
|
||||
uv venv --python=python3.12
|
||||
source .venv/Scripts/activate
|
||||
export UV_PIP_OPTS="--no-binary tensorflow-io-gcs-filesystem"
|
||||
uv pip install -r requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user