File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 87
87
source $HOME/.local/bin/env
88
88
uv pip install --system -U pip pytest
89
89
uv pip install --system 'nutpie[all]' --find-links dist --force-reinstall
90
- pytest
90
+ pytest -m "not slow"
91
91
92
92
# pyarrow doesn't currently seem to work on musllinux
93
93
# musllinux:
Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ def test_pymc_var_names(backend, gradient_backend):
244
244
assert not hasattr (trace .posterior , "c" )
245
245
246
246
247
+ @pytest .mark .slow
247
248
def test_normalizing_flow ():
248
249
with pm .Model () as model :
249
250
pm .HalfNormal ("x" , shape = 2 )
@@ -252,13 +253,14 @@ def test_normalizing_flow():
252
253
model , backend = "jax" , gradient_backend = "jax"
253
254
).with_transform_adapt (
254
255
num_diag_windows = 6 ,
256
+ verbose = True ,
255
257
)
256
258
trace = nutpie .sample (
257
259
compiled ,
258
260
chains = 1 ,
259
261
transform_adapt = True ,
260
262
window_switch_freq = 150 ,
261
- tune = 400 ,
263
+ tune = 600 ,
262
264
seed = 1 ,
263
265
)
264
266
draws = trace .posterior .x .isel (x_dim_0 = 0 , chain = 0 )
You can’t perform that action at this time.
0 commit comments