Conversation
…decoder specs and bindings, propagate provider build exceptions unchanged, and replace the vacuous GIL-release tests
Member
|
Continued in #789. This pull request closed when its head branch was renamed from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Frontier and BP-Trellis can now decode Python SampleBatch data and fused DemSampler shots with multiple workers. Their configuration factories and native workers live in the optional pecos-rslib-exp extension:
Both factories expose the underlying decoder configuration, including column ordering and BP-Trellis escalation. Standard pecos.decoders imports work without the experimental package; explicitly importing frontier or bp_trellis from that module lazily loads the optional extension.
The stable extension accepts a versioned Python decoder provider and retains shared batch execution, retries, scoring, and prediction handling. Each worker builds its own native decoder. Native construction and decoding release the GIL, with a Python call boundary per shot. Experimental specs currently support batch and fused sampling APIs, rather than stable DecoderSpec parsing or composition. The publishable pecos-decoders crate has no experimental dependencies.
The Guppy DEM workflow demonstrates both decoders when the optional extension is available and remains runnable without it. The decoder guide documents configuration and the optional imports.
Validation: