-
Notifications
You must be signed in to change notification settings - Fork 130
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
Create Example Repo that Extends Compiler Gym #532
Comments
I ❤️ this idea. I would suggest keeping the scope of the standalone repo fairly constrained to just demoing a new environment and calling it If we were to move everything from I agree that a personal GitHub account is probably the way to go here. We can link to it from here. Cheers, |
Yes, I agree we shouldn't move the examples. I was thinking of keeping the examples directory as is and perhaps add to the README.md file in the examples a directory a link to a single external repo for now, and hopefully as time goes on more members of the community will create their own extensions that we may add their links as well. |
Sounds good! Do you want to take the lead on this? Cheers, |
Sure. I just assigned it to myself. |
Brill, thanks! |
I suggest to create an examples repo like PyTorch https://github.com/pytorch/examples, and it could have its own CI that will test using Basically, CompilerGym repo CI shouldn't run the examples repo's CI. We only run the examples repo CI when we want to create a new release. |
I like the sound of that!
It's not super clear how to do that. One way (I think) of achieving this would be to add a manual trigger to the examples CI workflow, where you can enter in flags to append to the Cheers, |
🚀 Feature
Create a standalone repo that
import compiler_gym
and extends it by defining a new environmentMotivation
We want CompilerGym to be a tool for everyone to create their own environments. Currently we have examples within the repo that may require modifying the build of CompilerGym. Ideally we want to show how users can create their own environments "out-of-tree".
Pitch
We can create an example in a standalone repo (perhaps under someone's personal GitHub account) and have a section in CompilerGym documentation or README with out-of-tree examples (that define separate environments but perhaps also that define their own benchmarks, extending existing environments with their own observations/rewards/actions, RL training scripts, auto-tuning scripts, etc.)
Alternatives
We may consider the "CompilerGym-examples" repo that was created for the paper.
We can also consider something like Pytorch's examples repo: https://github.com/pytorch/examples/
Additional context
N/A
The text was updated successfully, but these errors were encountered: