7e52351ae56a5068131d873252ad4f95d134c33d,python/ray/util/collective/collective.py,,declare_collective_group,#Any#Any#Any#Any#Any#,129
Before Change
raise RuntimeError("Each actor should correspond to one rank.")
if set(ranks) != set(range(len(ranks))):
raise RuntimeError("Rank must be a permutation from 0 to len-1.")
assert world_size > 0
assert all(ranks) >= 0 and all(ranks) < world_size
After Change
if set(ranks) != set(range(len(ranks))):
raise RuntimeError(
"Ranks must be a permutation from 0 to "{}". Got "{}".".format(
len(ranks), "".join([str(r) for r in ranks])))
assert world_size > 0
assert all(ranks) >= 0 and all(ranks) < world_size
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ray-project/ray
Commit Name: 7e52351ae56a5068131d873252ad4f95d134c33d
Time: 2021-01-05
Author: zhisbug@users.noreply.github.com
File Name: python/ray/util/collective/collective.py
Class Name:
Method Name: declare_collective_group
Project Name: GPflow/GPflow
Commit Name: 0741f86561249b49db3f6cf6068d21d95c8d9330
Time: 2017-11-20
Author: art.art.v@gmail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 8204717eed71923f1e14fa6bd17ca4588c140c09
Time: 2020-07-16
Author: sven@anyscale.io
File Name: rllib/evaluation/rollout_worker.py
Class Name: RolloutWorker
Method Name: __init__