ray icon indicating copy to clipboard operation
ray copied to clipboard

[Serve] Allow JobConfig params to be specified for `ray.init` when using Serve

Open alexeykudinkin opened this issue 2 years ago • 3 comments

What happened + What you expected to happen

Currently, there's no way to specify JobConfig param when using Ray Serve. That leads to challenges with using Java for ex, b/c using Java requires you to specify code_search_path.

Versions / Dependencies

2.10

Reproduction script

Do serve run with Java application

Issue Severity

High: It blocks me from completing my task.

alexeykudinkin avatar Apr 17 '24 17:04 alexeykudinkin

can't you just call ray.init?

edoakes avatar Apr 18 '24 20:04 edoakes

Hi @edoakes l am using Ray Serve and deploy with RayService, l can not find where can call ray.init.

chenzhengfei avatar Apr 19 '24 01:04 chenzhengfei

Closing as not planned: no further requests since 2024. A Java driver can set ray.job.code-search-path before Serve.start, as shown in Managing Java deployments. Comment here if you still need this for RayService

johntaylor-cell avatar Nov 19 '26 00:11 johntaylor-cell