Skip to content

Commit b61d80e

Browse files
authored
CM/CMX v3.2.9: fixing minor bugs (#1342)
## V3.2.9 - fixed minor bug with JSON console output - fixed minor bug with console in cmind.x function
2 parents 55405ba + 44e6902 commit b61d80e

File tree

5 files changed

+8
-20
lines changed

5 files changed

+8
-20
lines changed

cm/CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## V3.2.9
2+
- fixed minor bug with JSON console output
3+
- fixed minor bug with console in cmind.x function
4+
15
## V3.2.8
26
- fixed Docker test for mlperf-inference with cm4mlops
37
- minor improvements

cm/cmind/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Written by Grigori Fursin
44

5-
__version__ = "3.2.8"
5+
__version__ = "3.2.9"
66

77
from cmind.core import access
88
from cmind.core import x

cm/cmind/cli.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -193,21 +193,6 @@ def run_experiment(argv = None):
193193

194194
return run(['run', 'experiment'] + argv)
195195

196-
############################################################
197-
def run_ff(argv = None):
198-
"""
199-
"""
200-
201-
# Access CMX
202-
if argv is None:
203-
argv = sys.argv[1:]
204-
205-
x = 'lex'
206-
if len(argv) >0 and argv[0].startswith('_misc'):
207-
x = argv[0]
208-
209-
return runx(['run', 'f'+x+'.flow'] + argv)
210-
211196
############################################################
212197
def parse(cmd):
213198
"""

cm/cmind/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,7 +1656,7 @@ def access(i):
16561656
return cm.access(i)
16571657

16581658
############################################################
1659-
def x(i):
1659+
def x(i, out = None):
16601660
"""
16611661
Automatically initialize CM and run automations
16621662
without the need to initialize and customize CM class.
@@ -1668,9 +1668,9 @@ def x(i):
16681668
global cm
16691669

16701670
if cm is None:
1671-
cm=CM()
1671+
cm = CM()
16721672

1673-
return cm.x(i)
1673+
return cm.x(i, out = out)
16741674

16751675
############################################################
16761676
def error(i):

cm/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ def run(self):
101101
"cm = cmind.cli:run",
102102
"cmx = cmind.cli:runx",
103103
"cmr = cmind.cli:run_script",
104-
"flexflow = cmind.cli:run_ff",
105104
"cmrd = cmind.cli:docker_script",
106105
"cmg = cmind.cli:gui_script",
107106
"cme = cmind.cli:run_experiment"

0 commit comments

Comments
 (0)