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

Ray version not found? #1

Open
MarchFirstTem opened this issue Sep 28, 2023 · 4 comments
Open

Ray version not found? #1

MarchFirstTem opened this issue Sep 28, 2023 · 4 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@MarchFirstTem
Copy link

MarchFirstTem commented Sep 28, 2023

ERROR: Could not find a version that satisfies the requirement ray~=1.5.0 (from versions: 2.5.1, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0rc0, 2.7.0)
ERROR: No matching distribution found for ray~=1.5.0

Ive encountered the above error during installation of necessary libraries, is it fine if i follow through by editing the requirements to ray=2.5.1?

@ingambe ingambe self-assigned this Sep 28, 2023
@ingambe ingambe added the question Further information is requested label Sep 28, 2023
@DominikRoB
Copy link

Not the maintainer, but from personal experience: From ray 1 to ray 2, there were some major API changes. Same with the minor versions, actually.

@ingambe
Copy link
Owner

ingambe commented Sep 29, 2023

I will have a look into that. In the meantime, you can use the updated requirements file in the Huggingface space:
https://huggingface.co/spaces/pierretassel/JobShopCPRL/blob/main/requirements.txt

It seems to run fine, except for the plotting that needs to be fixed (minor priority, I would say).
In any case, I need to add a Docker file to make reproduction easier. If nothings comes out in the coming days, don't hesitate to ping me to remind me of this issue.

@MarchFirstTem
Copy link
Author

@ingambe ?

@ingambe
Copy link
Owner

ingambe commented Oct 2, 2023

Commit 0166f8f should fix the issue, I added a Dockerfile so one can build and run a container.
For those unfamiliar with Docker here are some useful commands:

Build a container with every dependency installed:
If you want the result to be logged to Weights and Biases, you need to add your API Key to the Dockerfile file where the environment variable is declared

docker build -t jss_cp:0.1 .

And to run:

docker run jss_cp:0.1

@ingambe ingambe added the bug Something isn't working label Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants