mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[PR #69] [CLOSED] feat: Featuring Continuous Optimization Option #264
Labels
No labels
bug
enhancement
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
p-e-w/heretic#264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/p-e-w/heretic/pull/69
Author: @Vinay-Umrethe
Created: 12/4/2025
Status: ❌ Closed
Base:
master← Head:feature/continuous-optimization📝 Commits (6)
b9b6756feat: add continuous optimization option1d60e3cstyle: apply ruff formattinga01658fMerge branch 'p-e-w:master' into feature/continuous-optimization6cba3f9Merge branch 'p-e-w:master' into feature/continuous-optimization3ad5890Merge branch 'p-e-w:master' into feature/continuous-optimization66a0f65Merge branch 'master' into feature/continuous-optimization📊 Changes
1 file changed (+212 additions, -120 deletions)
View changed files
📝
src/heretic/main.py(+212 -120)📄 Description
this PR introduces a "Continuous Optimization" feature that allows users to extend the ablation process by running additional trials if the initial results are unsatisfactory. The optimization and trial selection logic in
src/heretic/main.pyhas been wrapped in a loop...After initial batch of trials completes, the user is presented with a normal menu with [NEW] option:
If selected, the user can specify the number of additional trials to run. The existing Optuna
studyobject is reused, ensuring that the TPE sampler continues to learn from the history of previous trials and explores parameter space more effectively, rather than starting from scratchh...enabling a more efficient workflow for finding optimal ablation parameters when the default number of trials is insufficient.
Test Conducted: (On Colab as my preference)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.