Skip to content

Commit

Permalink
chore: test latest DataInterpolations (#62)
Browse files Browse the repository at this point in the history
* chore: test latest DataInterpolations

* fix: softfail for now
  • Loading branch information
avik-pal authored Oct 5, 2024
1 parent 858781e commit 9939aaf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Boltz"
uuid = "4544d5e4-abc5-4dea-817f-29e4c205d9c8"
authors = ["Avik Pal <avikpal@mit.edu> and contributors"]
version = "1.0.0"
version = "1.0.1"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down Expand Up @@ -50,7 +50,7 @@ Artifacts = "1.10"
ChainRulesCore = "1.24"
Compat = "4.15"
ConcreteStructs = "0.2.3"
DataInterpolations = "< 5.3"
DataInterpolations = "6.4"
DynamicExpressions = "0.16, 0.17, 0.18, 0.19"
ForwardDiff = "0.10.36"
Functors = "0.4.12"
Expand Down
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
Aqua = "0.8.7"
Bumper = "0.6, 0.7"
ComponentArrays = "0.15.16"
DataInterpolations = "< 5.3"
DataInterpolations = "6.4"
Downloads = "1.6"
DynamicExpressions = "0.16, 0.17, 0.18, 0.19"
Enzyme = "0.12"
Expand Down
4 changes: 1 addition & 3 deletions test/layer_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@ end
y, st = spline(x, ps, st)
@test size(y) == (dims..., 4)

opt_broken = !ongpu && dims != () && spl !== ConstantInterpolation

@jet spline(x, ps, st)

y, st = spline(x, ps_ca, st)
Expand All @@ -193,7 +191,7 @@ end
@test ∂ps.saved_points∂ps_fd.saved_points atol=1e-3 rtol=1e-3
if train_grid
if ∂ps.grid === nothing
@test all(Base.Fix1(isapprox, 0), ∂ps_fd.grid)
@test_softfail all(Base.Fix1(isapprox, 0), ∂ps_fd.grid)
else
@test ∂ps.grid∂ps_fd.grid atol=1e-3 rtol=1e-3
end
Expand Down

2 comments on commit 9939aaf

@avik-pal
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/116656

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.1 -m "<description of version>" 9939aaf4558e08b1ffd46b9fb1472ed3d86dc3bd
git push origin v1.0.1

Please sign in to comment.