docker 原理与应用实践 --
张成远
## docker 原理与应用实践 张成远 容器系统整体架构 • Namespace • CGroup • Device Mapper • Pull Image • Start Container • Stop Container • Docker Image Storage ## 容器系统整体架构 ### JD.COM 京东 kubernetes Docker Etcd 0efa24/p3_1.jpg) Fleet Channel Libchan lxc Weave linux CGroup Namespace Aufs/Btrfs Device Mapper capabilities netlink netfilter ## Namespace ### JD.COM 京东 • 提供进程级别的资源隔离 • 为进程提供不同的命名空间视图 框架为上层应用提供了丰富的设备映射及 IO 策略方面的支持 • Docker 存储端实现之一使用 DM - thin provision • 上层通过 dmsetup 工具或 libdevmapper 库使用 ## Device Mapper ### JD.COM 京东 0 码力 | 26 页 | 1.79 MB | 2 年前3
MyBatis 框架尚硅谷 java 研究院版本:V 1.0人工智能资料下载,可访问百度:尚硅谷官网<mapper resource="EmployeeMapper.xml"> mapper> ### 2.4 创建 Mybatis 的 sql 映射文件 ## 1 ) 参考 MyBatis MyBatis 的官方手册 <mapper namespace="suibian"> mapper> ### 2.5 测试 1) 参考 MyBatis 的官方手册 @Test public void test() throws Exception { String resource =0 码力 | 44 页 | 926.54 KB | 2 年前3
vLLM v0.5.1 Documentation--ipc=host \ --cap-add=SYS_PTRACE \ --security-opt seccomp=unconfined \ --device /dev/kfd \ --device /dev/dri \ -v:/app/model \ vllm-rocm \ bash ``` Where pytorch.org/whl/cpu https:// storage.openvinotoolkit.org/simple/wheels/nightly/" VLLM_TARGET_DEVICE=openvino python -m pip install -v . ``` ## 1.3.4 Performance tips vLLM OpenVINO backend uses https://download.pytorch.org/ →whl/cpu ``` - Finally, build and install vLLM CPU backend: $ VLLM_TARGET_DEVICE=cpu python setup.py install Note: - BF16 is the default data type in the current CPU backend (that 0 码力 | 162 页 | 1.14 MB | 3 月前3
vLLM v0.5.2 Documentation--ipc=host \ --cap-add=SYS_PTRACE \ --security-opt seccomp=unconfined \ --device /dev/kfd \ --device /dev/dri \ -v:/app/model \ vllm-rocm \ bash ``` pytorch.org/whl/cpu https:// storage.openvinotoolkit.org/simple/wheels/nightly/" VLLM_TARGET_DEVICE=openvino python -m pip install -v . ``` ## 1.3.4 Performance tips vLLM OpenVINO backend uses https://download.pytorch.org/ →whl/cpu ``` - Finally, build and install vLLM CPU backend: $ VLLM_TARGET_DEVICE=cpu python setup.py install Note: - BF16 is the default data type in the current CPU backend (that 0 码力 | 166 页 | 1.15 MB | 3 月前3
vLLM v0.5.5 Documentationsystems. You can create such a build with the following commands: ```bash $ export VLLM_TARGET_DEVICE=empty $ pip install -e . ``` Tip: Building from source requires quite a lot compilation. If you --ipc=host \ --cap-add=SYS_PTRACE \ --security-opt seccomp=unconfined \ --device /dev/kfd \ --device /dev/dri \ -v:/app/model \ vllm-rocm \ bash ``` OpenVINO backend: $ PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_ →DEVICE=openvino python -m pip install -v . ## 1.3.4 Performance tips vLLM OpenVINO backend uses the following 0 码力 | 193 页 | 1.22 MB | 3 月前5
vLLM v0.6.0 Documentationsystems. You can create such a build with the following commands: ```bash $ export VLLM_TARGET_DEVICE=empty $ pip install -e . ``` Tip: Building from source requires quite a lot compilation. If you --ipc=host \ --cap-add=SYS_PTRACE \ --security-opt seccomp=unconfined \ --device /dev/kfd \ --device /dev/dri \ -v:/app/model \ vllm-rocm \ bash ``` OpenVINO backend: $ PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_ →DEVICE=openvino python -m pip install -v . ## 1.3.4 Performance tips vLLM OpenVINO backend uses the following 0 码力 | 201 页 | 1.26 MB | 3 月前3
vLLM v0.6.1.post2 Documentationsystems. You can create such a build with the following commands: ```bash $ export VLLM_TARGET_DEVICE=empty $ pip install -e . ``` Tip: Building from source requires quite a lot compilation. If you --ipc=host \ --cap-add=SYS_PTRACE \ --security-opt seccomp=unconfined \ --device /dev/kfd \ --device /dev/dri \ -v:/app/model \ vllm-rocm \ bash ``` OpenVINO backend: $ PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_ →DEVICE=openvino python -m pip install -v . ## 1.3.4 Performance tips vLLM OpenVINO backend uses the following 0 码力 | 215 页 | 1.29 MB | 3 月前3
vLLM v0.5.4 Documentation--ipc=host \ --cap-add=SYS_PTRACE \ --security-opt seccomp=unconfined \ --device /dev/kfd \ --device /dev/dri \ -v:/app/model \ vllm-rocm \ bash ``` pytorch.org/whl/cpu https://storage. →openvinotoolkit.org/simple/wheels/pre-release" VLLM_TARGET_DEVICE=openvino python →-m pip install -v . ``` ## 1.3.4 Performance tips vLLM OpenVINO backend uses https://download.pytorch.org/ →whl/cpu ``` - Finally, build and install vLLM CPU backend: $ VLLM_TARGET_DEVICE=cpu python setup.py install ## Note: - BF16 is the default data type in the current CPU backend 0 码力 | 152 页 | 1.10 MB | 3 月前3
ubuntu server guideroduction| |4|wireguard-vpn-peer2site-router|On router| |4|wireguard-vpn-peer2site-inside|Inside device| |3|wireguard-vpn-site2site|Site-to-site| |3|wireguard-vpn-defaultgw|Default gateway| |3|wiregua Azure| ||Multipath| |device-mapper-multipathing-introduction|Introduction| |device-mapper-multipathing-configuration|Configuration| |device-mapper-multipathing-setup|Setup| |device-mapper-multipathing-usage-debug|Usage -agents|Pacemaker - fence agents| |ubuntu-ha-pacemaker-fence-agents|Distributed Replicated Block Device (DRBD)| |ubuntu-ha-drbd|Ubuntu HA - Migrate from crmsh to pcs| |ubuntu-ha-migrate-from-crmsh-to-pcs|Databases|0 码力 | 486 页 | 3.33 MB | 1 年前3
vLLM v0.6.2 Documentationsystems. You can create such a build with the following commands: ```bash $ export VLLM_TARGET_DEVICE=empty $ pip install -e . ``` Tip: Building from source requires quite a lot compilation. If you --ipc=host \ --cap-add=SYS_PTRACE \ --security-opt seccomp=unconfined \ --device /dev/kfd \ --device /dev/dri \ -v:/app/model \ vllm-rocm \ bash ``` OpenVINO backend: $ PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_ →DEVICE=openvino python -m pip install -v . ## 1.3.4 Performance tips vLLM OpenVINO backend uses the following 0 码力 | 227 页 | 1.33 MB | 3 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
DockerNamespaceCGroupDevice MapperDocker Image StorageMyBatis持久层框架SQL映射Mapper接口事务管理Vision Language ModelsOffline Batched InferencePreemptionChunked PrefillMultiModalDataDictvLLMLLM inferenceproduction metricsusage statisticsmulti-modal models性能基准测试KV缓存管理模型集成参数配置PagedAttention量化分批处理LoRA AdapterPerformance TuningSampling Parameterspaged attention多模态数据连续批量处理预emptionUbuntu Serverinstallationconfigurationnetworkingvirtualizationcontainershigh availabilitysecurity量化模型多模态模型分布式推理OpenAI兼容服务器













