Skip to content

Commit a6cc574

Browse files
authored
Upgrade to NumPy 2.0 (rasbt#520)
* Upgrade to NumPy 2.0 * bump pytorch * bump pytorch * bump pytorch * bump pytorch * bump pytorch * update * update packages
1 parent 68e2efe commit a6cc574

File tree

5 files changed

+189
-182
lines changed

5 files changed

+189
-182
lines changed

.github/workflows/basic-tests-old-pytorch.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test PyTorch 2.0 and 2.6
1+
name: Test PyTorch 2.2 and 2.6
22

33
on:
44
push:
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
pytorch-version: [ 2.0.1, 2.6.0 ]
26+
pytorch-version: [ 2.3.0, 2.6.0 ]
2727

2828
steps:
2929
- uses: actions/checkout@v4
@@ -35,10 +35,10 @@ jobs:
3535

3636
- name: Install dependencies
3737
run: |
38-
python -m pip install --upgrade pip
38+
python -m pip install --upgrade pip setuptools wheel
3939
pip install pytest nbval
40-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
4140
pip install torch==${{ matrix.pytorch-version }}
41+
pip install -r requirements.txt
4242
pip install -r ch05/07_gpt_to_llama/tests/test-requirements-extra.txt
4343
4444
- name: Test Selected Python Scripts

ch05/01_main-chapter-code/ch05.ipynb

Lines changed: 11 additions & 11 deletions
Large diffs are not rendered by default.

ch06/01_main-chapter-code/ch06.ipynb

Lines changed: 64 additions & 64 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)