Skip to content

Graphnetcore 0.5 - #29

Merged
JoKircher merged 3 commits into
mainfrom
graphnetcore-0.5
Oct 23, 2026
Merged

JoKircher merged 3 commits into
mainfrom
graphnetcore-0.5

Conversation

@JoKircher

Copy link
Copy Markdown
Member

update of the repo for GraphNetCore v0.5.0

GraphNetCore 0.5 moves the stack to CUDA.jl and cuDNN 6.2, which allows a
Reactant version that loads on Julia 1.13, so Julia >= 1.12 is supported
again.

- Compat: GraphNetCore 0.5, CUDA and cuDNN 6.2, JSON 1, SciMLBase 3,
  OrdinaryDiffEq 7, RecursiveArrayTools 4, DataInterpolations 10,
  Octopus 0.2.2 (the first version that allows CUDA 6), julia 1.12.
- GraphNetCore renamed load/save! to load_checkpoint/save_checkpoint!.
  load_checkpoint now moves the optimiser state to the device itself, so
  drop the workaround that did this after loading.
- JSON 1 parses objects to JSON.Object by default; pass
  dicttype=Dict{String,Any} so meta.json is still read as a Dict.
- OrdinaryDiffEq 7 no longer provides Euler. Import it from
  OrdinaryDiffEqLowOrderRK, now a dependency, in the package, tests and
  examples.
- Remove the GPUCompiler ~1.9 pin, a workaround for an incompatibility
  between older Reactant and newer GPUCompiler that current versions no
  longer have, and the never-used PreallocationTools dependency.
- Test on the latest Julia in CI again.
Breaking under 0.x semver: the GraphNetCore 0.5 update moves users to
CUDA.jl 6, OrdinaryDiffEq 7 (Euler and other low-order solvers now come
from OrdinaryDiffEqLowOrderRK), JSON 1, SciMLBase 3, RecursiveArrayTools 4
and DataInterpolations 10. GraphNetSim's own API and its checkpoint format
are unchanged.
The example could not run from a fresh checkout:

- Its environment did not declare HDF5 and JSON, which test/generators.jl
  loads when the script includes it to generate the dataset.
- It wrote the minmax and the mean/std statistics once up front, but
  update_meta! keeps only one statistic type in meta.json and removes the
  other, so every trial that sampled norm_type=:minmax failed. Write the
  statistics each trial needs right before it trains instead.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/utils.jl 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/GraphNetSim.jl 87.04% <100.00%> (-0.03%) ⬇️
src/config.jl 90.90% <100.00%> (ø)
src/dataset.jl 58.09% <100.00%> (ø)
src/import_data/vtkToh5.jl 93.94% <100.00%> (ø)
src/utils.jl 38.70% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JoKircher
JoKircher merged commit 2003b34 into main Oct 23, 2026
3 checks passed
@JoKircher
JoKircher deleted the graphnetcore-0.5 branch October 23, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants