Skip to content

feat(featurizer): make candle optional in redeem-foundation-featurizer - #15

Open
singjc wants to merge 2 commits into
stack/04-foundation-featurizerfrom
stack/05-featurizer-optional-candle
Open

singjc wants to merge 2 commits into
stack/04-foundation-featurizerfrom
stack/05-featurizer-optional-candle

Conversation

@singjc

@singjc singjc commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Stack 5/5 (on #13). Makes the candle dependency optional so downstream consumers (Andes) can featurize peptides into plain Vec tensors without pulling in candle. featurize_data builds plain Vecs; the candle tensor path stays behind the default feature.

Verified: cargo test -p redeem-foundation-featurizer with default and --no-default-features (golden tensor tests pass both ways), cargo check --workspace --all-targets.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fc40a026-8cbe-4acb-9c22-125af85964d0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@singjc
singjc force-pushed the stack/04-foundation-featurizer branch from 25342e7 to d942b4c Compare December 3, 2026 15:20
@singjc
singjc force-pushed the stack/05-featurizer-optional-candle branch 2 times, most recently from 4752ea2 to e1eb5bf Compare December 3, 2026 15:32
@singjc
singjc force-pushed the stack/04-foundation-featurizer branch from a3deab3 to 4910b28 Compare December 3, 2026 16:41
@singjc
singjc force-pushed the stack/05-featurizer-optional-candle branch 2 times, most recently from df4729a to c6fe12a Compare December 3, 2026 17:40
@singjc
singjc force-pushed the stack/04-foundation-featurizer branch 2 times, most recently from 9bad9a1 to 8507309 Compare December 3, 2026 17:54
Lets ONNX hosts (andes) depend on the featurizer without candle-core, whose
half ^2.5 conflicts with tract-data's half =2.4.1 pin. Default features keep
the candle tensor API unchanged.
…_context

One canonical encoding of the optional precursor context for downstream
consumers (Andes, OpenMS port reference). Unknown fields encode as value 0 with
presence 0, and instrument id 0 is the learned unknown category exactly as in
the training collator.
@singjc
singjc force-pushed the stack/05-featurizer-optional-candle branch from c6fe12a to 9693d4a Compare December 3, 2026 17:56

This branch has not been deployed

No deployments
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