Skip to content
AI on Blockchain -- The Decentralized AI Autonomous System
Go C++ C JavaScript Cuda Python Other
Branch: dev
Clone or download
Latest commit a785692 Aug 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
accounts account & api & build Aug 9, 2019
build typo Aug 1, 2019
client dolores ckp update Jul 24, 2019
cmd [maintain] infer client request timeout set Aug 16, 2019
common deep frozen upgrade Jul 29, 2019
consensus fix Aug 8, 2019
console freeze and compress block from active leveld Jul 29, 2019
contracts/checkpointoracle typo Aug 13, 2019
core [Micro fix] blockchain import opt Aug 19, 2019
crypto dolores ckp update Jul 24, 2019
ctxc ' Aug 21, 2019
db fix Aug 5, 2019
event dolores ckp update Jul 24, 2019
example update testnet's name to bernard Jun 18, 2019
inference infer request timeout set Aug 15, 2019
infernet Merge commit '022d22f9bfe52d957e8ed88b7d4684e0519ea019' into dev-zkh Aug 7, 2019
internal Merge remote-tracking branch 'origin/dev' into dev-zhen Aug 15, 2019
log dolores ckp update Jul 24, 2019
metrics typo and opt Jul 19, 2019
miner dolores ckp update Jul 24, 2019
node golang code format Jul 30, 2019
p2p [Micro fix] downloader fast sync fix Aug 19, 2019
params [stash] Aug 19, 2019
pow typo 2018 Jul 23, 2019
rlp typo 2018 Jul 23, 2019
rpc dolores ckp update Jul 24, 2019
signer dolores ckp update Jul 24, 2019
solution reduce cpu occupancy Aug 15, 2019
tests dolores ckp update Jul 24, 2019
torrentfs ' Aug 21, 2019
trie typo Jul 30, 2019
vendor vendor.json Aug 10, 2019
.dockerignore dockerignore, internal/build: forward correct git folder Nov 12, 2017
.gitattributes .gitattributes: enable solidity highlighting on github (#16425) Apr 3, 2018
.gitignore cortex keytools added Aug 5, 2019
.gitmodules remove eth test Jul 25, 2018
COPYING typo Jul 31, 2019
COPYING.LESSER all: update license information Jul 7, 2015
LICENSE Initial commit Apr 25, 2018
Makefile shell & Makefile Aug 8, 2019
README.md Update README.md Aug 16, 2019
cvm.sh shell & Makefile Aug 8, 2019
cvm_gpu.sh shell & Makefile Aug 8, 2019
genesis.json butter Mar 7, 2019
interfaces.go dolores ckp update Jul 24, 2019
node.sh shell & Makefile Aug 8, 2019
solo.sh shell & Makefile Aug 8, 2019
start.sh log show Aug 15, 2019
start_gpu.sh start shell Aug 15, 2019
start_solo.sh start shell Aug 15, 2019

README.md

Cortex

System Requirements

ubuntu

Cortex node is developed in Ubuntu 18.04 x64 + CUDA 9.2 + NVIDIA Driver 396.37 environment, with CUDA Compute capability >= 6.1. Latest Ubuntu distributions are also compatible, but not fully tested. Recommend:

  • cmake 3.11.0+
wget https://cmake.org/files/v3.11/cmake-3.11.0-rc4-Linux-x86_64.tar.gz
tar zxvf cmake-3.11.0-rc4-Linux-x86_64.tar.gz
sudo mv cmake-3.11.0-rc4-Linux-x86_64  /opt/cmake-3.11
sudo ln -sf /opt/cmake-3.11/bin/*  /usr/bin/
  • go 1.10.0+
wget https://dl.google.com/go/go1.11.5.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.11.5.linux-amd64.tar.gz
echo 'export PATH="$PATH:/usr/local/go/bin"' >> ~/.bashrc
source ~/.bashrc
  • gcc/g++ 5.4+
sudo apt install gcc
  • cuda 9.2+ (if u have gpu)
export LD_LIBRARY_PATH=/usr/local/cuda/lib64/:/usr/local/cuda/lib64/stubs:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cuda/lib64/:/usr/local/cuda/lib64/stubs:$LIBRARY_PATH
  • nvidia driver 396.37+
  • ubuntu 16.04+

centos

Recommend:

  • cmake 3.11.0+
  • go 1.10.0+
  • gcc/g++ 5.4+
  • cuda 10.1+ (if u have gpu)
export LD_LIBRARY_PATH=/usr/local/cuda/lib64/:/usr/local/cuda/lib64/stubs:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cuda/lib64/:/usr/local/cuda/lib64/stubs:$LIBRARY_PATH
  • nvidia driver 418.67+
  • centos 7.6

Cortex Full Node

Compile Source Code

  1. git clone https://github.com/CortexFoundation/CortexTheseus.git
  2. cd CortexTheseus
  3. make cpu (cpu) or make cortex (gpu)

Running Bash

And then, run any command to start full node cortex:

1. cd CortexTheseus
2. export LD_LIBRARY_PATH=$PWD/infernet/build/cpu/:$PWD/infernet/build/gpu:$LD_LIBRARY_PATH
3. (1)./build/bin/cortex --infer.devicetype=cpu/gpu
   (2)./build/bin/cortex --infer.devicetype=ipc://cpu(gpu)
   (3)You can also run cortex full node as multiple services
   ./cvm.sh then node.sh
   (4)It is easy way to run cortex full node
   ./start.sh or ./start_gpu.sh or ./start_solo.sh
You can’t perform that action at this time.