Repository navigation
Move coreset evaluation and weighting to their interfaces - #1239
sylvesterkaczmarek wants to merge 1 commit into
Conversation
dcca344 to
1775266
Compare
|
Rebased onto current main and resolved the changelog conflict while preserving both upstream and #1023 entries. Focused coreset/weight tests pass 75/75; the full current unit suite passes 1,853 tests with 19 skipped; the complete pre-commit stack and warning-clean Sphinx build also pass. The branch is now one signed commit, 0 behind and mergeable. Fresh workflows are awaiting maintainer approval. |
|
@tm91236 This remains 0 behind and mergeable on the exact validated head. Focused coreset/weight tests pass 75/75, the full unit suite passes 1,853 tests with 19 skipped, and complete pre-commit plus warning-clean Sphinx validation already passed. The only current GitHub-side blocker is maintainer approval of the fork-triggered Actions, which are all sitting at action_required. Ready for review once those checks are allowed to run. |
Signed-off-by: Sylvester Kaczmarek <16242628+sylvesterkaczmarek@users.noreply.github.com>
1775266 to
04f280d
Compare
|
Hi maintainers, following up on this PR as it hasn’t had a maintainer review yet. The implementation and local validation are documented above, while the hosted workflows are still waiting for maintainer approval. Could someone approve the workflows and review the PR when convenient? Happy to address any feedback. |
|
Any feedback on the coreset interface refactor? Let me know whether anything needs changing. The workflows still need maintainer approval. |
PR Type
Feature and refactoring.
Description
Addresses #1023 by adding
Metric.compute_on_coresetandWeightsOptimiser.solve_on_coreset. Immutablewith_weightsmethods keep weight storage in each coreset representation. The new interfaces preserve point order, subset indices, supervision and concrete coreset types, and forward computation options.Repository examples, benchmark code and documentation use the new interfaces.
compute_metricandsolve_weightsremain as deprecated compatibility wrappers, with removal planned for 2.0.0.Validation
-E -n -W.git diff --checkpassed.GPU tests were not run.
Compatibility
Existing calls still work and emit migration warnings. Custom coreset classes can implement
with_weightsto use the new optimiser interface. Changelog and migration examples are included.