File tree Expand file tree Collapse file tree 3 files changed +31
-12
lines changed
Expand file tree Collapse file tree 3 files changed +31
-12
lines changed Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14+ export TORCH_COMPILE_DISABLE=1
1415set -o pipefail
1516torchrun --nproc_per_node=8 --no-python coverage run -p tests/test_distributed_muon_utils_cpu.py
1617torchrun --nproc_per_node=4 --no-python coverage run -p tests/test_distributed_muon_utils_cpu.py
Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14+ export TORCH_COMPILE_DISABLE=1
15+ export CUDA_VISIBLE_DEVICES=0
1416set -o pipefail
15- CUDA_VISIBLE_DEVICES=" 0" coverage run -p --source=emerging_optimizers tests/test_muon_utils.py
16- CUDA_VISIBLE_DEVICES=" 0" coverage run -p --source=emerging_optimizers tests/test_orthogonalized_optimizer.py
17- CUDA_VISIBLE_DEVICES=" 0" coverage run -p --source=emerging_optimizers tests/test_soap_functions.py
18- CUDA_VISIBLE_DEVICES=" 0" coverage run -p --source=emerging_optimizers tests/test_soap_utils.py
19- CUDA_VISIBLE_DEVICES=" 0" coverage run -p --source=emerging_optimizers tests/soap_smoke_test.py
20- CUDA_VISIBLE_DEVICES=" 0" coverage run -p --source=emerging_optimizers tests/soap_mnist_test.py
21- CUDA_VISIBLE_DEVICES=" 0" coverage run -p --source=emerging_optimizers tests/test_scalar_optimizers.py
22-
23-
24-
25-
26-
17+ coverage run -p --source=emerging_optimizers tests/test_muon_utils.py
18+ coverage run -p --source=emerging_optimizers tests/test_orthogonalized_optimizer.py
19+ coverage run -p --source=emerging_optimizers tests/test_soap_functions.py
20+ coverage run -p --source=emerging_optimizers tests/test_soap_utils.py
21+ coverage run -p --source=emerging_optimizers tests/soap_smoke_test.py
22+ coverage run -p --source=emerging_optimizers tests/soap_mnist_test.py
23+ coverage run -p --source=emerging_optimizers tests/test_scalar_optimizers.py
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+ export CUDA_VISIBLE_DEVICES=0
15+ set -o pipefail
16+ python tests/test_muon_utils.py
17+ python tests/test_orthogonalized_optimizer.py
18+ python tests/test_soap_functions.py
19+ python tests/test_soap_utils.py
20+ python tests/soap_smoke_test.py
21+ python tests/test_scalar_optimizers.py
You can’t perform that action at this time.
0 commit comments