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

Beam ml notebooks #22510

Merged
merged 6 commits into from
Aug 2, 2022
Merged

Beam ml notebooks #22510

merged 6 commits into from
Aug 2, 2022

Conversation

AnandInguva
Copy link
Contributor

  • Adding a beam ML notebook which demonstrates the use of RunInference transform with Sklearn and Pytorch.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI.

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@AnandInguva
Copy link
Contributor Author

R: @TheNeuralBit

"source": [
"torch.save(five_times_model.state_dict(), save_model_dir_multiply_five)\n",
"print(os.path.exists(save_model_dir_multiply_five)) # verify if the model is saved"
]
Copy link
Member

Choose a reason for hiding this comment

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

Would it be possible to check this in with the outputs so users can view the executed code in e.g. the GitHub UI?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added the outputs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also, added a comment on the issue where installing apache_beam in the colab takes a long time. Added the workaround for it and linked the GH issue in the colab

@AnandInguva
Copy link
Contributor Author

PTAL @TheNeuralBit

@TheNeuralBit TheNeuralBit merged commit 63d0f0d into apache:master Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants