7b609ca21123607ece68f9dcdc3c1a5cdeccfdaf,python/ray/worker.py,,get_resource_ids,#,460
Before Change
resource reserved for this worker.
if _mode() == LOCAL_MODE:
raise Exception(
"ray.get_resource_ids() currently does not work in LOCAL "
"MODE.")
return global_worker.core_worker.resource_ids()
After Change
resource reserved for this worker.
if _mode() == LOCAL_MODE:
raise RuntimeError("ray.get_resource_ids() currently does not work in "
"local_mode.")
return global_worker.core_worker.resource_ids()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: ray-project/ray
Commit Name: 7b609ca21123607ece68f9dcdc3c1a5cdeccfdaf
Time: 2020-03-10
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/worker.py
Class Name:
Method Name: get_resource_ids
Project Name: ray-project/ray
Commit Name: 7b609ca21123607ece68f9dcdc3c1a5cdeccfdaf
Time: 2020-03-10
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/worker.py
Class Name:
Method Name: get_gpu_ids
Project Name: ray-project/ray
Commit Name: 7b609ca21123607ece68f9dcdc3c1a5cdeccfdaf
Time: 2020-03-10
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/worker.py
Class Name:
Method Name: init