-
Notifications
You must be signed in to change notification settings - Fork 215
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
Added config parsing check to GaNDLF task runner #908
Conversation
So, there are a few issues:
git clone --depth=1 https://github.com/MLCommons/GaNDLF.git
cd GaNDLF
git fetch --tags
echo "Checkout the latest GaNDLF tag"
latestTag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
git checkout $latestTag
cat ./testing/config_segmentation.yaml ### this is always tested in the GaNDLF CI
Thoughts, @psfoley? |
Thanks for the PR and detailing the issues, @sarthakpati. Am I understanding correctly that the change to load the default params in the PR is unpreferred? If so let's avoid that. I agree it's better to test against the latest tag and use the latest GaNDLF configuration format. To ensure OpenFL is always up to date with the latest GaNDLF format, maybe we could rely on this functionality:
Crossing this out because it looks like |
Added these lines: echo "Initialize OpenFL plan"
fx plan initialize --gandlf_config testing/config_segmentation.yaml Getting this error [ref]: Initialize OpenFL plan
Usage: fx plan initialize [OPTIONS]
Try 'fx plan initialize --help' for help. Did I miss something? |
There's a couple things going on here:
This will not use the plan you initialized with |
Thanks for the tips, @psfoley! I have incorporated this into the latest updates. Unfortunately, it still doesn't seem to be working. Any ideas? |
@psfoley - this seems to be still taking the older version of the config. Can you please check to see what I am missing? |
Fix plan initialization
Signed-off-by: Patrick Foley <[email protected]>
Signed-off-by: Patrick Foley <[email protected]>
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.
Tests are now passing 🚀 Thanks @sarthakpati! Approved and merged
Thanks for all your help with this, @psfoley! 😄 |
* added config parsing check * updated usage * using latest gandlf tag, and updated plan initialization command * updated message * renamed * minor rename * no need for this comment * let's see if this works * updated ignore * trying to set the paths * fixed paths * added debug * added an assert * better check for empty dict * no need for this `mkdir` command * this is not really needed in the workflow * added the plan initialization in the test * Add default value for --gandlf_config argument * checking if this worked * trying using `pwd` * should fix lint * check file presence * removed trailing whitespace * checking another path * checking copy to a known location * different path * trying something else * Fix plan initialization * Fix plan initialization for GaNDLF Signed-off-by: Patrick Foley <[email protected]> * Attempt to add missing param Signed-off-by: Patrick Foley <[email protected]> * better way to initialize default * using the 3d patch instead of the default 2d one * lint fix * this should be there * lint fix * this should fix it * using 2d data for unit test instead of 3d * trying something else * added a few comments --------- Signed-off-by: Patrick Foley <[email protected]> Co-authored-by: Patrick Foley <[email protected]> Signed-off-by: nammbash <[email protected]>
* added config parsing check * updated usage * using latest gandlf tag, and updated plan initialization command * updated message * renamed * minor rename * no need for this comment * let's see if this works * updated ignore * trying to set the paths * fixed paths * added debug * added an assert * better check for empty dict * no need for this `mkdir` command * this is not really needed in the workflow * added the plan initialization in the test * Add default value for --gandlf_config argument * checking if this worked * trying using `pwd` * should fix lint * check file presence * removed trailing whitespace * checking another path * checking copy to a known location * different path * trying something else * Fix plan initialization * Fix plan initialization for GaNDLF Signed-off-by: Patrick Foley <[email protected]> * Attempt to add missing param Signed-off-by: Patrick Foley <[email protected]> * better way to initialize default * using the 3d patch instead of the default 2d one * lint fix * this should be there * lint fix * this should fix it * using 2d data for unit test instead of 3d * trying something else * added a few comments --------- Signed-off-by: Patrick Foley <[email protected]> Co-authored-by: Patrick Foley <[email protected]> Signed-off-by: nammbash <[email protected]>
* added config parsing check * updated usage * using latest gandlf tag, and updated plan initialization command * updated message * renamed * minor rename * no need for this comment * let's see if this works * updated ignore * trying to set the paths * fixed paths * added debug * added an assert * better check for empty dict * no need for this `mkdir` command * this is not really needed in the workflow * added the plan initialization in the test * Add default value for --gandlf_config argument * checking if this worked * trying using `pwd` * should fix lint * check file presence * removed trailing whitespace * checking another path * checking copy to a known location * different path * trying something else * Fix plan initialization * Fix plan initialization for GaNDLF Signed-off-by: Patrick Foley <[email protected]> * Attempt to add missing param Signed-off-by: Patrick Foley <[email protected]> * better way to initialize default * using the 3d patch instead of the default 2d one * lint fix * this should be there * lint fix * this should fix it * using 2d data for unit test instead of 3d * trying something else * added a few comments --------- Signed-off-by: Patrick Foley <[email protected]> Co-authored-by: Patrick Foley <[email protected]> Signed-off-by: nammbash <[email protected]>
* added config parsing check * updated usage * using latest gandlf tag, and updated plan initialization command * updated message * renamed * minor rename * no need for this comment * let's see if this works * updated ignore * trying to set the paths * fixed paths * added debug * added an assert * better check for empty dict * no need for this `mkdir` command * this is not really needed in the workflow * added the plan initialization in the test * Add default value for --gandlf_config argument * checking if this worked * trying using `pwd` * should fix lint * check file presence * removed trailing whitespace * checking another path * checking copy to a known location * different path * trying something else * Fix plan initialization * Fix plan initialization for GaNDLF Signed-off-by: Patrick Foley <[email protected]> * Attempt to add missing param Signed-off-by: Patrick Foley <[email protected]> * better way to initialize default * using the 3d patch instead of the default 2d one * lint fix * this should be there * lint fix * this should fix it * using 2d data for unit test instead of 3d * trying something else * added a few comments --------- Signed-off-by: Patrick Foley <[email protected]> Co-authored-by: Patrick Foley <[email protected]> Signed-off-by: nammbash <[email protected]>
* added config parsing check * updated usage * using latest gandlf tag, and updated plan initialization command * updated message * renamed * minor rename * no need for this comment * let's see if this works * updated ignore * trying to set the paths * fixed paths * added debug * added an assert * better check for empty dict * no need for this `mkdir` command * this is not really needed in the workflow * added the plan initialization in the test * Add default value for --gandlf_config argument * checking if this worked * trying using `pwd` * should fix lint * check file presence * removed trailing whitespace * checking another path * checking copy to a known location * different path * trying something else * Fix plan initialization * Fix plan initialization for GaNDLF Signed-off-by: Patrick Foley <[email protected]> * Attempt to add missing param Signed-off-by: Patrick Foley <[email protected]> * better way to initialize default * using the 3d patch instead of the default 2d one * lint fix * this should be there * lint fix * this should fix it * using 2d data for unit test instead of 3d * trying something else * added a few comments --------- Signed-off-by: Patrick Foley <[email protected]> Co-authored-by: Patrick Foley <[email protected]> Signed-off-by: manuelhsantana <[email protected]>
No description provided.