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

Optimize rl #2065

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Optimize rl #2065

wants to merge 6 commits into from

Conversation

NinoRisteski
Copy link
Contributor

Improve performance in RL module

pass
for get_embeddings_fn in (
model.get_input_embeddings,
model.get_output_embeddings):
Copy link
Contributor

@KareemMusleh KareemMusleh Mar 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this result in an error if get_input_embeddings or get_output_embeddings aren't defined for model?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes i think you might be right

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@NinoRisteski NinoRisteski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danielhanchen have you checked this? (9712a46)

pass
for get_embeddings_fn in (
model.get_input_embeddings,
model.get_output_embeddings):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes i think you might be right

pass
for get_embeddings_fn in (
model.get_input_embeddings,
model.get_output_embeddings):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

2 participants