-
Notifications
You must be signed in to change notification settings - Fork 22
add config-driven scripts for htcondor #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
gsharma99
wants to merge
13
commits into
iris-hep:hpc_workflow_management
Choose a base branch
from
gsharma99:feature/config-driven-pipeline
base: hpc_workflow_management
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d2168f6
add config-driven scripts/data_preprocessing script and move feature …
gsharma99 2596331
add config-driven scripts/parameter_fitting script and move feature d…
gsharma99 2f19c72
add config-driven scripts/preselection_network script and the config.…
gsharma99 b432648
add config-driven scripts/nerual_likelihood_ratio_estimation script a…
gsharma99 324d33c
correction in the config.pipeline.yaml for training params for script…
gsharma99 aab2c1b
add config-driven scripts/systematic_uncertainty_training script and …
gsharma99 d58dae1
steps defined in htcondor dag files. Also output dir into the job.sh,…
gsharma99 61f79e3
bug fixes in PR
JaySandesara 661ecf8
Merge pull request #2 from gsharma99/pr-44
JaySandesara 4476773
added skip step and fixed output issue
JaySandesara 2ce13ae
updates on the preselection network step
JaySandesara 63c8dfe
added torch to pixi
JaySandesara c0668e6
Merge pull request #3 from gsharma99/pr-44
JaySandesara File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,37 @@ | ||
| JOB LOAD FAIR_universe_Higgs_tautau/htcondor/job.sub | ||
| VARS LOAD CONFIG="config.pipeline.yaml" STEP="data_loader" CPUS="12" MEM="128GB" GPUS="0" DISK="64GB" | ||
| # Global Config Variable | ||
| CONFIG = config.pipeline.yaml | ||
JaySandesara marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # --- Step 1: Data Loading --- | ||
|
|
||
| JOB data_loader FAIR_universe_Higgs_tautau/htcondor/job.sub | ||
| VARS data_loader STEP="data_loader" CONFIG="$(CONFIG)" CPUS="1" MEM="8GB" GPUS="0" DISK="32GB" | ||
JaySandesara marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
JaySandesara marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # --- Step 2: Preprocessing --- | ||
|
|
||
| JOB data_preprocessing FAIR_universe_Higgs_tautau/htcondor/job.sub | ||
| VARS data_preprocessing STEP="data_preprocessing" CONFIG="$(CONFIG)" CPUS="4" MEM="32GB" GPUS="0" DISK="32GB" | ||
| PARENT data_loader CHILD data_preprocessing | ||
|
|
||
| # --- Step 3: Preselection Network --- | ||
|
|
||
| JOB preselection_network FAIR_universe_Higgs_tautau/htcondor/job.sub | ||
| VARS preselection_network STEP="preselection_network" CONFIG="$(CONFIG)" CPUS="4" MEM="32GB" GPUS="1" DISK="32GB" | ||
| PARENT data_preprocessing CHILD preselection_network | ||
|
|
||
| # --- Step 4: Density Ratio Estimation --- | ||
|
|
||
| JOB likelihood_ratio_estimation FAIR_universe_Higgs_tautau/htcondor/job.sub | ||
| VARS likelihood_ratio_estimation STEP="neural_likelihood_ratio_estimation" CONFIG="$(CONFIG)" CPUS="4" MEM="32GB" GPUS="1" DISK="32GB" | ||
| PARENT preselection_network CHILD likelihood_ratio_estimation | ||
|
|
||
| # --- Step 5: Systematic Uncertainty --- | ||
|
|
||
| JOB systematic_uncertainty FAIR_universe_Higgs_tautau/htcondor/job.sub | ||
| VARS systematic_uncertainty STEP="systematic_uncertainty_training" CONFIG="$(CONFIG)" CPUS="4" MEM="32GB" GPUS="1" DISK="32GB" | ||
| PARENT likelihood_ratio_estimation CHILD systematic_uncertainty | ||
|
|
||
| # --- Step 6: Inference --- | ||
|
|
||
| JOB parameter_fitting FAIR_universe_Higgs_tautau/htcondor/job.sub | ||
| VARS parameter_fitting STEP="parameter_fitting" CONFIG="$(CONFIG)" CPUS="8" MEM="16GB" GPUS="0" DISK="16GB" | ||
| PARENT systematic_uncertainty CHILD parameter_fitting | ||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And everywhere else too - change config.yaml to config.yml