Skip to content

Commit

Permalink
use gitsubmodle for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
samsja committed Jan 6, 2025
1 parent d42a1c0 commit cd353f3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "third_party/gloo"]
path = third_party/gloo
url = https://github.com/facebookincubator/gloo.git
[submodule "third_party/optimizers"]
path = third_party/optimizers
url = [email protected]:facebookresearch/optimizers.git
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [
"pyarrow",
"toposolve",
"psutil",
"torch-shampoo @ git+https://github.com/facebookresearch/optimizers.git@main",
"torch-shampoo",
]

[project.optional-dependencies]
Expand All @@ -46,3 +46,6 @@ line-length = 120

[tool.uv]
dev-dependencies = ["ruff>=0.5.0", "pre-commit>=3.0.0","pytest>=7.0.0", "faker"]

[tool.uv.sources]
torch-shampoo = { path = "third_party/optimizers", editable = true }
1 change: 1 addition & 0 deletions third_party/optimizers
Submodule optimizers added at c51e4e
16 changes: 14 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cd353f3

Please sign in to comment.