File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
launch/dynamo-run/src/subprocess Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 17
17
18
18
from dynamo .llm import ModelType , register_llm
19
19
from dynamo .runtime import DistributedRuntime , dynamo_worker
20
+ from dynamo .runtime .logging import configure_dynamo_logging
20
21
21
22
# Only used if you run it manually from the command line
22
23
DEFAULT_ENDPOINT = "dyn://dynamo.backend.generate"
23
24
DEFAULT_MODEL = "Qwen/Qwen3-0.6B"
24
25
25
- logging . basicConfig ( level = logging . DEBUG )
26
+ configure_dynamo_logging ( )
26
27
27
28
28
29
class Config :
Original file line number Diff line number Diff line change 39
39
register_llm ,
40
40
)
41
41
from dynamo .runtime import DistributedRuntime , dynamo_worker
42
+ from dynamo .runtime .logging import configure_dynamo_logging
42
43
43
44
# Only used if you run it manually from the command line
44
45
DEFAULT_ENDPOINT = "dyn://dynamo.backend.generate"
50
51
# Default buffer size for kv cache events.
51
52
DEFAULT_KV_EVENT_BUFFER_MAX_SIZE = 1024
52
53
53
- logging . basicConfig ( level = logging . DEBUG )
54
+ configure_dynamo_logging ( )
54
55
55
56
56
57
def parse_endpoint (endpoint : str ) -> tuple [str , str , str ]:
Original file line number Diff line number Diff line change 28
28
29
29
from dynamo .llm import ModelType , WorkerMetricsPublisher , register_llm
30
30
from dynamo .runtime import DistributedRuntime , dynamo_worker
31
+ from dynamo .runtime .logging import configure_dynamo_logging
31
32
32
33
# Only used if you run it manually from the command line
33
34
DEFAULT_ENDPOINT = "dyn://dynamo.backend.generate"
34
35
DEFAULT_MODEL = "Qwen/Qwen3-0.6B"
35
36
36
- logging . basicConfig ( level = logging . DEBUG )
37
+ configure_dynamo_logging ( )
37
38
38
39
39
40
class Config :
Original file line number Diff line number Diff line change 40
40
register_llm ,
41
41
)
42
42
from dynamo .runtime import Component , DistributedRuntime , dynamo_worker
43
+ from dynamo .runtime .logging import configure_dynamo_logging
43
44
44
45
# Only used if you run it manually from the command line
45
46
DEFAULT_ENDPOINT = "dyn://dynamo.backend.generate"
46
47
DEFAULT_MODEL = "Qwen/Qwen3-0.6B"
47
48
48
- logging . basicConfig ( level = logging . DEBUG )
49
+ configure_dynamo_logging ( )
49
50
logger = logging .getLogger (__name__ )
50
51
51
52
You can’t perform that action at this time.
0 commit comments