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

Make orbax an optional dependency #2882

Closed
wants to merge 1 commit into from
Closed

Make orbax an optional dependency #2882

wants to merge 1 commit into from

Conversation

daskol
Copy link

@daskol daskol commented Feb 16, 2023

The issue is orbax itself depends on flax. So, we have a cycle dependency between packages. Despite that the cycle is not that harmful (pip install flax and orbax without any issues), it is better to untie cycle in order to avoid any possible edge cases in package dependency resolution.

The issue is orbax itself depends on flax. So, we have a cycle
dependency between packages. Despite that the cycle is not that harmful
(pip install flax and orbax without any issues), it is better to untie
cycle in order to avoid any possible edge cases.
@IvyZX
Copy link
Collaborator

IvyZX commented Feb 16, 2023

We are working actively with Orbax to decouple the dependency: #2707

A solution should be out soon for Orbax to remove its dependency on Flax.

@samuela
Copy link

samuela commented Jul 27, 2023

Is there a reason not to merge this PR? IIUC it would resolve #2707

@daskol
Copy link
Author

daskol commented Jul 27, 2023

@samuela I guess, it's stale. Orbax maintainers manages dependencies and split orbax on two namespace packages. There is not circular dependency any more but there is an issue with namespaces (see google/orbax#397 (comment)).

@daskol daskol closed this Jul 27, 2023
@daskol daskol deleted the fix/dependency-cycle branch July 27, 2023 22:43
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.

3 participants