Skip to content

Commit

Permalink
import bugfix (#46)
Browse files Browse the repository at this point in the history
Summary:
```
  File "/workspace/optimizers/distributed_shampoo/distributed_shampoo.py", line 20, in <module>
    from distributed_shampoo.shampoo_types import (
  File "/workspace/optimizers/distributed_shampoo/shampoo_types.py", line 15, in <module>
    from commons import AbstractDataclass
ModuleNotFoundError: No module named 'commons'
```

after fix

```
python -c "from distributed_shampoo.distributed_shampoo import DistributedShampoo;
shampoo_optimizer = DistributedShampoo;
print(shampoo_optimizer)"
<class 'distributed_shampoo.distributed_shampoo.DistributedShampoo'>
```

Pull Request resolved: #46

Reviewed By: anana10c

Differential Revision: D65886425

Pulled By: tsunghsienlee

fbshipit-source-id: e0f4658578dc1c02dfee8f96834e17c2a2ed12e2
  • Loading branch information
SeunghyunSEO authored and facebook-github-bot committed Nov 13, 2024
1 parent 51a0956 commit 69bf6cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Repository = "https://github.com/facebookresearch/optimizers.git"
[tool.setuptools]
include-package-data = false
py-modules = [
"commons",
"matrix_functions",
"matrix_functions_types",
"optimizer_modules",
Expand Down

0 comments on commit 69bf6cb

Please sign in to comment.