Skip to content

Commit ba21dab

Browse files
committed
CI: try using cotengra@althash
1 parent 884a466 commit ba21dab

File tree

6 files changed

+14
-6
lines changed

6 files changed

+14
-6
lines changed

ci/requirements/py-base.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- autoray>=0.6.7
6-
- cotengra>=0.5.3
6+
# - cotengra>=0.5.3
77
- coverage
88
- cytoolz
99
- joblib
@@ -16,3 +16,5 @@ dependencies:
1616
- pytest-cov
1717
- scipy
1818
- tqdm
19+
- pip:
20+
- git+https://github.com/jcmgray/cotengra.git@althash

ci/requirements/py-jax.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- autoray>=0.6.7
6-
- cotengra>=0.5.3
6+
# - cotengra>=0.5.3
77
- coverage
88
- cytoolz
99
- joblib
@@ -19,3 +19,4 @@ dependencies:
1919
- pip
2020
- pip:
2121
- jax[cpu]
22+
- git+https://github.com/jcmgray/cotengra.git@althash

ci/requirements/py-slepc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- defaults
44
dependencies:
55
- autoray>=0.6.7
6-
- cotengra>=0.5.3
6+
# - cotengra>=0.5.3
77
- coverage
88
- cytoolz
99
- joblib
@@ -22,3 +22,5 @@ dependencies:
2222
- slepc=*=*complex*
2323
- slepc4py
2424
- tqdm
25+
- pip:
26+
- git+https://github.com/jcmgray/cotengra.git@althash

ci/requirements/py-tensorflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- autoray>=0.6.7
6-
- cotengra>=0.5.3
6+
# - cotengra>=0.5.3
77
- coverage
88
- cytoolz
99
- joblib
@@ -19,3 +19,4 @@ dependencies:
1919
- pip
2020
- pip:
2121
- tensorflow
22+
- git+https://github.com/username/repo.git@branch_name

ci/requirements/py-torch.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
dependencies:
66
- autoray>=0.6.7
7-
- cotengra>=0.5.3
7+
# - cotengra>=0.5.3
88
- coverage
99
- cpuonly
1010
- cytoolz
@@ -19,3 +19,5 @@ dependencies:
1919
- pytorch
2020
- scipy
2121
- tqdm
22+
- pip:
23+
- git+https://github.com/username/repo.git@branch_name

tests/test_tensor/test_tensor_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def test_contract_hotrg_two_layer_rand_peps(self):
273273
bond_dim=2,
274274
)
275275
norm = psi.make_norm()
276-
xe = norm.contract(all, optimize="auto-hq", cache_expression=False)
276+
xe = norm.contract(all, optimize="auto-hq")
277277
xt = norm.contract_hotrg(max_bond=5)
278278
assert xt == pytest.approx(xe, rel=1e-4)
279279

0 commit comments

Comments
 (0)