昇腾NPU容器内 apt 换源

环境

  • 昊算NPU云
  • 910b

问题

缺少vim等,同时无法apt安装新的依赖

解决办法

  1. 使用vi修改/etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian
Suites: bookworm bookworm-updates bookworm-backports
Components: main contrib non-free
Architectures: arm64

Types: deb
URIs: http://deb.debian.org/debian-security
Suites: bookworm-security
Components: main contrib non-free
Architectures: arm64

Types: deb
URIs: https://mirrors.tuna.tsinghua.edu.cn/debian
Suites: bookworm bookworm-updates bookworm-backports
Components: main contrib non-free
Architectures: amd64 i386

Types: deb
URIs: https://mirrors.tuna.tsinghua.edu.cn/debian-security
Suites: bookworm-security
Components: main contrib non-free
Architectures: amd64 i386
  1. 换源dns
  • 临时更换DNS
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
### Intel NPU 官方镜像源站点 对于Intel神经计算棒(NCS)和其他基于Intel架构的神经处理单元(NPU),官方提供了多种资源和支持来帮助开发者获取所需的工具和软件环境。为了获得最新的Intel NPU相关镜像源,建议访问以下官方网站: - **Intel® Movidius™ Myriad™ X VPU 和 Intel Neural Compute Stick (NCS)** 的官方页面提供了一系列支持文档和技术资料,包括适用于不同操作系统的安装包下载链接[^1]。 [Intel® Movidius™ Developer Tools](https://software.intel.com/content/www/us/en/develop/tools/movidius.html) - 对于更广泛的AI推理解决方案,可以查看 **Intel Distribution of OpenVINO Toolkit** 页面,这里不仅包含了针对特定硬件优化过的模型库,还涵盖了详细的教程以及社区论坛的支持信息[^2]。 [Intel® Distribution of OpenVINO™ toolkit](https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/overview.html) 这些网站上通常会列出所有可用的操作系统版本及其对应的二进制文件或Docker镜像地址。如果需要构建自定义映像,则可以根据提供的指导说明来进行配置。 另外,在Linux环境下工作时,考虑到网络连接方式的选择会影响外部资源的访问效率,比如通过VMware虚拟化平台搭建测试环境的情况下,可以选择合适的网卡适配器如仅主机模式(Host-only) 或者 NAT 模式 来确保最佳性能表现[^3]。 ```bash # 使用 Docker 获取并运行预建好的OpenVINO容器实例作为快速入门方法之一 docker pull intel/openvino/ubuntu20_runtime:latest docker run -it --rm \ -e http_proxy=$HTTP_PROXY -e https_proxy=$HTTPS_PROXY \ -v /path/to/local:/opt/intel/workdir \ intel/openvino/ubuntu20_runtime:latest ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值