惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
V
Visual Studio Blog
P
Privacy International News Feed
月光博客
月光博客
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
Lohrmann on Cybersecurity
N
News and Events Feed by Topic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
Webroot Blog
Webroot Blog
T
Threatpost
宝玉的分享
宝玉的分享
The Last Watchdog
The Last Watchdog
小众软件
小众软件
L
LINUX DO - 最新话题
C
Cisco Blogs
T
Troy Hunt's Blog
Schneier on Security
Schneier on Security
酷 壳 – CoolShell
酷 壳 – CoolShell
www.infosecurity-magazine.com
www.infosecurity-magazine.com
雷峰网
雷峰网
G
GRAHAM CLULEY
有赞技术团队
有赞技术团队
Know Your Adversary
Know Your Adversary
博客园 - 叶小钗
罗磊的独立博客
V
V2EX
博客园 - Franky
P
Proofpoint News Feed
SecWiki News
SecWiki News
腾讯CDC
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
博客园 - 三生石上(FineUI控件)
S
Secure Thoughts
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
Attack and Defense Labs
Attack and Defense Labs
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
PCI Perspectives
PCI Perspectives
V2EX - 技术
V2EX - 技术
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
aimingoo的专栏
aimingoo的专栏
Cisco Talos Blog
Cisco Talos Blog
N
News and Events Feed by Topic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题

博客园 - 河在谈

华为云挂载其它硬盘 ubuntu24.04 LiteLLM的安装配置 copaw安装使用,ollama ubuntu24.04 安装 cuda 13.2 群辉采用Virtual Machine Manager安装ImmortalWrt Excel 宏 日期选择 ollama下载模型并运行 docker镜像离线导出、导入 ESXi-6.7.0 安装黑群辉 7.1.1 群辉备份数据至通过rsync 备份至linux服务器 学位论文中 公式的插入,格式调整、编号以及引用 php-fpm配置redis存session 专利线框图绘制和导出,从Blender到3ds max 显卡掉卡收集日志给服务器供应商 photoshop 批量导出每个图层为独立图像 thinkcmfx 修改菜单不生效 mathtype中嵌入数学公式导致行距变大的解决方法 ubuntu 采用.run文件安装的cuda,升级版本,安装cudnn docker 容器,将网络更改为默认bridge网络 CentOS系统实现PPT转图片
构建一个huggingface的python虚拟环境,并下载模型
河在谈 · 2026-01-29 · via 博客园 - 河在谈

创建虚拟环境,里面的python版本就是当前python3的版本,没法指定,不如conda灵活

激活环境,想进环境都要做

source .hf-env/bin/activate

升级基础工具(避免安装问题)

pip install --upgrade pip setuptools wheel

安装

pip install huggingface-hub

加镜像站

export HF_ENDPOINT=https://hf-mirror.com

下载模型,新版本里已经没有 huggingface-cli 命令了,直接用hf命令就行。

hf download mratsim/MiniMax-M2.1-BF16-INT4-AWQ \
  --local-dir ../models/MiniMax-M2.1-BF16-INT4-AWQ

posted @ 2026-01-29 10:00  河在谈  阅读(32)  评论(0)    收藏  举报