mirror of
https://github.com/vale981/ray
synced 2025-03-12 06:06:39 -04:00
66 lines
2.3 KiB
JSON
66 lines
2.3 KiB
JSON
![]() |
{
|
||
|
"deployments": [
|
||
|
{
|
||
|
"name": "shallow",
|
||
|
"import_path": "test_env.shallow_import.ShallowClass",
|
||
|
"init_args": [],
|
||
|
"init_kwargs": {},
|
||
|
"num_replicas": 3,
|
||
|
"route_prefix": "/shallow",
|
||
|
"max_concurrent_queries": 100,
|
||
|
"user_config": null,
|
||
|
"autoscaling_config": null,
|
||
|
"graceful_shutdown_wait_loop_s": 2.0,
|
||
|
"graceful_shutdown_timeout_s": 20.0,
|
||
|
"health_check_period_s": 10.0,
|
||
|
"health_check_timeout_s": 30.0,
|
||
|
"ray_actor_options": {
|
||
|
"runtime_env": {
|
||
|
"py_modules": [
|
||
|
"https://github.com/shrekris-anyscale/test_deploy_group/archive/HEAD.zip",
|
||
|
"https://github.com/shrekris-anyscale/test_module/archive/HEAD.zip",
|
||
|
null
|
||
|
],
|
||
|
"working_dir": null
|
||
|
},
|
||
|
"num_cpus": 1.0,
|
||
|
"num_gpus": 0.0,
|
||
|
"memory": 0.0,
|
||
|
"object_store_memory": 0.0,
|
||
|
"resources": {},
|
||
|
"accelerator_type": null
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "one",
|
||
|
"import_path": "test_module.test.one",
|
||
|
"init_args": [],
|
||
|
"init_kwargs": {},
|
||
|
"num_replicas": 3,
|
||
|
"route_prefix": "/one",
|
||
|
"max_concurrent_queries": 100,
|
||
|
"user_config": null,
|
||
|
"autoscaling_config": null,
|
||
|
"graceful_shutdown_wait_loop_s": 2.0,
|
||
|
"graceful_shutdown_timeout_s": 20.0,
|
||
|
"health_check_period_s": 10.0,
|
||
|
"health_check_timeout_s": 30.0,
|
||
|
"ray_actor_options": {
|
||
|
"runtime_env": {
|
||
|
"py_modules": [
|
||
|
"https://github.com/shrekris-anyscale/test_deploy_group/archive/HEAD.zip",
|
||
|
"https://github.com/shrekris-anyscale/test_module/archive/HEAD.zip",
|
||
|
null
|
||
|
],
|
||
|
"working_dir": null
|
||
|
},
|
||
|
"num_cpus": 1.0,
|
||
|
"num_gpus": 0.0,
|
||
|
"memory": 0.0,
|
||
|
"object_store_memory": 0.0,
|
||
|
"resources": {},
|
||
|
"accelerator_type": null
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|