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

Rebase to tensorflow mainline #8

Open
merrymercy opened this issue May 15, 2021 · 4 comments
Open

Rebase to tensorflow mainline #8

merrymercy opened this issue May 15, 2021 · 4 comments

Comments

@merrymercy
Copy link
Member

merrymercy commented May 15, 2021

To avoid the divergence of our codebase and tensorflow/jax mainline, we want to rebase our repos to the tensorflow/jax mainline regularly. This brings several advantages:

  1. Get the latest updates from the mainline. Google is actively improving Jax and XLA GPU backend.
  2. Make future maintenance easier. If we do not sync with the mainline for a long time, we will never be able to sync with the mainline again due to too many conflicts.

I plan to rebase this repo once every two to three months following the tensorflow/jax releases. Note that rebases will rewrite the history of our repos, so we have to sync our local repos carefully after rebase.

Rebase instructions

https://docs.google.com/document/d/1_4X2Z4ewf2c9PcR2Ug4VpKNJxqbrtkhnHiQUt3yX2TI/edit?usp=sharing

Sync local repos

Ask @merrymercy for help

@merrymercy
Copy link
Member Author

merrymercy commented Jan 3, 2022

Rebase History

  • Jul. 19, 2021
  • Sept. 12, 2021
  • Dec. 25, 2021 3fb790c
  • Apr. 8, 2022 394a6cc
  • Jul. 27, 2022 tf: b835ad5, jax:1a7c8831a8a37f76acc899bf6d6ef510349af044
  • Nov. 20, 2022 tf: 736d0db, jax: 41417eed6f3770e05aeb1d2500967c5314d5de08

@GHGmc2
Copy link

GHGmc2 commented Mar 19, 2023

@merrymercy jax had switched to use OpenXLA repo instead of TensorFlow: jax-ml/jax@172a831

@merrymercy
Copy link
Member Author

@GHGmc2 Thanks for letting me know. We should follow this change. The maintenance team will discuss how to switch to OpenXLA.

@GHGmc2
Copy link

GHGmc2 commented Mar 22, 2023

@merrymercy Thanks, I noticed that auto_sharding had been upstreamed to OpenXLA: https://github.com/openxla/xla/tree/main/xla/hlo/experimental/auto_sharding

Will the new code base reuse this part?

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

No branches or pull requests

2 participants