Releases: mlcommons/ck
Releases · mlcommons/ck
Celebrating 170,000 downloads and CK-powered MLPerf v0.7 inference benchmark automation for edge devices
We release the new version of the CK framework V1.17.0 with new functionality and bug fixes to celebrate 170,000 downloads and CK-powered MLPerf v0.7 inference benchmark automation for edge devices!
Please take this quick questionnaire to help us shape the future of the CK project!
News:
- The CK project overview was accepted for Philosophical Transactions A of the Royal Society: peer-reviewed preprint
New functionality and bug fixes:
- Added support to use YAML files via CK CLI:
ck action @file.yaml
- Added simplified command
ck init repo
to create a CK repository in the current directory - Improved CK kernel API documentation and converted it to the Google format: https://ck.readthedocs.io/en/latest/src/ck.html
- Improved CK documentation: https://ck.readthedocs.io
- Provided a better integration with cKnowledge.io platform and the possibility to download stable components recursively
- Fixed a bug when adding new CK actions with an internal or already existing name
several improvements
- improved tests on Linux, MacOS and Windows
- prototyped: testing the status of repositories (stable and warning)
Fixed UTF-8 issue with README during installation
We fixed a UTF-8 problem with README.md in the setup.py (thanks to the feedback from Arm colleagues).
Improved compatibility with the open CodeReef platform
We improved the compatibility with the open CodeReef platform (https://codereef.ai/static/docs) and fixed minor issues:
- ck webhelp now shows published components at the CodeReef portal
- ck webapi now shows module API at the CodeReef portal
- Added "ck codereef " to show information about published components at the CodeReef portal
- fixed repo update
- added backward compatibility for the search via ElasticSearch
- [experimental] prototyped automatic downloading of stable CK components from the CodeReef portal (https://codereef.ai/portal)
- do not ask for "web support" by default when adding actions
- Allowed ' character in names of CK entries
- Added 2020
- Simplified Readme
fixed bug with Python 2.7 installation and added a few new productivity functions
- V1.11.4
- fixed problem when ck-python.cfg contains non-existent python
- fixed problem with allowed action_names (should not start with number but can have numbers in the middle)
- fixed problem with ElasticSearch when renaming entries
- Added key "use_git_instead_of_https" to kernel cfg to substitute https:// with git@ in repositories
- fixed problem with pip installation using Python 2.7 (thanks to @alered01 from Arm)
- added possibility to log all used CK entries to find out all dependencies
turn on: ck set kernel --var.log_ck_entries={file}
turn off: ck set kernel --var.log_ck_entries=""
improved installation procedure and new productivity functions
New in this release:
- minor clean up of the API doc
- now copying default repo to $HOME/.ck/{version} to be able to always find it
- added possibility to split dirs for the whole repo
(to be able to exchange repos with split directories) - added commands "private", "recache", "split_all_dirs" to ck add/update repo
- added try/catch around encode/decode routines to better support non-UTF locale
- can use wildcards when searching for UIDs
- added repo_module_uoa to be able to execute module from a specific repository
bug fix with installation via LinuxBrew
Enhancements in this version:
- fixed typo
- added possibility to force index data for specific repos via local kernel meta:
"index_repos":[list of repo UIDs and aliases] - bug fix for split directories if UID is used for an entry with alias
- fixed link to CK slack channel
- added zip_safe=False (to fix problems when installed via LinuxBrew)
Many enhancements for server/cloud deployment
Changes in this version:
- added possibility to add sub-directory for all entries of a given module based on first N characters of an entry name; this is needed to handle millions of entries; it can be configured via local kernel meta: "split_dirs":{"module UOA":N}
- fixed ck.bat on Windows (if CK_ROOT has spaces)
- improved "ck help" function
- added support for the latest ElasticSearch via Python client
- improved CK search via ElasticSearch
- added possibility to auto convert all entry names to lower case; it can be configured via local kernel meta: "force_lower":"yes"
- added check for allowed entry names; it can be configured as RE via local kernel meta:
"allowed_entry_names": "^[A-Za-z0-9_@. -]*$" - added check for allowed action names in modules; it can be configured as RE via local kernel meta:
"allowed_action_names": "^[A-Za-z_-]*$" - added possibility to index data for only specific modules via local kernel meta:
"index_modules":[list of module UIDs and aliases] - removed AUTHORS.txt as non-standard (leaving CONTRIBUTIONS.txt)
- added possibility to skip SSL certificate check for remote repositories
- added CK kernel functions save_state(), restore_state, reinit to let multiple CK instances co-exist
fixed major bug with kernel version checking
- fixed major bug with kernel version checking (otherwise some modules are not working properly).
started new functionality (fixing python number and automatically downloading missing components)
- added support for setuptools
- added report on Python executable used by CK
- recording python executable to ck-python.cfg during installation - it can now be used by default when calling CK CLI
- added experimental functionality to automatically download missing components from cKnowledge.org. It is turned off by default. To turn it on use "ck set kernel var.download_missing_components=yes"