Skip to content

Commit 256f181

Browse files
CMX V4.1.1: fixed legacy interfaces (#1404)
2 parents 296c727 + 73ff733 commit 256f181

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

cm/CHANGES.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
## mlc-scripts
1+
## CMX V4.1.1
2+
- fixed legacy interfaces
3+
4+
## CMX V4.1.0
25
- added -v flag to print version
36
- improve help
47
- added support for legacy CM front-end for MLPerf (mlc, mlcr, mlcflow)

cm/cmind/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# White paper: https://arxiv.org/abs/2406.16791
1010
# Project contributors: https://github.com/mlcommons/ck/blob/master/CONTRIBUTING.md
1111

12-
__version__ = "4.1.0"
12+
__version__ = "4.1.1"
1313

1414
from cmind.core import access
1515
from cmind.core import x

cm/cmind/cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,7 @@ def run_legacy_mlcflow(legacy_frontend, argv = None):
162162

163163
return_code = rx.returncode
164164

165-
r = {'return':0} if return_code == 0 else {'return':return_code, 'error':'legacy CM front-end failed (mlcflow)'}
166-
167-
return r
165+
sys.exit(return_code)
168166

169167

170168
############################################################

cm/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ cmind = ["repo/*",
7272
"repo/automation/ckx/*",
7373
"repo/automation/mlc/*",
7474
"repo/automation/mlcr/*",
75-
"repo/automation/mlperf/*",
7675
"repo/automation/core/*",
7776
"repo/automation/core/cm_60cb625a46b38610/*",
7877
"repo/automation/repo/*"

0 commit comments

Comments
 (0)