AmoghAtreya commented on PR #40765:
URL: https://github.com/apache/beam/pull/40765#issuecomment-6783468521

   > Today, files that exist before startup produce a single 
`ModelMetadata(model_id='')`, meaning "use the model configured on the 
handler". In streaming, that first value is what makes the global-window side 
input available. I think we should keep that behavior, without it, RunInference 
buffers its main input until a new model is uploaded
   
   Kept that behavior. Files that already exist at startup still produce a 
single ModelMetadata(model_id=''), so RunInference uses the model configured on 
the handler and the global-window side input is available immediately. A later 
file is emitted only when its modification time is newer. If the first poll 
already contains a newer file, only that file is emitted, so the pane still has 
one value for AsSingleton.


-- 
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