| #cd ~ | |
| #git clone https://github.com/ayush1801/minimoX.git | |
| #cd minimoX | |
| #conda create -n minimo_new python=3.11.10 | |
| #conda init | |
| #bash | |
| #conda activate minimo_new | |
| #pip install maturin | |
| #conda install -c conda-forge rust | |
| #cd environment | |
| #maturin dev --release | |
| #cargo build --bin peano --release | |
| #target/release/peano theories/natural_number_game.p t_example1 (this should output "ok", extract and then move on) | |
| #cd ../learning | |
| #pip install -r requirements.txt | |
| #sudo apt install -y redis-server | |
| #create a tmux session: redis-server --port 6379 | |
| #create a tmux session: CUDA_VISIBLE_DEVICES=0 celery -A worker:app worker --loglevel=INFO --concurrency 4 --prefetch-multiplier=1 --hostname gpu0@%h | |
| #create a tmux session: CUDA_VISIBLE_DEVICES=1 celery -A worker:app worker --loglevel=INFO --concurrency 4 --prefetch-multiplier=1 --hostname gpu1@%h | |
| #create a tmux session: CUDA_VISIBLE_DEVICES=2 celery -A worker:app worker --loglevel=INFO --concurrency 4 --prefetch-multiplier=1 --hostname gpu2@%h | |
| #create a tmux session: CUDA_VISIBLE_DEVICES=3 celery -A worker:app worker --loglevel=INFO --concurrency 4 --prefetch-multiplier=1 --hostname gpu3@%h |