f37b6874523cdab4dc69118ff44b1bb8469a9217,ci/regression_test/stress_tests/test_many_tasks.py,,,#,47

Before Change


print("\tTotal time: {}".format(stage_2_time))
print("\tAverage iteration time: {}".format(
    sum(stage_2_iterations) / len(stage_2_iterations)))
print("\tMax iteration time: {}".format(max(stage_2_iterations)))
print("\tMin iteration time: {}".format(min(stage_2_iterations)))

print("Stage 3 results:")

After Change


// task will require O(N) queries. Since we limit the number of inflight
// requests, we will run into head of line blocking and we should be able to
// measure this timing.
num_tasks = int(ray.cluster_resources()["GPU"])
logger.info(f"Scheduling many tasks for spillback.")


@ray.remote(num_gpus=1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: f37b6874523cdab4dc69118ff44b1bb8469a9217
Time: 2020-09-18
Author: itswu.alex@gmail.com
File Name: ci/regression_test/stress_tests/test_many_tasks.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 023331ec2a7b0086abfc81eca16c84a1692ee653
Time: 2017-02-09
Author: francois.chollet@gmail.com
File Name: keras/layers/convolutional.py
Class Name: Convolution2D
Method Name: build


Project Name: ray-project/ray
Commit Name: c74dc58f8b38bb947b903d3f92efbd8d1cd675ce
Time: 2020-06-05
Author: sven@anyscale.io
File Name: rllib/models/torch/fcnet.py
Class Name: FullyConnectedNetwork
Method Name: __init__