[
https://issues.apache.org/jira/browse/BEAM-14218?focusedWorklogId=761054&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-761054
]
ASF GitHub Bot logged work on BEAM-14218:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Apr/22 19:36
Start Date: 22/Apr/22 19:36
Worklog Time Spent: 10m
Work Description: ryanthompson591 opened a new pull request, #17448:
URL: https://github.com/apache/beam/pull/17448
Allows resource hints to be added to base run inference.
This allows the combination of code currently in TFX-BSL
see https://github.com/tensorflow/tfx-
bsl/blob/182918aaefd5287e7669d87bfc818155470315aa/tfx_bsl/beam/run_inference.py#L170
Ability for this to be used relies on
https://issues.apache.org/jira/browse/BEAM-13690
------------------------
Thank you for your contribution! Follow this checklist to help us
incorporate your contribution quickly and easily:
- [ ] [**Choose
reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and
mention them in a comment (`R: @username`).
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue, if applicable. This will automatically link the pull request to the
issue.
- [ ] Update `CHANGES.md` with noteworthy changes.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
See the [Contributor Guide](https://beam.apache.org/contribute) for more
tips on [how to make review process
smoother](https://beam.apache.org/contribute/#make-reviewers-job-easier).
To check the build health, please visit
[https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md](https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md)
GitHub Actions Tests Status (on master branch)
------------------------------------------------------------------------------------------------
[](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more
information about GitHub Actions CI.
Issue Time Tracking
-------------------
Worklog Id: (was: 761054)
Remaining Estimate: 0h
Time Spent: 10m
> Add resource location hints to base RunInference Implementation
> ---------------------------------------------------------------
>
> Key: BEAM-14218
> URL: https://issues.apache.org/jira/browse/BEAM-14218
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-py-core
> Reporter: Ryan Thompson
> Assignee: Ryan Thompson
> Priority: P2
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Our generic version of RunInference should add resource location hints,
> similar to what TFX-BSL does here.
>
> [https://github.com/tensorflow/tfx-bsl/blob/182918aaefd5287e7669d87bfc818155470315aa/tfx_bsl/beam/run_inference.py#L117]
>
> There's no reason that these hints shouldn't be just as relevant to sk-learn
> or pytorch large models hosted on GC or wherever these hints are supported.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)