We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab4f1e commit 9281181Copy full SHA for 9281181
graphgen/engine.py
@@ -24,6 +24,8 @@ def __init__(
24
25
# Disable Ray Data progress bars and verbose output
26
os.environ.setdefault("RAY_DATA_DISABLE_PROGRESS_BARS", "1")
27
+ # Disable metrics exporter to avoid RpcError
28
+ os.environ.setdefault("RAY_DISABLE_IMPORTANT_WARNING", "1")
29
try:
30
from ray.data import DataContext
31
ctx = DataContext.get_current()
@@ -33,6 +35,8 @@ def __init__(
33
35
pass # Ray Data context might not be available
34
36
37
if not ray.is_initialized():
38
39
+ ray_init_kwargs.setdefault("_metrics_export_port", 0)
40
context = ray.init(
41
ignore_reinit_error=True,
42
logging_level=logging.ERROR,
0 commit comments