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

Force class registry via imports #100

Merged
merged 1 commit into from
Nov 20, 2022

Conversation

jon-tow
Copy link
Collaborator

@jon-tow jon-tow commented Nov 18, 2022

This PR fixes the issue in which registered entities of trlx are not accessible by loading getters unless manually imported from higher-level calling sites by importing all such entities from trlx/utils/loading.py.

Updates:

  • Fixes ilql_config.yml to use the proper AccelerateILQLModel type.

Notes:

  • There isn't a distinction between PPOPipeline and OfflinePipeline anymore so I'm not sure if it's worth keeping that configuration option around.

Copy link
Contributor

@LouisCastricato LouisCastricato left a comment

Choose a reason for hiding this comment

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

LGTM

@LouisCastricato LouisCastricato merged commit aafcae9 into CarperAI:main Nov 20, 2022
@jon-tow jon-tow deleted the add-registry branch November 20, 2022 17:53
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