Unverified Commit 4cb293e8 authored by Min Xu's avatar Min Xu Committed by GitHub
Browse files

[fix]: experimental import fix (#1043)



* [fix]: experimental import fix

* Update fairscale/experimental/__init__.py

* Update fairscale/experimental/__init__.py
Co-authored-by: default avatarMin Xu <min.xu.public@gmail.com>
parent 3626a366
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
from typing import List from typing import List
from . import nn, optim, wgit # Don't import sub-modules as experimental stuff otherwise gets imported directly
# when user does an `import fairscale`. This can cause experimental code's import
# dependencies (like pygit2) to be leaked into the fairscale main code.
__all__: List[str] = [] __all__: List[str] = []
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment