deps: bump AiDotNet.Tensors + AiDotNet.Native.OpenBLAS to 0.50.0 - #1179
Conversation
…BLAS 0.28.0 -> 0.50.0 Unifies the AiDotNet ecosystem on 0.50.0: AiDotNet.Tensors 0.46.1 -> 0.50.0 AiDotNet.Native.OneDNN 0.50.0 (already on 0.50.0) AiDotNet.Native.OpenBLAS 0.28.0 -> 0.50.0 AiDotNet.Native.CLBlast 0.50.0 (already on 0.50.0) Supersedes dependabot PRs #1170 (OpenBLAS) and #1171 (Tensors), which dependabot auto-closed when the branches were rebased onto the current master that already had OneDNN + CLBlast at 0.50.0. Bundling both into one human-authored PR avoids the tamper-detection closure and keeps all four native backends at the same release line. Build: dotnet build -f net10.0 + net471 both green, 0 errors.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughThis PR updates NuGet package dependencies and modifies graph tracing lambdas to explicitly return computed outputs. The inference trace lambda in Changes
Possibly related PRs
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Tensors 0.50.1 is the release the open compile-tracer bugs point to; 0.50.0 was the one I initially pinned but it's strictly a prerequisite step. The API change that matters for us: GetOrCompileInference / GetOrCompileTraining accept Func<Tensor<T>> (return = plan output tensor) instead of Action (tail-op inferred). The explicit return fixes the shape-conditional truncation that forced PR #1167's Predict-bypass workaround: the tracer no longer guesses which op produced the plan's output, so rank-3 -> rank-4 promotions and post-forward reshapes no longer get silently dropped. Three call sites updated to return the last tensor explicitly: src/AiModelBuilder.cs:1344 — return nnModel.Predict(input) src/Training/CompiledTapeTrainingStep.cs:139 — return computeLoss(...) src/Training/CompiledTapeTrainingStep.cs:269 — return computeLoss(...) Follow-up (separate PR): revert the 11 Predict-override-restore sites from PR #1167 back to PredictEager now that the tracer actually captures their forward behaviour correctly. Build: dotnet build -f net10.0 + net471 both green, 0 errors.
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Summary
Bumps the two remaining AiDotNet ecosystem packages still behind the 0.50.0 line:
AiDotNet.Tensors0.46.1 → 0.50.0AiDotNet.Native.OpenBLAS0.28.0 → 0.50.0OneDNNandCLBlastwere already at 0.50.0 on master.Why this, not the dependabot PRs
Supersedes #1170 and #1171 (both dependabot-authored). Rebasing those branches onto current master would have produced valid results, but dependabot's anti-tamper auto-closes any PR whose branch is force-pushed by a non-bot account — which it did when I tried. Bundling both bumps into one human PR is the only workable path.
Test plan
dotnet build src/AiDotNet.csproj -f net10.0→ 0 errorsdotnet build src/AiDotNet.csproj -f net471→ 0 errors🤖 Generated with Claude Code
Summary by CodeRabbit
Chores
Bug Fixes