-
Notifications
You must be signed in to change notification settings - Fork 23
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
RFC - Creating an openxla/dev-tools repo and building automation #72
Comments
Being able to easily setup and use SGTM This reminds me of the "recent" https://github.com/google/git-mmrepo repo. Nit: I'd suggest |
Yeah, let's say I've learned a few things since then about not trying to do too much or create something too general. This is quite specific to our projects. I think I've basically gotten this to a point of good utility now. I've overhauled the openxla-pjrt-plugin repo to be managed via this mechanism, and I implemented dep rolling of both the source and binary (python deps).
See the current README for the state of what is implemented. I think we can roughly call this ready to promote to a real repo. |
Submitting request to include @jpienaar's suggestion (openxla/openxla-dev-tools). |
I would like to contribute a variant of my in-progress development tools repository to the
openxla
organization: https://github.com/stellaraccident/openxla-dev-tools. I suggest simply shortening it todev-tools
once brought into the organization-proper.The above represents a few hours of coding to build the boilerplate tooling that we can use for managing repositories, dependencies, and corresponding automation in the OpenXLA projects, and is a first step to helping us build workflows that bump dependencies and enable release automation.
In consultation with various folks, I concluded that a dedicated tools project was in order, and I chose to make that a cohesive python package that can be installed by anyone with a one liner. In addition, we wanted to make it straight-forward for folks (and CI) to check out individual projects and have a single script to run that would update their deps (without requiring installation of more advanced dev tooling packages like this). That way, we should be able to have a flow where advanced, cross-repo users can use this tools package as their daily driver, while people focused on a single project get exactly what they need (by being able to run
sync_deps.py
locally and always be up to date).As an example (not yet completely refactored but to show the idea), here is a draft of the openxla-pjrt-plugin project using this tools package to manage its deps: https://github.com/openxla/openxla-pjrt-plugin/pull/29
Regardless of where we take such dev-tools and automation in the future, it seems that we definitely need a centrally accessible dev-tools project, and I therefore propose that we bootstrap it with the code I have started writing.
The text was updated successfully, but these errors were encountered: