File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8787 source $HOME/.local/bin/env
8888 uv pip install --system -U pip pytest
8989 uv pip install --system 'nutpie[all]' --find-links dist --force-reinstall
90- pytest
90+ pytest -m "not slow"
9191
9292 # pyarrow doesn't currently seem to work on musllinux
9393 # musllinux:
Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ def test_pymc_var_names(backend, gradient_backend):
244244 assert not hasattr (trace .posterior , "c" )
245245
246246
247+ @pytest .mark .slow
247248def test_normalizing_flow ():
248249 with pm .Model () as model :
249250 pm .HalfNormal ("x" , shape = 2 )
@@ -252,13 +253,14 @@ def test_normalizing_flow():
252253 model , backend = "jax" , gradient_backend = "jax"
253254 ).with_transform_adapt (
254255 num_diag_windows = 6 ,
256+ verbose = True ,
255257 )
256258 trace = nutpie .sample (
257259 compiled ,
258260 chains = 1 ,
259261 transform_adapt = True ,
260262 window_switch_freq = 150 ,
261- tune = 400 ,
263+ tune = 600 ,
262264 seed = 1 ,
263265 )
264266 draws = trace .posterior .x .isel (x_dim_0 = 0 , chain = 0 )
You can’t perform that action at this time.
0 commit comments