DeepSpeed
4abf637f - Remove mutable default parameter in init_inference() (#2540)

Commit
3 years ago
Remove mutable default parameter in init_inference() (#2540) A mutable default value is dangerous because editing it will change the value for all future calls to the function. The value is itself edited later in the function, so this problem will likely be encountered sooner or later. Co-authored-by: Michael Wyatt <michaelwyatt@microsoft.com>
Author
Parents
Loading