We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb03706 commit 9a0c582Copy full SHA for 9a0c582
src/guidellm/executor/profile_generator.py
@@ -69,6 +69,8 @@ def next_profile(
69
class FixedRateProfileGenerator(ProfileGenerator):
70
def __init__(self, rate: List[float], rate_type: str, **kwargs):
71
super().__init__(ProfileGenerationModes.FIXED)
72
+ if rate_type == "synchronous" and rate.length > 0:
73
+ raise ValueError("custom rates are not supported in synchronous mode")
74
self._rates = rate
75
self._rate_index = 0
76
self._rate_type = rate_type
0 commit comments