Force keyword-only usage to init Fabric (#17023)
This commit is contained in:
parent
dd02397720
commit
b09c0776bc
|
@ -78,6 +78,7 @@ class Fabric:
|
|||
|
||||
def __init__(
|
||||
self,
|
||||
*,
|
||||
accelerator: Union[str, Accelerator] = "auto",
|
||||
strategy: Union[str, Strategy] = "auto",
|
||||
devices: Union[List[int], str, int] = "auto",
|
||||
|
|
Loading…
Reference in New Issue