Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM/CMX v3.2.9: fixing minor bugs #1342

Merged
merged 3 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cm/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## V3.2.9
- fixed minor bug with JSON console output
- fixed minor bug with console in cmind.x function

## V3.2.8
- fixed Docker test for mlperf-inference with cm4mlops
- minor improvements
Expand Down
2 changes: 1 addition & 1 deletion cm/cmind/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Written by Grigori Fursin

__version__ = "3.2.8"
__version__ = "3.2.9"

from cmind.core import access
from cmind.core import x
Expand Down
15 changes: 0 additions & 15 deletions cm/cmind/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,21 +193,6 @@ def run_experiment(argv = None):

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

############################################################
def run_ff(argv = None):
"""
"""

# Access CMX
if argv is None:
argv = sys.argv[1:]

x = 'lex'
if len(argv) >0 and argv[0].startswith('_misc'):
x = argv[0]

return runx(['run', 'f'+x+'.flow'] + argv)

############################################################
def parse(cmd):
"""
Expand Down
6 changes: 3 additions & 3 deletions cm/cmind/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,7 @@ def access(i):
return cm.access(i)

############################################################
def x(i):
def x(i, out = None):
"""
Automatically initialize CM and run automations
without the need to initialize and customize CM class.
Expand All @@ -1668,9 +1668,9 @@ def x(i):
global cm

if cm is None:
cm=CM()
cm = CM()

return cm.x(i)
return cm.x(i, out = out)

############################################################
def error(i):
Expand Down
1 change: 0 additions & 1 deletion cm/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ def run(self):
"cm = cmind.cli:run",
"cmx = cmind.cli:runx",
"cmr = cmind.cli:run_script",
"flexflow = cmind.cli:run_ff",
"cmrd = cmind.cli:docker_script",
"cmg = cmind.cli:gui_script",
"cme = cmind.cli:run_experiment"
Expand Down
Loading