Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating torch to 2.3.0 #6258

Merged
merged 46 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
c471f5b
bring changes from prep_for_np2 branch
EmilianoG-byte Aug 1, 2024
c3e011e
change from rc to released version
EmilianoG-byte Aug 2, 2024
6ffb5e5
Merge branch 'master' into compatible-np-2.0
EmilianoG-byte Aug 2, 2024
c8b7d91
add scipy<= 1.13 on ci requirements to become np 2.0 compatible
EmilianoG-byte Aug 6, 2024
e54eeef
pin autograd to major 1.7.0 version
EmilianoG-byte Aug 27, 2024
0c0d5a6
Merge branch 'master' into compatible-np-2.0
EmilianoG-byte Aug 27, 2024
b3ab335
set numpy print options to legacy for scalars and change np.NaN to np…
EmilianoG-byte Aug 27, 2024
ef47609
Revert "set numpy print options to legacy for scalars and change np.N…
EmilianoG-byte Aug 27, 2024
9a88660
change NaN for nan
EmilianoG-byte Aug 27, 2024
f523d32
increase version of scipy used with jax
EmilianoG-byte Aug 27, 2024
236b3f5
change to use context manager for legacy and check against older vers…
EmilianoG-byte Aug 27, 2024
d94d30c
add legacy print option context manager to torch and prepselprep tests
EmilianoG-byte Aug 27, 2024
2d8db14
add legacy printing solution to data-tests
EmilianoG-byte Aug 27, 2024
f9322a7
change regex for probabilities not adding 1 from numpy
EmilianoG-byte Aug 27, 2024
50711df
use legacy context manager on default qubit legacy
EmilianoG-byte Aug 27, 2024
e0bcd0a
Merge branch 'master' into compatible-np-2.0
EmilianoG-byte Aug 28, 2024
1793a03
check numpy version to check dtype in test_apply_global_phase
EmilianoG-byte Aug 28, 2024
d55a614
move context manager to only affect asserts related to representation
EmilianoG-byte Aug 29, 2024
e728c25
ping numpy in requirements
EmilianoG-byte Aug 29, 2024
f1ff64e
Resolving CodeFactor issues
PietropaoloFrisoni Sep 6, 2024
fdca824
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Sep 6, 2024
0f04e84
Using isort:skip to resolve conflict (between CodeFactor and isort) a…
PietropaoloFrisoni Sep 6, 2024
32815d4
Replacing isort:skip with isort:skip_file
PietropaoloFrisoni Sep 6, 2024
c9c148b
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Sep 6, 2024
b229b92
Unpinning numpy in requirements-ci.txt
PietropaoloFrisoni Sep 6, 2024
18702ff
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Sep 9, 2024
61a2d42
Running torch tests with numpy 2.0 and without it
PietropaoloFrisoni Sep 9, 2024
68fbdf7
Re-pinning numpy in reqs-CI and running torch tests with numpy 2 as t…
PietropaoloFrisoni Sep 9, 2024
928fdb5
Remove pin from scipy and numpy. Running torch tests only with numpy-…
PietropaoloFrisoni Sep 9, 2024
e4abd05
Running numpy-2 tests for autograd
PietropaoloFrisoni Sep 9, 2024
0b34222
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Sep 9, 2024
6f77e21
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Sep 9, 2024
61d09d2
Correct typo in `actionyml` (numpy 2.0 was not installed as originall…
PietropaoloFrisoni Sep 10, 2024
3820765
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Sep 10, 2024
a0d37e4
Testing `torch` with 2 versions (fake test) with separate artifacts
PietropaoloFrisoni Sep 10, 2024
6a9c708
Weak pin on scipy and removed pin from autograd
PietropaoloFrisoni Sep 11, 2024
3ffcc33
Weak pin to numpy 1.x in requirements-CI (numpy 2.0 is installed sepa…
PietropaoloFrisoni Sep 11, 2024
6f5c228
Extending double numpy tests to all interfaces
PietropaoloFrisoni Sep 11, 2024
515a910
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Sep 11, 2024
378deef
Updating torch to 2.3.0
PietropaoloFrisoni Sep 12, 2024
ca738e6
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Sep 16, 2024
28dfaac
Removing double NumPy tests
PietropaoloFrisoni Sep 16, 2024
2928843
Space at the end of aworkflow files
PietropaoloFrisoni Sep 16, 2024
20e94e0
Fix space at end of workflow files
PietropaoloFrisoni Sep 16, 2024
1061175
Updating changelog
PietropaoloFrisoni Sep 16, 2024
50fa2f9
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Sep 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true

env:
TORCH_VERSION: 2.2.0
TORCH_VERSION: 2.3.0

jobs:
gpu-tests:
Expand Down
3 changes: 2 additions & 1 deletion doc/releases/changelog-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<h3>Improvements 🛠</h3>

* PennyLane is now compatible with NumPy 2.0.
[(#6061)](https://github.com/PennyLaneAI/pennylane/pull/6061)
[(#6061)](https://github.com/PennyLaneAI/pennylane/pull/6061)
[(#6258)](https://github.com/PennyLaneAI/pennylane/pull/6258)

* `qml.qchem.excitations` now optionally returns fermionic operators.
[(#6171)](https://github.com/PennyLaneAI/pennylane/pull/6171)
Expand Down
Loading