Skip to content

Commit 5fc9fab

Browse files
committed
Scheduler refactor [scheduler]: constraints, objects, and strategies
commit cfd8505 Author: Mark Kurtz <[email protected]> Date: Wed Aug 27 02:47:07 2025 +0000 updates from reviews commit 0f011c3 Author: Mark Kurtz <[email protected]> Date: Tue Aug 26 20:02:50 2025 +0000 fixes after rebasing commit 1cc24cd Author: Mark Kurtz <[email protected]> Date: Tue Aug 26 19:33:35 2025 +0000 Fixes to ensure tests will run commit 6fbd4ba Author: Mark Kurtz <[email protected]> Date: Tue Aug 26 19:06:52 2025 +0000 fix improper arg for tests commit 2304804 Author: Mark Kurtz <[email protected]> Date: Tue Aug 26 18:51:25 2025 +0000 Add new scheduler constraints, objects, and strategy for refactor commit 20664b4 Author: Mark Kurtz <[email protected]> Date: Thu Aug 21 01:29:34 2025 +0000 Implementation and tests for the next utils package modules iteration for the scheduler refactor commit 07f0773 Author: Mark Kurtz <[email protected]> Date: Wed Aug 20 22:29:31 2025 +0000 Implementation and tests for the core utils packages for the scheduler refactor commit ea1e25d Author: Mark Kurtz <[email protected]> Date: Wed Aug 27 02:35:58 2025 +0000 update doc strings for clarifications in encoding.py commit fe76616 Author: Mark Kurtz <[email protected]> Date: Wed Aug 27 02:31:06 2025 +0000 Updates from review and requirements for worker integration commit b08e52a Author: Mark Kurtz <[email protected]> Date: Tue Aug 26 22:19:46 2025 -0400 Update src/guidellm/utils/encoding.py Co-authored-by: Samuel Monson <[email protected]> Signed-off-by: Mark Kurtz <[email protected]> commit cff8d91 Author: Mark Kurtz <[email protected]> Date: Tue Aug 26 17:52:18 2025 +0000 Fix styling issues commit 275f123 Author: Mark Kurtz <[email protected]> Date: Tue Aug 26 13:44:33 2025 -0400 Apply suggestion from @Copilot Co-authored-by: Copilot <[email protected]> Signed-off-by: Mark Kurtz <[email protected]> commit 77573a8 Author: Mark Kurtz <[email protected]> Date: Tue Aug 26 16:21:47 2025 +0000 fix improper name update commit 3629fd0 Author: Mark Kurtz <[email protected]> Date: Tue Aug 26 16:00:46 2025 +0000 Add multiprocessing utils for encoding and messaging commit 3e048e8 Author: Mark Kurtz <[email protected]> Date: Thu Aug 21 01:49:43 2025 +0000 minor fixes and updates commit 163e6e3 Author: Mark Kurtz <[email protected]> Date: Thu Aug 21 01:29:34 2025 +0000 Implementation and tests for the next utils package modules iteration for the scheduler refactor commit acf0646 Author: Mark Kurtz <[email protected]> Date: Wed Aug 20 19:01:42 2025 -0400 Update tests/unit/utils/test_registry.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Mark Kurtz <[email protected]> commit e3a1c48 Author: Mark Kurtz <[email protected]> Date: Wed Aug 20 22:29:31 2025 +0000 Implementation and tests for the core utils packages for the scheduler refactor
1 parent 6f7ca9f commit 5fc9fab

31 files changed

+5924
-521
lines changed

src/guidellm/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
hf_logging.set_verbosity_error()
2121
logging.getLogger("transformers").setLevel(logging.ERROR)
2222

23-
from .config import (
23+
from .logger import configure_logger, logger
24+
from .settings import (
2425
DatasetSettings,
2526
Environment,
2627
LoggingSettings,
@@ -30,7 +31,6 @@
3031
reload_settings,
3132
settings,
3233
)
33-
from .logger import configure_logger, logger
3434

3535
__all__ = [
3636
"DatasetSettings",

src/guidellm/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
)
1414
from guidellm.benchmark.entrypoints import benchmark_with_scenario
1515
from guidellm.benchmark.scenario import GenerativeTextScenario, get_builtin_scenarios
16-
from guidellm.config import print_config
1716
from guidellm.preprocess.dataset import ShortPromptStrategy, process_dataset
1817
from guidellm.scheduler import StrategyType
18+
from guidellm.settings import print_config
1919
from guidellm.utils import DefaultGroupHandler
2020
from guidellm.utils import cli as cli_tools
2121

src/guidellm/backend/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from PIL import Image
88

99
from guidellm.backend.response import ResponseSummary, StreamingTextResponse
10-
from guidellm.config import settings
10+
from guidellm.settings import settings
1111

1212
__all__ = [
1313
"Backend",

src/guidellm/backend/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
ResponseSummary,
1717
StreamingTextResponse,
1818
)
19-
from guidellm.config import settings
19+
from guidellm.settings import settings
2020

2121
__all__ = [
2222
"CHAT_COMPLETIONS",

src/guidellm/backend/response.py

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

33
from pydantic import computed_field
44

5-
from guidellm.config import settings
5+
from guidellm.settings import settings
66
from guidellm.utils import StandardBaseModel
77

88
__all__ = [

src/guidellm/benchmark/aggregator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
GenerativeTextErrorStats,
2222
GenerativeTextResponseStats,
2323
)
24-
from guidellm.config import settings
2524
from guidellm.request import (
2625
GenerationRequest,
2726
GenerativeRequestLoaderDescription,
@@ -34,6 +33,7 @@
3433
SchedulerRequestResult,
3534
WorkerDescription,
3635
)
36+
from guidellm.settings import settings
3737
from guidellm.utils import (
3838
RunningStats,
3939
StandardBaseModel,

src/guidellm/benchmark/output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
SweepProfile,
2121
ThroughputProfile,
2222
)
23-
from guidellm.config import settings
2423
from guidellm.presentation import UIDataBuilder
2524
from guidellm.presentation.injector import create_report
2625
from guidellm.scheduler import strategy_display_str
26+
from guidellm.settings import settings
2727
from guidellm.utils import (
2828
Colors,
2929
DistributionSummary,

src/guidellm/benchmark/profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import numpy as np
55
from pydantic import Field, computed_field
66

7-
from guidellm.config import settings
87
from guidellm.scheduler import (
98
AsyncConstantStrategy,
109
AsyncPoissonStrategy,
@@ -14,6 +13,7 @@
1413
SynchronousStrategy,
1514
ThroughputStrategy,
1615
)
16+
from guidellm.settings import settings
1717
from guidellm.utils import StandardBaseModel
1818

1919
__all__ = [

src/guidellm/logger.py

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

4242
from loguru import logger
4343

44-
from guidellm.config import LoggingSettings, settings
44+
from guidellm.settings import LoggingSettings, settings
4545

4646
__all__ = ["configure_logger", "logger"]
4747

src/guidellm/presentation/injector.py

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

55
from loguru import logger
66

7-
from guidellm.config import settings
7+
from guidellm.settings import settings
88
from guidellm.utils.text import load_text
99

1010

0 commit comments

Comments
 (0)