Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
Signed-off-by: dentiny <[email protected]>
  • Loading branch information
dentiny committed Feb 8, 2025
1 parent d73db67 commit 3df76db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
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, runtime_env={"env_vars": {"FOO": "bar"}})
@ray.remote(num_cpus=cpus_per_task)
def task():
time.sleep(sleep_time)

Expand Down
5 changes: 0 additions & 5 deletions src/ray/core_worker/core_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2317,11 +2317,6 @@ std::shared_ptr<rpc::RuntimeEnvInfo> CoreWorker::OverrideTaskOrActorRuntimeEnvIn
std::move(factory));
}

// TODO(hjiang): Current implementation is not the most ideal version, since it acquires a
// global lock for all operations; it's acceptable for now since no heavy-lifted operation
// is involved (considering the overall scheduling overhead is single-digit millisecond
// magnitude). But a better solution is LRU cache native providing a native support for
// sharding and `GetOrCreate` API.
std::shared_ptr<rpc::RuntimeEnvInfo> CoreWorker::OverrideTaskOrActorRuntimeEnvInfoImpl(
const std::string &serialized_runtime_env_info) const {
// TODO(Catch-Bull,SongGuyang): task runtime env not support the field eager_install
Expand Down

0 comments on commit 3df76db

Please sign in to comment.