This diff adds a stateless output option within ClassyBlock.py when if the environmental variable STATELESS_CLASSY_OUTPUT is enabled, self.output within ClassyBlock never hold the value of the last output (and thus is stateless). This is useful to prevent certain race conditions, while the default condition will still be maintained if the flag is not enabled to maintain original behavior.
Summary: X-link: https://github.com/fairinternal/ClassyVision/pull/101
This diff adds a stateless output option within
ClassyBlock.py
when if the environmental variableSTATELESS_CLASSY_OUTPUT
is enabled,self.output
withinClassyBlock
never hold the value of the last output (and thus is stateless). This is useful to prevent certain race conditions, while the default condition will still be maintained if the flag is not enabled to maintain original behavior.Differential Revision: D35662345