Add pydocstyle to the ruff rules (#52136)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Harry Mellor <hej.mellor@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -29,8 +29,7 @@ TensorIpcQueue = MPQueue
|
||||
|
||||
@dataclasses.dataclass
|
||||
class TensorIpcData:
|
||||
"""
|
||||
Data sent via torch.multiprocessing.Queue for zero-copy IPC.
|
||||
"""Data sent via torch.multiprocessing.Queue for zero-copy IPC.
|
||||
|
||||
Contains the tensor_id and the actual tensor. The tensor is
|
||||
shared in memory (GPU or CPU) for efficient inter-process communication.
|
||||
@@ -130,7 +129,6 @@ class TensorIpcReceiver:
|
||||
the queue, buffering them, until the requested tensor is found.
|
||||
Works for CUDA and CPU.
|
||||
"""
|
||||
|
||||
# Create lookup key from handle
|
||||
sender_id: str = meta["sender_id"]
|
||||
message_id: int = meta["message_id"]
|
||||
|
||||
Reference in New Issue
Block a user