You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugSomething that is supposed to be working; but isn'tdocsAn issue or change related to documentationP2Important issue, but not time-criticaltrainRay Train Related Issue
from ray.train import ScalingConfig
... scaling_config = ScalingConfig(num_workers=num_workers, use_gpu=use_gpu)
Versions / Dependencies
ray, version 2.31.0
Python 3.9.19
Official docker image rayproject/ray
Reproduction script
python tune_tensorflow_autoencoder_example.py
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered:
mjovanovic9999
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Jul 9, 2024
@mjovanovic9999 thanks for the find; can you submit a PR to fix the example in our docs? Assign to me as reviewer and I'll shepherd it through.
anyscalesam
added
P2
Important issue, but not time-critical
docs
An issue or change related to documentation
train
Ray Train Related Issue
and removed
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Jul 10, 2024
bugSomething that is supposed to be working; but isn'tdocsAn issue or change related to documentationP2Important issue, but not time-criticaltrainRay Train Related Issue
What happened + What you expected to happen
I was trying to run the basic example https://github.com/ray-project/ray/blob/master/python/ray/train/examples/tf/tune_tensorflow_autoencoder_example.py
Gave me this error:
ValueError:
scaling_config
should be an instance ofScalingConfig
, found <class 'dict'> with value{'num_workers': 2, 'use_gpu': False}
.This chage soloved the issue:
scaling_config = dict(num_workers=num_workers, use_gpu=use_gpu)
to:
from ray.train import ScalingConfig
...
scaling_config = ScalingConfig(num_workers=num_workers, use_gpu=use_gpu)
Versions / Dependencies
ray, version 2.31.0
Python 3.9.19
Official docker image rayproject/ray
Reproduction script
python tune_tensorflow_autoencoder_example.py
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered: