Skip to content

Commit 65da00e

Browse files
committed
changed name for utils.logging (ambiguous)
1 parent b1896d3 commit 65da00e

File tree

6 files changed

+4
-6
lines changed

6 files changed

+4
-6
lines changed

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ src = ["src", "tests"]
4848
[tool.ruff.lint]
4949
select = ["ALL"]
5050
ignore = [
51-
"ANN101",
52-
"ANN102",
5351
"ANN401", # self / cls / Any annotations
5452
"BLE001", # blind exceptions
5553
"TD", # todo syntax

src/torchrunx/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from .launcher import Launcher, LaunchResult, launch
44
from .utils.errors import AgentFailedError, WorkerFailedError
5-
from .utils.logging import add_filter_to_handler, file_handler, stream_handler
5+
from .utils.logging_server import add_filter_to_handler, file_handler, stream_handler
66

77
__all__ = [
88
"AgentFailedError",

src/torchrunx/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
LauncherAgentGroup,
2020
get_open_port,
2121
)
22-
from .utils.logging import log_records_to_socket, redirect_stdio_to_logger
22+
from .utils.logging_server import log_records_to_socket, redirect_stdio_to_logger
2323
from .worker import WorkerArgs, worker_entrypoint
2424

2525

src/torchrunx/launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
ExceptionFromWorker,
3535
WorkerFailedError,
3636
)
37-
from .utils.logging import LoggingServerArgs, start_logging_server
37+
from .utils.logging_server import LoggingServerArgs, start_logging_server
3838

3939

4040
@dataclass

src/torchrunx/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import torch.distributed as dist
1616

1717
from .utils.errors import ExceptionFromWorker
18-
from .utils.logging import log_records_to_socket, redirect_stdio_to_logger
18+
from .utils.logging_server import log_records_to_socket, redirect_stdio_to_logger
1919

2020
__all__ = ["WorkerArgs", "worker_entrypoint"]
2121

0 commit comments

Comments
 (0)