node0
Node0: A collaborative event powered by Protocol Learning, our decentralized approach to AI development
File Explorer
- dashboard-button.svg
- bug_report.md
- CODEOWNERS
- cloud.md
- network.md
- useful_links.md
- aws_inbound_rules.png
- gcp_inbound_rules.png
- lambda_inbound_rules.png
- node0-logo-black.png
- node0-logo-white.png
- runpod_edit_pod.png
- runpod_external_port.png
- runpod_inbound_rules.png
- tensordock_external_port.png
- tensordock_forwarded_ports.png
- llama_8B_C.yaml
- arguments.py
- layers.py
- arguments.py
- lr_schedule.py
- authorization.py
- integrity_check.cpython-311-aarch64-linux-gnu.so
- integrity_check.cpython-311-x86_64-linux-gnu.so
- validation.py
- ar_runner.py
- HM_averager.py
- HM_gradient_averager.py
- HM_state_averager.py
- matchmaking.py
- module_collab.py
- node0_server.py
- optim.py
- power_sgd_averager.py
- power_sgd_averager_mac.py
- state_averager_wrap.py
- __init__.py
- common.py
- connection_test_server.py
- dht_monitor.py
- dht_partition.py
- flops.py
- get_parameters.py
- logging.py
- mem_monitor.py
- monitor.py
- network_throughput.py
- node_info.py
- __init__.py
- run_server.py
- .gitignore
- Dockerfile
- generate_script.py
- LICENSE
- pyproject.toml
- README.md
- run.json
- THIRD_PARTY_LICENSES.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
conda activate
View Details ▼
conda activate
Activate a conda environment.
See also: `conda deactivate`.
conda activate myenv
Activate an existing environment named `myenv`:
conda activate {{path/to/myenv}}
Activate an existing environment located at custom path:
conda activate --stack myenv
Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:
conda create
View Details ▼
conda create
Create new conda environments.
conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy
Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:
conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}
Create a new environment named `myenv` and install packages listed in files:
conda create {{[-p|--prefix]}} {{path/to/myenv}}
Create a new environment at a custom path (i.e. prefix):
docker build
View Details ▼
docker build
Build an image from a Dockerfile.
docker build .
Build a Docker image using the Dockerfile in the current directory:
docker build {{github.com/creack/docker-firefox}}
Build a Docker image from a Dockerfile at a specified URL:
docker build {{[-t|--tag]}} {{name:tag}} .
Build a Docker image and tag it:
docker ps
View Details ▼
docker ps
This command is an alias of `docker container ls`.
tldr docker container ls
View documentation for the original command:
docker rm
View Details ▼
docker rm
This command is an alias of `docker container rm`.
tldr docker container rm
View documentation for the original command:
docker stop
View Details ▼
docker stop
This command is an alias of `docker container stop`.
tldr docker container stop
View documentation for the original command:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python3
View Details ▼
python3
This command is an alias of `python`.
tldr python
View documentation for the original command:
apt-get
View Details ▼
apt-get
Debian and Ubuntu package management utility.
Search for packages using `apt-cache`.
It is recommended to use `apt` when used interactively in Ubuntu versions 16.04 and later.
sudo apt-get update
Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):
sudo apt-get install {{package}}
Install a package, or update it to the latest available version:
sudo apt-get remove {{package}}
Remove a package:
apt install
View Details ▼
apt install
Install packages for Debian-based distributions.
sudo apt install {{package}}
Install a package, or update it to the latest version:
sudo apt install {{[-V|--verbose-versions]}} {{package}}
Display verbose package version information during installation or update:
systemctl restart
View Details ▼
systemctl restart
Stop and then start one or more systemd units.
Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted.
systemctl restart {{unit}}
Restart a unit:
systemctl restart {{unit1 unit2 ...}}
Restart more than one unit:
systemctl restart {{unit}} --user
Restart a user unit:
