-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: Add llvm_not_implemented mark #3075
Merged
Merged
+325
−401
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Consolidate parameter overrides. Create of copy of the params dict argument instead of modifying it. Add testing of DriftOnASphereIntegrator. Do not duplicate function instantiation. Drop redundant import. Signed-off-by: Jan Vesely <[email protected]>
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
Most tests checking for ExecutionMode.Python and waiving all instances can be re-enabled with ExecutionMode.PyTorch. Re-enabled tests: * test_loss_specs[ExecutionMode.PyTorch-Loss.L1-expected1] - add current results as expected results * test_loss_specs[ExecutionMode.PyTorch-Loss.POISSON_NLL-expected3] - add current results as expected results * test_pytorch_loss_spec[ExecutionMode.PyTorch] * test_xor_nested_no_train_then_train[ExecutionMode.PyTorch-400-4-10-1e-05] * test_params_stay_separate[ExecutionMode.PyTorch] Provide execution_mode=pnl.ExecutionMode.PyTorch explicitly to AutodiffComposition.learn to avoid warnings. Improves pytest tests/composition/test_autodiffcomposition.py -n0 from: = 65 passed, 26 skipped, 25 warnings in 154.82s (0:02:34) = to: = 70 passed, 21 skipped, 7 warnings in 159.48s (0:02:39) = Signed-off-by: Jan Vesely <[email protected]>
Use top level pnl names for functions. Codestyle. Signed-off-by: Jan Vesely <[email protected]>
Combination of llvm and llvm_not_implemented marks is automatically skipped. Signed-off-by: Jan Vesely <[email protected]>
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cleanup.
Add lvm_not_implemented mark, tests with both this mark and the 'llvm' mark are automatically skipped.
Replace adhoc
pytest.skip
calls in unimplemented test combinations.