Replies: 5 comments 11 replies
-
Would you like to fix current broken test on master? I'm still having tons of work tbd in openai |
Beta Was this translation helpful? Give feedback.
-
Hi, I would like to join in the discussion! I have also asked a while ago about deprecating python below 3.8, as gymnasium doesn't support it (and I generally think it's a good idea). As I got no answer at that time, I started working on a fork. I like tianshou and would like to keep it alive! So far I have done:
My colleagues and I will further work on tianshou, we plan including more algorithms (like advantage weighted regression and implicit Q learning). We would love to merge the changes back to the original repo. Probably one at a time makes sense for easier reviewing. What do you think? My company does quite some RL and we are committed to open source, so we could devote significant time to extending and improving tianshou. I have worked with SB3 and rllib in the past, and tianshou has a much better foundation for the future, in my opinion. torchRL is also out there, but it essentially has no high level interfaces and is not user friendly at all. Would love to hear from you! The fork is here: |
Beta Was this translation helpful? Give feedback.
-
One question for the future is whether Batch, one of the cornerstones of the library, should be replaced by torch's new TensorDict. From what I see, the scopes and functionalities of the two are very similar. Moving to TensorDict would make tianshou compatible with torchRL and other projects, as TensorDict is here to stay. It's quite a lot of work to do that though and would require a new major release |
Beta Was this translation helpful? Give feedback.
-
Seems like a bright future is feasible :). I started committing stuff and going through the issues, colleagues of mine will do the same soon. Thanks to @Trinkle23897 for the responsiveness! @BFAnas feel free to message me if you want to collaborate on something, e.g. using tensordict. Now is probably a good time, since big changes are happening anyway (deprecating older python, some changes in trainer interfaces etc). One could probably even make things backwards compatible by keeping Batch around, letting it inherit from TensorDict and logging a deprecation warning in the constructor |
Beta Was this translation helpful? Give feedback.
-
I'd say something controversial: torch_rl is largely based on tianshou's design and doesn't mention tianshou in the codebase (I saw there are some mentions in their arxiv paper). When torch_rl came up, some people discussed it with me and said, "Why is it so similar to tianshou", so I personally have a negative impression of it. Not to mention in 2021/2022 we submitted a pytorch ecosystem request to include tianshou, but we got no response. I'm open to include TensorDict but please keep Batch implementation in the codebase instead of deleting it or making it inherit from TensorDict. We can polish Batch implementation, or switch to optree (which is compatible and faster) |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I'm writing to start a discussion about the future of Tianshou. I've been a big fan of this repo for a while now, and I've been really impressed with the quality of the code and the helpfulness of the community. However, lately the repo has been uncharacteristically underperforming. There are some stale pull requests, and it seems like @Trinkle23897 the dynamo of the library has been busy lately with other projects.
I'm wondering if we can start a discussion about what we can do to help the repo get back on track. From my part I'm open to helping to review pull requests, and be more engaged in the issues section.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions