mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
Upgrade to NumPy 2.0 (#520)
* Upgrade to NumPy 2.0 * bump pytorch * bump pytorch * bump pytorch * bump pytorch * bump pytorch * update * update packages
This commit is contained in:
committed by
GitHub
parent
68e2efe1c9
commit
a6cc574605
@@ -1,4 +1,4 @@
|
||||
name: Test PyTorch 2.0 and 2.6
|
||||
name: Test PyTorch 2.2 and 2.6
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
pytorch-version: [ 2.0.1, 2.6.0 ]
|
||||
pytorch-version: [ 2.3.0, 2.6.0 ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -35,10 +35,10 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install --upgrade pip setuptools wheel
|
||||
pip install pytest nbval
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
pip install torch==${{ matrix.pytorch-version }}
|
||||
pip install -r requirements.txt
|
||||
pip install -r ch05/07_gpt_to_llama/tests/test-requirements-extra.txt
|
||||
|
||||
- name: Test Selected Python Scripts
|
||||
|
||||
Reference in New Issue
Block a user