Skip to content

Commit ba814df

Browse files
authored
update docs. remove unnecessary files (#8)
Signed-off-by: Hao Wu <[email protected]>
1 parent c19c447 commit ba814df

File tree

4 files changed

+34
-111
lines changed

4 files changed

+34
-111
lines changed

CONTRIBUTING.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Contributing To Emerging-Optimizers
22

3+
## Dependency
4+
5+
Use [abseil-py](https://github.com/abseil/abseil-py/tree/main)'s **logging**, **testing** and **flags** instead of Python's own **logging**, **unittest** and **argparse**.
6+
7+
## Coding Style
8+
9+
We generally follow [Google's style guides](https://google.github.io/styleguide/) , with some exceptions:
10+
11+
* Line length extended to 120 for Python and 100 for C++ code.
12+
* Common use in PyTorch, which are prohibited by Google style, are allowed, including but not limited to:
13+
* Import function, class, not just module
14+
* Some special variable name, `x`, `dX`, etc.
15+
* Allow common capitalized naming in Triton code.
16+
17+
Although common, **mixed case is not allowed** in any code.
18+
19+
Run pre-commit at local before submitting merge request. You can also read [.pre-commit-config.yaml]( .pre-commit-config.yaml) to understand what are being forced. The **flake8** and **mypy** settings are inherited from PyTorch.
20+
21+
## Test
22+
23+
All tests should be placed under [tests](tests). We aim for 100% test coverage for this tiny project.
24+
25+
We use [abseil-py](https://github.com/abseil/abseil-py/tree/main) **testing** because it is easier to launch multi process than alternatives.
26+
327
## Signing Your Work
428

529
* We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
@@ -20,9 +44,9 @@
2044
```
2145
Developer Certificate of Origin
2246
Version 1.1
23-
47+
2448
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
25-
49+
2650
Everyone is permitted to copy and distribute verbatim copies of this
2751
license document, but changing it is not allowed.
2852

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
# Emerging Optimizers
2+
3+
## Overview
4+
5+
Emerging Optimizers is a research project focused on understanding and optimizing the algorithmic behavior of Shampoo-class optimizers (Shampoo, SOAP, Muon, etc.) and their implications for performance and GPU systems in large language model training.
6+
7+
## User guide
8+
9+
Coming soon.

tests/ci/test_placeholder.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

tests/conftest.py

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)