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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to