All CK components can be found at cKnowledge.io and in one GitHub repository!
This project is hosted by the cTuning foundation.
This repository provides portable, customizable, and reproducible workflows, automation actions, and reusable artifacts for PyTorch in the Collective Knowledge format (CK).
The minimal installation requires:
- Python 2.7 or 3.3 (limitation is mainly due to unitests)
- Git command line client.
You can install CK in your local user space as follows:
$ git clone http://github.com/ctuning/ck
$ export PATH=$PWD/ck/bin:$PATH
$ export PYTHONPATH=$PWD/ck:$PYTHONPATH
You can also install CK via PIP with sudo to avoid setting up environment variables yourself:
$ sudo pip install ck
We still need to provide proper support to build PyTorch via CK on Windows
First you need to download and install a few dependencies from the following sites:
- Git: https://git-for-windows.github.io
- Minimal Python: https://www.python.org/downloads/windows
You can then install CK as follows:
$ pip install ck
or
$ git clone https://github.com/ctuning/ck.git ck-master
$ set PATH={CURRENT PATH}\ck-master\bin;%PATH%
$ set PYTHONPATH={CURRENT PATH}\ck-master;%PYTHONPATH%
$ ck pull repo:ck-pytorch
$ ck install package --tags=lib,pytorch,vcpu
$ ck pull repo:ck-pytorch
$ ck install package --tags=lib,pytorch,vcuda
$ ck install package --tags=lib,pytorch-vision
$ ck run program:pytorch
- Select 'classify-squeezenet-1.1'
- Select image to classify
- Observe result
We plan to add PyTorch to our ReQuEST tournament framework: http://cKnowledge.org/request
Get in touch with CK-AI community here.