Skip to content

Commit

Permalink
- Fix type of "unknown_keys" to list to be serializable: #1335
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Oct 20, 2024
1 parent ce4738a commit 6393999
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
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.5.1
- Fix type of "unknown_keys" to list to be serializable
https://github.com/mlcommons/ck/issues/1335

## V3.2.5
- CMX: improved logging
- CMX: improved error handling (show module path and line number)
Expand Down
2 changes: 1 addition & 1 deletion cm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ across diverse models, data sets, software and hardware.

CM is a part of [Collective Knowledge (CK)](https://github.com/mlcommons/ck) -
an educational community project to learn how to run emerging workloads
in the most efficient and cost-effictive way across diverse
in the most efficient and cost-effective way across diverse
and continuously changing systems.

CM includes a collection of portable, extensible and technology-agnostic automation recipes
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.5"
__version__ = "3.2.5.1"

from cmind.core import access
from cmind.core import x
Expand Down
2 changes: 1 addition & 1 deletion cm/cmind/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ def test_input(i):
r = {'return':0}

if len(i)>0:
unknown_keys = i.keys()
unknown_keys = list(i.keys())
unknown_keys_str = ', '.join(unknown_keys)

x = '' if len(unknown_keys) == 1 else 's'
Expand Down

0 comments on commit 6393999

Please sign in to comment.