Commit graph

2 commits

Author SHA1 Message Date
rUv
d316a52d42 fix(ci): Fix formatting and workflow permission issues
- Run cargo fmt across all crates (468 files formatted)
- Add permissions for PR comments in benchmarks.yml
- Add continue-on-error for PR comment steps
- Remove Docker service from postgres-extension-ci (pgrx manages own postgres)
- Add permissions to postgres-extension-ci.yml

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 22:11:57 +00:00
Rasmus Widing
cb4f30f7ac fix(gnn): add gradient clipping for numerical stability
Add MAX_GRAD constant (1e6) and clip gradients in BCE and CrossEntropy
backward passes to prevent gradient explosion with extreme prediction
values near 0 or 1.

Also add examples/loss_demo.rs for manual testing and demonstration
of loss function behavior.
2025-12-09 12:45:34 +02:00