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

Put in common gnn features extractor between ray.rllib and sb3 wrappers #463

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

nhuet
Copy link
Contributor

@nhuet nhuet commented Jan 20, 2025

The GNN features extractor used by rallib and sb3 are the same (except the one for sb3 derives from a BaseFeaturesExtractor) and so is the function conveting GraphInstance into torch_geometric.data.Data.

We put that in common in hub/solver/utils/gnn.

We also remove unused code in ray.rllib gnn code.

@nhuet nhuet force-pushed the gnn-utils branch 2 times, most recently from 058e1cc to 856da1d Compare January 20, 2025 12:06
The GNN features extractor used by rallib and sb3 are the same (except
the one for sb3 derives from a BaseFeaturesExtractor) and so is the
function conveting GraphInstance into torch_geometric.data.Data.

We put that in common in hub/solver/utils/gnn.

We also remove unused code in ray.rllib gnn code.
Copy link
Collaborator

@neo-alex neo-alex left a comment

Choose a reason for hiding this comment

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

OK to merge, thanks!

@neo-alex neo-alex merged commit 7f132db into airbus:master Jan 31, 2025
33 checks passed
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