Skip to content

Commit 8cf3b1b

Browse files
Increase swap for ga
1 parent 25f2312 commit 8cf3b1b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
- "3.11"
2525
- "3.10"
2626
steps:
27+
# https://github.com/actions/runner/issues/2468#issuecomment-1651313943
28+
- name: Set Swap Space
29+
uses: pierotofy/set-swap-space@master
30+
with:
31+
swap-size-gb: 10
2732
- uses: actions/checkout@v4
2833
- uses: dtolnay/[email protected]
2934
- uses: Swatinem/rust-cache@v2

python/egglog/exp/array_api_loopnest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ def linalg_norm(X: NDArray, axis: TupleIntLike) -> NDArray: # noqa: N803
131131
X = NDArray.var("X")
132132
assume_shape(X, (3, 2, 3, 4))
133133
val = linalg_norm(X, (0, 1))
134-
val.shape.to_py()
134+
egraph.register(val.shape)
135+
egraph.run(array_api_ruleset.saturate())
136+
egraph.extract_multiple(val.shape, 10)
135137

136138
# %%
137139
egraph = EGraph()

0 commit comments

Comments
 (0)