You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/09/14 00:15:29 UTC

[GitHub] [beam] AnandInguva commented on pull request #23215: Add section to docs on resource hints/RunInference

AnandInguva commented on PR #23215:
URL: https://github.com/apache/beam/pull/23215#issuecomment-1246078206

   Actually, we can define the resource hints in the model handler for the RunInference transform. 
   
   It can be defined by overriding https://github.com/apache/beam/blob/f7073818a9ed47c4b4dedbb7269105b1676c2db3/sdks/python/apache_beam/ml/inference/base.py#L123
   
   This gets called at https://github.com/apache/beam/blob/f7073818a9ed47c4b4dedbb7269105b1676c2db3/sdks/python/apache_beam/ml/inference/base.py#L327
   
   Can we include this in the documentation as well? Something like `Pass Resource hints through ModelHandler`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org