mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[xpu] Fix type annotation for ProcessGroupXCCL (#166418)
After #163049, this PR fixes the type annotations to match the actual implementation for ProcessGroupXCCL::Options. Pull Request resolved: https://github.com/pytorch/pytorch/pull/166418 Approved by: https://github.com/guangyey, https://github.com/ezyang
This commit is contained in:
parent
b939de26d1
commit
8221ee6db9
|
|
@ -849,7 +849,9 @@ class _SymmetricMemory:
|
|||
|
||||
class ProcessGroupXCCL(Backend):
|
||||
class Options(Backend.Options):
|
||||
def __init__(self): ...
|
||||
is_high_priority_stream: bool
|
||||
|
||||
def __init__(self, is_high_priority_stream: bool = False): ...
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user