-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Papermill scalffold example #681
Papermill scalffold example #681
Conversation
Check out this pull request on ReviewNB: https://app.reviewnb.com/Microsoft/Recommenders/pull/681 Visit www.reviewnb.com to know how we simplify your Jupyter Notebook workflows. |
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.
This looks really good @jingyanwangms. I have some questions and suggestions
hey @jingyanwangms, this is really good, it is in fact one of the works that we need the most. Question, what is the relation of this PR with this other one #575? |
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.
@jingyanwangms just my two cents, it would be good to have some information in the notebook put at a place where all information about setting up Azure, benefits of Azure, etc. is found. I personally think the expectation of this notebook is about how to run a recommender quickstart/deepdive/hyper-tuning notebook on AzureML Service.
What do you think?
bbdd4e8
to
bab35af
Compare
@@ -0,0 +1,290 @@ | |||
{ |
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.
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.
#728 is merged to staging
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.
rebased to latest staging
How are we differentiating this and the run_sar_on_aml notebook? there's some repetition between those two, so it's a little confusing if they are basically the same, or if one way is better than another? Personally I like having a separate notebook that will just execute the notebook as is, instead of having to integrate azureml into the notebook, but clarifying the two approaches (pros/cons) might help. |
@gramhagen the benefit of this notebook is to show that you can submit any notebook as is to azureML without changing any code. the other notebook is an example of how you COULD change the code to be able to utilize items like data store, estimators, etc that are found in AzureML. I think this would be better suited in the notebooks folder rather than quickstart |
awesome work @jingyanwangms!!! |
mmm @gramhagen it looks there is a conflict between the changes you made notebooks/00_quick_start/sar_movielens_with_azureml.ipynb and this PR |
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.
I still think that run based creation for the compute will take too long. If a user is submitting multiple notebooks to test out, it will take them over 10 minutes every time to create, prepare, and then finally train. I think we should either show both ways to do it, or only show the persistent compute so that if a user does it once, they can easily switch to a new notebook and it should be much faster.
yeah, one of us will need to go through and resolve those changes. I can take a stab at it tomorrow unless you'd rather do it @jingyanwangms ? |
"![Experiment submit output](https://recodatasets.blob.core.windows.net/images/aml_papermill_cell_output.jpg)\n", | ||
"After clicking \"Link to Azure Portal\", experiment run details tab looks like this\n", | ||
"![Azure Portal Experiment](https://recodatasets.blob.core.windows.net/images/aml_papermill_portal.jpg)\n", | ||
"Experiment output is out.ipynb. You can download and view this file locally.\n", |
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.
This is not the experiment output. The metrics are logged to the run, and the out.ipynb is the notebook that was initially submitted. I don't think we need the image
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.
I just tried submitting a notebook without output and out.ipynb comes with output. I think out.ipynb is the notebook after the run
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.
I just meant that the text is incorrect. It is not output from the experiment. They can see the notebook that was submitted to the experiment logged as out.ipynb
@heatherbshapiro I changed the notebook to use persistent compute |
@gramhagen Rebased this pr to latest staging |
2599165
to
a55d040
Compare
Can we please move to the notebook folder rather than the quickstart? |
@heatherbshapiro moved to notebooks/ and changed text as |
Description
This noteboook provides a scaffold to directly submit an existing notebook to AzureML compute targets. Now a user doesn't have to rewrite the training script, instead, just by replacing file name, now user can submit notebook directly.
Notes:
run_config_aml.environment.python.conda_dependencies.remove_conda_package("pip>=19.0.3")
as workaround for what I think is a bug in azureml.coreRelated Issues
Issue 695 [BUG] Remove contrib from azureml
Checklist: