Skip to content

Commit

Permalink
Update Simple AV Workload.
Browse files Browse the repository at this point in the history
  • Loading branch information
sukritkalra committed Jan 23, 2024
1 parent 7ef8a6e commit f25a3e2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
12 changes: 2 additions & 10 deletions configs/simple_av_workload.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,11 @@
--runtime_variance=0

# Scheduler configs.
#--scheduler=TetriSched_Gurobi
--scheduler=TetriSched
--scheduler=EDF
--scheduler_runtime=0
--enforce_deadlines
--retract_schedules
--release_taskgraphs
--noscheduler_enable_batching
--scheduler_log_times=0
--drop_skipped_tasks
--scheduler_plan_ahead=7000
--scheduler_time_discretization=20

# Execution mode configs.
--execution_mode=json
--workload_profile_path=./profiles/workload/simple_av_workload.yaml
--worker_profile_path=./profiles/workers/worker_1_machines_1_slots_profile.json
--worker_profile_path=./profiles/workers/worker_1_machine_1_gpu_profile.yaml
4 changes: 2 additions & 2 deletions data/workload_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def __init__(self, path: str, _flags: Optional["absl.flags"] = None) -> None:
else None
)
self._num_invocations = (
_flags.override_num_invocations
if _flags.override_num_invocations > 0
_flags.override_num_invocation
if _flags.override_num_invocation > 0
else None
)
self._unique_work_profiles = _flags.unique_work_profiles
Expand Down
6 changes: 6 additions & 0 deletions profiles/workers/worker_1_machine_1_gpu_profile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- name: WorkerPool_1
workers:
- name: Worker_1_1
resources:
- name: GPU
quantity: 1

0 comments on commit f25a3e2

Please sign in to comment.