Skip to content

Commit dd5216b

Browse files
committed
add triton to uv
Signed-off-by: Hao Wu <[email protected]>
1 parent 5bd6795 commit dd5216b

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ dev = [
8484
"pre-commit>=3.6.0",
8585
"ruff>=0.9.9",
8686
"mypy>=1.8.0",
87+
"triton>=3.4.0",
8788
]
8889

8990
[tool.uv]

tests/ci/L0_Tests_CPU.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
export TORCH_COMPILE_DISABLE=1
15-
error=0
15+
16+
error=0
1617
torchrun --nproc_per_node=8 --no-python coverage run -p tests/test_distributed_muon_utils_cpu.py || error=1
1718
torchrun --nproc_per_node=4 --no-python coverage run -p tests/test_distributed_muon_utils_cpu.py || error=1
1819
coverage run -p --source=emerging_optimizers tests/test_scalar_optimizers.py --device=cpu || error=1

tests/ci/L0_Tests_GPU.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export TORCH_COMPILE_DISABLE=1
1515
export CUDA_VISIBLE_DEVICES=0
1616
export TORCH_ALLOW_TF32_CUBLAS_OVERRIDE=0
1717

18-
19-
error=0
18+
error=0
2019
coverage run -p --source=emerging_optimizers tests/test_muon_utils.py || error=1
2120
coverage run -p --source=emerging_optimizers tests/test_orthogonalized_optimizer.py || error=1
2221
coverage run -p --source=emerging_optimizers tests/test_soap_functions.py || error=1

tests/ci/L1_Tests_GPU.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
export CUDA_VISIBLE_DEVICES=0
1515
export TORCH_ALLOW_TF32_CUBLAS_OVERRIDE=0
1616

17-
error=0
17+
error=0
1818
python tests/test_muon_utils.py || error=1
1919
python tests/test_orthogonalized_optimizer.py || error=1
2020
python tests/test_soap_functions.py || error=1

uv.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)