-
Notifications
You must be signed in to change notification settings - Fork 413
[Feature] LLM collector #2879
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
[Feature] LLM collector #2879
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/rl/2879
Note: Links to docs will display an error until the docs builds have been completed. This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Originally, this code ran into the error:
This seems to have come from a versioning issue; downgrading torch and vllm with
Then
Did the trick and fixed this error :) Previously, I had |
b133f71
to
e08e2a6
Compare
Amazing!
|
Thanks for the comments here; I think I incorporated the majority of this feedback and updated the test on my end; the only thing I am not sure about is how to register in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good progress thanks for working on that!
You can write the class there: https://github.com/pytorch/rl/blob/main/docs/source/reference/collectors.rst
I would add a section about LLM collectors, that'll be useful in the future
28c5d5c
to
ad98710
Compare
7ea1c0b
to
4be5048
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
bcb4535
to
f0f48be
Compare
f0f48be
to
dfe6410
Compare
Description
Add LLM Collector, which is a subset of the SyncDatacollector aimed at trimming to core funcionality in an easy to consume API for LLM devs
Motivation and Context
#2872
Types of changes
What types of changes does your code introduce? Remove all that do not apply:
Checklist
Go over all the following points, and put an
x
in all the boxes that apply.If you are unsure about any of these, don't hesitate to ask. We are here to help!
Testing