-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[RLlib] Framework "tf2" raises error in MLPEncoderConfig
#37413
Comments
Thanks a lot for reporting this :) |
@simonsays1980 Running the reproduction script does not result in an error on my side. |
I can reproduce it again after installing a fresh vitual environment: pyenv local 3.9.12
python -m venv .venv-2-5-1
source .venv-2-5-1/bin/activate
python -m pip install --upgrade pip
python -m pip install tensorflow tensorflow_probability
python -m pip install "ray[default,tune,rllib]" Ar you already running inside of the |
That's what I'm thinking, too. I have not run this with 2.5.1, since the linked PR is targeted at master. On master, it appears to be fine. |
If this is fine on master there is nothing more to do. I will close this issue and the corresponding PR. |
Thanks! |
Sorry, I have to reopen. I do not see it fixed on master. WIth the last nightly it still gives me the error. I can write a PR. |
I have the same error and passing framework to _validate (as done in the PR by @simonsays1980) fixes the issue! |
What happened + What you expected to happen
What happened
I ran
PPO
withRLModule
and_enable_learner_api=True
usingframework="tf2"
.The following error occurred:
What I expected to happen
That using TensorFlow2 runs with RLModule.
Versions / Dependencies
Fedora 37
Python 3.9.12
Ray 2.5.1
Reproduction script
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered: