Skip to content
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

Small fixes in getting-started ETL and training notebooks and fix tuple error in serving notebook #586

Merged
merged 8 commits into from
Jan 3, 2023

Conversation

rnyak
Copy link
Contributor

@rnyak rnyak commented Dec 27, 2022

This PR:

  • fixes/sets data paths and env variables for certain args in the notebooks
  • fixes the error due to returned tuple from Merlin dataloader in the 03 notebook.
  • adding a unit test with for 01 and 02 notebooks using testbook.

Note: if we want a unit test for serving notebook, we would need systems here. currently we dont couple TF4Rec to systems, that's why I removed that part in the unit test code. The decision is to do that in Merlin repo, instead of TF4Rec repo.

@rnyak rnyak added this to the Merlin 23.01 milestone Dec 27, 2022
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@rnyak rnyak added the chore Maintenance for the repository label Dec 27, 2022
@rnyak rnyak changed the title Add unit test for getting started notebooks via testbook Small fixes in getting-started ETL and training notebooks and fix tuple error in serving notebook Dec 28, 2022
@rnyak rnyak added the P0 label Dec 28, 2022
@github-actions
Copy link

Copy link
Contributor

@sararb sararb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR! The updates look good to me. I just left one comment regarding the old notebooks' unit test.

@@ -28,7 +28,8 @@
SESSION_PATH = "examples/getting-started-session-based/"


@pytest.mark.skipif(find_spec("cudf") is None, reason="needs cudf")
# @pytest.mark.skipif(find_spec("cudf") is None, reason="needs cudf")
@pytest.mark.skip(reason="there is a testbook version of this test")
def test_session(tmpdir):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To double-check, will this test always be skipped?
If yes, can we remove it as it is replaced by the testbook version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jperez999 since I am replacing this test with the testbook version I added mark.skip into the existing test, but we can remove it as well. what do u think? thanks.

@bschifferer
Copy link
Contributor

The PR looks good to me. Do we have no Jenkins GitHub Action for it?

@rnyak
Copy link
Contributor Author

rnyak commented Jan 3, 2023

Do we have no Jenkins GitHub Action for it?

Thanks for reviewing. If I understood your question correctly : AFAIK, we do no longer use Jenkins for PR testing
. we only use GH actions.

@jperez999
Copy link
Contributor

@karlhigley karlhigley merged commit 495073d into main Jan 3, 2023
@rnyak rnyak deleted the add_unittest branch January 4, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tests chore Maintenance for the repository P0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants