Skip to content

Commit 1f72d65

Browse files
authored
Fix broken CI (#206)
This PR gets CI going again. 1. Upgrades `pytest.yml` to fix [breaking tests](#205) 2. Removes `UpdateProblemBuilder` as part of the GenJAX `0.7.0` upgrade
1 parent c71742a commit 1f72d65

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/pytest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Codebase tests (GPU)
1+
name: All tests
22

33
on:
44
pull_request:
@@ -42,7 +42,7 @@ jobs:
4242
export PATH=$HOME/.pixi/bin:$HOME/.local/bin:$PATH
4343
4444
# install pipx and inject gcp backend
45-
pixi global install pipx
45+
pixi global install --force-reinstall pipx
4646
pipx install --force keyring==25.3.0
4747
pipx inject keyring \
4848
keyrings.google-artifactregistry-auth \

src/b3d/chisight/dynamic_object_model/dynamic_object_inference.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import jax.random
44
from genjax import ChoiceMapBuilder as C
55
from genjax import Diff
6-
from genjax import UpdateProblemBuilder as U
76

87
from b3d import Pose
98

@@ -29,7 +28,7 @@ def advance_time(key, trace, observed_rgbd):
2928
previous_state = trace.get_retval()["new_state"]
3029
trace, _, _, _ = trace.update(
3130
key,
32-
U.g(
31+
C.g(
3332
(Diff.no_change(hyperparams), Diff.unknown_change(previous_state)),
3433
C.kw(rgbd=observed_rgbd),
3534
),

0 commit comments

Comments
 (0)