Long compile time for differentiation transform test in order SH -> Grid -> SH #626
Labels
differentiability 🤖
Making the model differentiable via AD
testing 🧪
How we test things and continuous integration
For some reason the unit test of the the differentiability of the full transform needs a lot of compilation time when starting in spectral space with the
OctahedralGaussianGrid
.SpeedyWeather.jl/test/spectral_transform_ad_rules.jl
Lines 159 to 174 in 46849ba
This is not an issue when starting in grid space, or with the
FullGaussianGrid
. The results are correct, and every subsequent execution is also fast. It's the compilation that takes so long.Not sure why that is. As every subsequent execution is fast, I am not too worried, and I'll just exclude this test from the CI for now, but this might be something to look at it again later.
The text was updated successfully, but these errors were encountered: