Skip to content

fix: resolve all CI warnings and compilation errors#5

Merged
jafreck merged 1 commit into
mainfrom
fix/ci-warnings
Apr 8, 2026
Merged

fix: resolve all CI warnings and compilation errors#5
jafreck merged 1 commit into
mainfrom
fix/ci-warnings

Conversation

@jafreck

@jafreck jafreck commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Fixes all warnings and errors from CI run #179:

Compilation errors (3):

  • Add missing QuantizationInfo import in bundle.rs tests

Warnings fixed (16):

  • Remove unused imports: TensorData, HashMap, MemoryUsage, ActivationHook, LayerSchedulePass
  • Remove unnecessary parentheses in closures/block return values
  • Fix unused/unnecessary mut bindings (onnx_model, func)
  • Prefix unused variables with underscore (pre, manifest, max_seq_len)
  • Replace tautological u8 <= 255 assertion with non-empty check
  • Replace tautological u64 >= 0 assertion
  • Mark test-only reconstruction_mse as #[allow(dead_code)]

@jafreck jafreck force-pushed the fix/ci-warnings branch 2 times, most recently from 302faf8 to ae01bc6 Compare April 8, 2026 22:26
- Remove unused imports (TensorData, HashMap, MemoryUsage, ActivationHook, LayerSchedulePass)
- Remove unnecessary parentheses in closures and block return values
- Fix unused/unnecessary mut bindings (onnx_model, func)
- Prefix unused variables with underscore (pre, manifest, max_seq_len)
- Fix QuantizationInfo missing import in bundle.rs tests
- Replace tautological u8 <= 255 assertion with non-empty check
- Replace tautological u64 >= 0 assertion with acknowledgement
- Mark test-only reconstruction_mse as #[allow(dead_code)]
- Fix doc test missing type imports in burn-coreml and candle-coreml
@jafreck jafreck merged commit e754512 into main Apr 8, 2026
1 check passed
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.

1 participant