microsoft / onnxscript

ONNX Script enables developers to naturally author ONNX functions and models using a subset of Python.
https://onnxscript.ai/
MIT License
246 stars 46 forks source link

Evaluator thread safety #297

Open justinchuby opened 1 year ago

justinchuby commented 1 year ago

Which means no global Evaluator, just to be safe when we do distributed stuff.

cc @wschin @gramalingam

gramalingam commented 1 year ago

Yes, we need to move some of the globals into thread-local if/when we want to this