Skip to content

Commit

Permalink
Test runtime env overhead
Browse files Browse the repository at this point in the history
Signed-off-by: Jiajun Yao <[email protected]>
  • Loading branch information
jjyao committed Nov 5, 2024
1 parent d2de983 commit ab11d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/benchmarks/distributed/test_many_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
def test_max_running_tasks(num_tasks):
cpus_per_task = 0.25

@ray.remote(num_cpus=cpus_per_task)
@ray.remote(num_cpus=cpus_per_task, runtime_env={"env_vars": {"FOO": "bar"}})
def task():
time.sleep(sleep_time)

Expand Down

0 comments on commit ab11d33

Please sign in to comment.