-
-
Notifications
You must be signed in to change notification settings - Fork 692
Fix mypy issue with pytorch nightly #1446
Copy link
Copy link
Closed
Labels
Description
🐛 Bug description
Currently, there is an issue with running mypy on ignite when using pytorch-nightly :
ignite/distributed/comp_models/native.py:334: error: Incompatible types in
assignment (expression has type "ReduceOp", variable has type "str")
[assignment]
op = self._reduce_op_map[op]
^
Found 1 error in 1 file (checked 84 source files)
@gruebel could you please take a look if we can fix it ? Thanks
Reactions are currently unavailable