国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
| import collections | |
| import uuid | |
| from typing import Dict | |
| import numpy as np | |
| import tritonclient | |
| import tritonclient.grpc as grpcclient | |
| import tritonclient.utils.shared_memory as shm | |
| ShmHandle = collections.namedtuple( |
Harvester leverages the Kubernetes service to provide the load balancer for the service in the Harvester virtual machines. The backend servers of the load balancer are the <VM IP>:<service port>.
cw-harv:/home/rancher # kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default-nginx-lb-db9bdca5 LoadBalancer 10.43.113.238 80:32586/TCP 4h32mOn every machine in the cluster install openmpi and mlx-lm:
conda install conda-forge::openmpi
pip install -U mlx-lmNext download the pipeline parallel run script. Download it to the same path on every machine:
| [mac os下vscode快捷键](https://www.cnblogs.com/informatics/p/8315339.html) | |
| 全局 | |
| Command + Shift + P / F1 显示命令面板 | |
| Command + P 快速打开 | |
| Command + Shift + N 打开新窗口 | |
| Command + W 关闭窗口 | |
| 基本 | |
| Command + X 剪切(未选中文本的情况下,剪切光标所在行) | |
| Command + C 复制(未选中文本的情况下,复制光标所在行) |