1b1fe0cc5b6fd58055acde3b06e8fe4e2924e492,ci/long_running_tests/workloads/serve.py,,,#,47
Before Change
print("Scaling to 30 replicas")
config = serve.get_backend_config("echo:v0")
config.num_replicas = 30
config.max_batch_size = 16
serve.set_backend_config("echo:v0", config)
After Change
serve.create_endpoint("echo", "/echo")
config = serve.BackendConfig(num_replicas=30, max_batch_size=16)
serve.create_backend(echo, "echo:v1", backend_config=config)
serve.set_traffic("echo", {"echo:v1": 1})
print("Warming up")
for _ in range(5):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: ray-project/ray
Commit Name: 1b1fe0cc5b6fd58055acde3b06e8fe4e2924e492
Time: 2020-04-29
Author: xmo@berkeley.edu
File Name: ci/long_running_tests/workloads/serve.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 6373c706615bc94c0a1e7fc564b3d18c3d342d91
Time: 2020-04-30
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/echo_full.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 6373c706615bc94c0a1e7fc564b3d18c3d342d91
Time: 2020-04-30
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_scaling_replicas