Skip to content

fix slow tests and add missing MPS features.

Codecov / codecov/patch failed Mar 11, 2024 in 1s

70.00% of diff hit (target 76.17%)

View this Pull Request on Codecov

70.00% of diff hit (target 76.17%)

Annotations

Check warning on line 22 in sbi/analysis/plot.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/analysis/plot.py#L22

Added line #L22 was not covered by tests

Check warning on line 34 in sbi/analysis/plot.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/analysis/plot.py#L34

Added line #L34 was not covered by tests

Check warning on line 173 in sbi/analysis/plot.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/analysis/plot.py#L173

Added line #L173 was not covered by tests

Check warning on line 230 in sbi/analysis/plot.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/analysis/plot.py#L230

Added line #L230 was not covered by tests

Check warning on line 344 in sbi/analysis/plot.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/analysis/plot.py#L344

Added line #L344 was not covered by tests

Check warning on line 516 in sbi/analysis/plot.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/analysis/plot.py#L516

Added line #L516 was not covered by tests

Check warning on line 763 in sbi/analysis/plot.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/analysis/plot.py#L763

Added line #L763 was not covered by tests

Check warning on line 765 in sbi/analysis/plot.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/analysis/plot.py#L765

Added line #L765 was not covered by tests

Check warning on line 870 in sbi/analysis/plot.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/analysis/plot.py#L870

Added line #L870 was not covered by tests

Check warning on line 200 in sbi/inference/abc/smcabc.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/abc/smcabc.py#L200

Added line #L200 was not covered by tests

Check warning on line 247 in sbi/inference/abc/smcabc.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/abc/smcabc.py#L247

Added line #L247 was not covered by tests

Check warning on line 478 in sbi/inference/abc/smcabc.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/abc/smcabc.py#L478

Added line #L478 was not covered by tests

Check warning on line 72 in sbi/inference/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/base.py#L72

Added line #L72 was not covered by tests

Check warning on line 590 in sbi/inference/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/base.py#L590

Added line #L590 was not covered by tests

Check warning on line 248 in sbi/inference/posteriors/base_posterior.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/posteriors/base_posterior.py#L248

Added line #L248 was not covered by tests

Check warning on line 93 in sbi/inference/posteriors/rejection_posterior.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/posteriors/rejection_posterior.py#L93

Added line #L93 was not covered by tests

Check warning on line 509 in sbi/inference/snpe/snpe_base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/snpe/snpe_base.py#L508-L509

Added lines #L508 - L509 were not covered by tests

Check warning on line 64 in sbi/neural_nets/flow.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/flow.py#L64

Added line #L64 was not covered by tests

Check warning on line 253 in sbi/neural_nets/flow.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/flow.py#L253

Added line #L253 was not covered by tests

Check warning on line 297 in sbi/neural_nets/flow.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/flow.py#L297

Added line #L297 was not covered by tests

Check warning on line 90 in sbi/samplers/mcmc/mcmc.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/samplers/mcmc/mcmc.py#L90

Added line #L90 was not covered by tests

Check warning on line 110 in sbi/samplers/mcmc/mcmc.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/samplers/mcmc/mcmc.py#L109-L110

Added lines #L109 - L110 were not covered by tests

Check warning on line 84 in sbi/samplers/rejection/rejection.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/samplers/rejection/rejection.py#L84

Added line #L84 was not covered by tests

Check warning on line 192 in sbi/samplers/vi/vi_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/samplers/vi/vi_utils.py#L191-L192

Added lines #L191 - L192 were not covered by tests

Check warning on line 138 in sbi/utils/posterior_ensemble.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/utils/posterior_ensemble.py#L138

Added line #L138 was not covered by tests