Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tune] "metric" parameter not found #4930

Closed
ludc opened this issue Jun 4, 2019 · 7 comments
Closed

[tune] "metric" parameter not found #4930

ludc opened this issue Jun 4, 2019 · 7 comments

Comments

@ludc
Copy link

ludc commented Jun 4, 2019

Hi,

When installing ray (using pip install, or pip install -U [last version]), the version of pbt.py in ray.tune.schedulers is not the same than the one in the GIT repository. For instance, I can't use PopulationBasedTraining.init with the parameters called 'metric' since it was not existing in the previous version. So it seems that the pip package contains an old version of tune.

How can I fix it ?

@richardliaw
Copy link
Contributor

Ah you'll need to install master. Can you try installing with the wheel links here?

https://ray.readthedocs.io/en/latest/installation.html#trying-snapshots-from-master

@richardliaw richardliaw changed the title Not the last version of ray.tune using PIP on MacosX "metric" parameter not found for Tune Jun 4, 2019
@richardliaw richardliaw pinned this issue Jun 4, 2019
@ludc
Copy link
Author

ludc commented Jun 5, 2019

Hi, it did not work even if I install from the wheel links (I tested for python 3.6 and python 3.7)

@richardliaw
Copy link
Contributor

I think the wheel links are not being routed correctly; can you try this for now? pip install -U despite the lower version:

https://ray-wheels.s3-us-west-2.amazonaws.com/latest/ray-0.7.1-cp36-cp36m-manylinux1_x86_64.whl
https://ray-wheels.s3-us-west-2.amazonaws.com/latest/ray-0.7.1-cp37-cp37m-manylinux1_x86_64.whl

@richardliaw richardliaw changed the title "metric" parameter not found for Tune [tune] "metric" parameter not found Jun 5, 2019
@ludc
Copy link
Author

ludc commented Jun 5, 2019

I am using MacOS.... I tried this link : https://ray-wheels.s3-us-west-2.amazonaws.com/latest/ray-0.7.1-cp37-cp37m-macos_10_6_intel.whl

But the error is now: ERROR: ray-0.7.1-cp37-cp37m-macos_10_6_intel.whl is not a supported wheel on this platform.

@richardliaw
Copy link
Contributor

@ludc
Copy link
Author

ludc commented Jun 5, 2019

Cool, it works now.

@richardliaw
Copy link
Contributor

Closed by #4937 and #4941 !

@richardliaw richardliaw unpinned this issue Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants