update ace and wan workers

This commit is contained in:
Lucas Armand
2025-12-10 15:09:27 -08:00
parent 0cd64adfc4
commit e2a771bb5a
2 changed files with 4 additions and 11 deletions
+2 -6
View File
@@ -38,10 +38,6 @@ benchmark_lyrics = [
"[verse]\nCrowds ignite in vibrant flare\nBeats explode through smoky air\nDJ robes replaced with flame\nPope on decks in holy frame\n\n[verse]\nLeather gleams in blinding light\nTurntables spin with sacred might\nChoirs echo in the bass\nHeaven pulses through the place\n\n[chorus]\nLift the roof and shake the floor\nSacred rhythm evermore\nLet the music take control\nFeel the blessing in your soul", "[verse]\nCrowds ignite in vibrant flare\nBeats explode through smoky air\nDJ robes replaced with flame\nPope on decks in holy frame\n\n[verse]\nLeather gleams in blinding light\nTurntables spin with sacred might\nChoirs echo in the bass\nHeaven pulses through the place\n\n[chorus]\nLift the roof and shake the floor\nSacred rhythm evermore\nLet the music take control\nFeel the blessing in your soul",
] ]
def parse_request(json_msg):
return {"input" : json_msg}
benchmark_dataset = [ benchmark_dataset = [
{ {
"input": { "input": {
@@ -171,11 +167,11 @@ worker_config = WorkerConfig(
route="/generate/sync", route="/generate/sync",
allow_parallel_requests=False, allow_parallel_requests=False,
max_queue_time=10.0, max_queue_time=10.0,
request_parser=parse_request,
benchmark_config=BenchmarkConfig( benchmark_config=BenchmarkConfig(
dataset=benchmark_dataset, dataset=benchmark_dataset,
runs=1 runs=1
) ),
workload_calculator= lambda _ : 1000.0
) )
], ],
log_action_config=LogActionConfig( log_action_config=LogActionConfig(
+2 -5
View File
@@ -38,9 +38,6 @@ benchmark_prompts = [
"Pope Francis DJ in leather jacket, mixing on giant console; dramatic.", "Pope Francis DJ in leather jacket, mixing on giant console; dramatic.",
] ]
def parse_request(json_msg):
return {"input" : json_msg}
benchmark_dataset = [ benchmark_dataset = [
{ {
"input": { "input": {
@@ -274,11 +271,11 @@ worker_config = WorkerConfig(
route="/generate/sync", route="/generate/sync",
allow_parallel_requests=False, allow_parallel_requests=False,
max_queue_time=10.0, max_queue_time=10.0,
request_parser=parse_request,
benchmark_config=BenchmarkConfig( benchmark_config=BenchmarkConfig(
dataset=benchmark_dataset, dataset=benchmark_dataset,
runs=1 runs=1
) ),
workload_calculator= lambda _ : 10000.0
) )
], ],
log_action_config=LogActionConfig( log_action_config=LogActionConfig(