{"id":13819513,"url":"https://github.com/ctuning/ck-env","last_synced_at":"2026-01-22T19:22:39.599Z","repository":{"id":28103694,"uuid":"31602028","full_name":"ctuning/ck-env","owner":"ctuning","description":"CK repository with components and automation actions to enable portable workflows across diverse platforms including Linux, Windows, MacOS and Android. It includes software detection plugins and meta packages (code, data sets, models, scripts, etc) with the possibility of multiple versions to co-exist in a user or system environment. ","archived":false,"fork":false,"pushed_at":"2022-09-23T14:41:34.000Z","size":17606,"stargazers_count":72,"open_issues_count":28,"forks_count":25,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-19T18:49:14.266Z","etag":null,"topics":["android","codereef","collective-knowledge","compilers","datasets","hpc","libraries","linux","macos","mobile-devices","models","multiple-versions","package-manager","portable-workflows","python","reproducible-research","research-workflows","tools","windows"],"latest_commit_sha":null,"homepage":"https://github.com/mlcommons/ck","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctuning.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-03T14:20:14.000Z","updated_at":"2024-10-11T01:19:35.000Z","dependencies_parsed_at":"2022-09-03T22:52:14.874Z","dependency_job_id":null,"html_url":"https://github.com/ctuning/ck-env","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctuning%2Fck-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctuning%2Fck-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctuning%2Fck-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctuning%2Fck-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctuning","download_url":"https://codeload.github.com/ctuning/ck-env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254470303,"owners_count":22076566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","codereef","collective-knowledge","compilers","datasets","hpc","libraries","linux","macos","mobile-devices","models","multiple-versions","package-manager","portable-workflows","python","reproducible-research","research-workflows","tools","windows"],"created_at":"2024-08-04T08:00:49.611Z","updated_at":"2026-01-22T19:22:39.593Z","avatar_url":"https://github.com/ctuning.png","language":"Python","readme":"***Note that this repository is outdated: we are now using the next generation of the MLCommons CK workflow automation meta-framework (Collective Mind aka CM) developed by the [open working group](https://github.com/mlcommons/ck/blob/master/docs/mlperf-education-workgroup.md). Feel free to [join this community effort](https://forms.gle/i5gCDtBC8gMtcvRw6) to learn how to modularize ML Systems and automate their benchmarking, optimization and deployment in the real world!***\n\nFighting the software and hardware chaos\n========================================\n\n**All CK components for AI and ML are now collected in [one repository](https://github.com/ctuning/ck-mlops)!**\n\n*This project is hosted by the [cTuning foundation (non-profit R\u0026D organization)](https://cTuning.org).*\n\n[![compatibility](https://github.com/ctuning/ck-guide-images/blob/master/ck-compatible.svg)](https://github.com/ctuning/ck)\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\n\nLinux \u0026 MacOS: [![Travis Build Status](https://travis-ci.org/ctuning/ck-env.svg?branch=master)](https://travis-ci.org/ctuning/ck-env)\nWindows: [![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/github/ctuning/ck-env?branch=master\u0026svg=true)](https://ci.appveyor.com/project/ens-lg4/ck-env)\n\nThis is a [Collective Knowledge](https://github.com/ctuning/ck) repository\nwith the functionality to support portable, customizable, reusable and automated workflows.\nIt lets users automatically detect the target platform with already installed software, data and models\nrequired for a given workflow using [CK software detection plugins](https://cKnowledge.io/c/soft)\nand install missing [packages](https://cKnowledge.io/c/package) in a unified way.\nMultiple versions of code, data and models can now co-exist in a user or system environment\nsimilar to Python virtualenv. \n\nFurther info:\n* [Open CK platform to publish and download stable CK components](https://cKnowledge.io)\n* [Documentation about portable CK workflows](https://github.com/ctuning/ck/wiki/Portable-workflows)\n* [Reproducible program workflows](https://cKnowledge.io/c/program)\n* [Related CK publications](https://github.com/ctuning/ck/wiki/Publications)\n\nAuthor\n======\n* [Grigori Fursin](https://fursin.net)\n\nContributors\n============\n* See the list of [contributors](https://github.com/ctuning/ck-env/blob/master/CONTRIBUTIONS)\n\nShared CK modules with actions\n==============================\n\n* [apk](https://cKnowledge.io/c/module/apk)\n* [artifact](https://cKnowledge.io/c/module/artifact)\n* [crowdnode](https://cKnowledge.io/c/module/crowdnode)\n* [device](https://cKnowledge.io/c/module/device)\n* [env](https://cKnowledge.io/c/module/env)\n* [log](https://cKnowledge.io/c/module/log)\n* [machine](https://cKnowledge.io/c/module/machine)\n* [me](https://cKnowledge.io/c/module/me)\n* [misc](https://cKnowledge.io/c/module/misc)\n* [os](https://cKnowledge.io/c/module/os)\n* [package](https://cKnowledge.io/c/module/package)\n* [platform](https://cKnowledge.io/c/module/platform)\n* [platform.cpu](https://cKnowledge.io/c/module/platform.cpu)\n* [platform.dsp](https://cKnowledge.io/c/module/platform.dsp)\n* [platform.gpu](https://cKnowledge.io/c/module/platform.gpu)\n* [platform.init](https://cKnowledge.io/c/module/platform.init)\n* [platform.nn](https://cKnowledge.io/c/module/platform.nn)\n* [platform.npu](https://cKnowledge.io/c/module/platform.npu)\n* [platform.os](https://cKnowledge.io/c/module/platform.os)\n* [result](https://cKnowledge.io/c/module/result)\n* [script](https://cKnowledge.io/c/module/script)\n* [soft](https://cKnowledge.io/c/module/soft)\n* [xml](https://cKnowledge.io/c/module/xml)\n\nInstallation\n============\n\nFirst install the CK framework as described [here](https://github.com/ctuning/ck#installation).\n\nThen install this CK repository as follows:\n\n```\n $ ck pull repo:ck-env\n\n $ ck list soft\n $ ck list package\n\n```\n\nUsage\n=====\n\nYou can detect and register in the CK all the instances of GCC and LLVM as follows:\n```\n $ ck detect soft:compiler.gcc\n $ ck detect soft:compiler.llvm\n```\n\nYou can now see multiple versions of the detected software registered in the CK as follows:\n```\n $ ck show env\n```\n\nYou can then compile and run unified CK benchmarks shared by the community using \nany of the above compiler instances (GCC, LLVM, ICC ...) and their versions simply as follows:\n\n```\n $ ck pull repo:ck-autotuning\n $ ck pull repo:ctuning-programs\n\n $ ck compile program:cbench-automotive-susan --speed\n $ ck run program:cbench-automotive-susan\n```\n\nIf you have Android NDK and SDK installed, CK can automatically detect it together with compiler\nversions (GCC, LLVM), register them and let you compile and run benchmarks on Android simply via:\n```\n $ ck compile program:cbench-automotive-susan --speed --target_os=android21-arm-v7a\n $ ck run program:cbench-automotive-susan --target_os=android21-arm-v7a\n```\n\nYou can find further details about our customizable and cross-platform package/environment manager\n[here](https://github.com/ctuning/ck/wiki/Portable-workflows).\n\n\nQuestions and comments\n======================\n\nPlease feel free to get in touch with the [CK community](https://github.com/ctuning/ck/wiki/Contacts) \nif you have any questions, suggestions and comments!\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctuning%2Fck-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctuning%2Fck-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctuning%2Fck-env/lists"}