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

推荐订阅源

Hacker News: Ask HN
Hacker News: Ask HN
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
C
Check Point Blog
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
Secure Thoughts
Recorded Future
Recorded Future
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
The Blog of Author Tim Ferriss
B
Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Google DeepMind News
Google DeepMind News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
A
Arctic Wolf
T
The Exploit Database - CXSecurity.com
Stack Overflow Blog
Stack Overflow Blog
T
Threat Research - Cisco Blogs
GbyAI
GbyAI
AWS News Blog
AWS News Blog
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
Google Online Security Blog
Google Online Security Blog
T
Troy Hunt's Blog
I
InfoQ
L
LINUX DO - 热门话题
WordPress大学
WordPress大学
C
Cisco Blogs
G
GRAHAM CLULEY
The Register - Security
The Register - Security
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Schneier on Security
Schneier on Security
Project Zero
Project Zero
H
Hackread – Cybersecurity News, Data Breaches, AI and More
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
H
Hacker News: Front Page
小众软件
小众软件
雷峰网
雷峰网
The Hacker News
The Hacker News
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Tor Project blog
博客园 - 聂微东
N
Netflix TechBlog - Medium
V
Vulnerabilities – Threatpost
The GitHub Blog
The GitHub Blog
腾讯CDC
P
Palo Alto Networks Blog
Scott Helme
Scott Helme

博客园 - yi-sheng

AMD开发者中心Notebook开SSH与WEB外网访问 ROCm 环境多模态开发开源项目汇总 国产曦云C500双卡vllm框架本地部署qwen3.6-35B模型 国产曦云C500驱动安装 国产曦云C500双卡本地部署qwen3.6-35B模型 NVIDIA GeForce RTX 3080 魔改20G 运行大模型 FusionXpark_GB10救砖教程 ARM 架构NVIDIA GB10 Grace Blackwell环境中部署 Qwen3.6-35B 推理服务 Rufus的4.4制作ubuntu-24.04.4安装U盘 常用办公终端NEC 莱斯双盘位桌面存储阵列2代-LaCie 2big v2设置RAID1 常用办公终端配置信息 H3C LinSeer MegaCube灵犀MegaCube工作站使用笔记 4090多卡使用sglang推理框架docker布署qwen3.6-35B 国产曦云C500双卡本地部署qwen3.5-35B模型 国产GPU沐曦GPU系统曦云C500体验笔记 ARM 架构NVIDIA GB10 Grace Blackwell 芯片环境下安装conda FusionXpark GB10盒子开箱笔记 Python 3.11.6 + Oracle 11g​开发环境配置 MCP开发技巧:静态参数作为行为提醒(Reminder Pattern) Teachable Machine安装 Qwen2.5-1.5B + LoRA 单张显卡 微调实战 Qwen2.5-1.5B + LoRA 微调实战 大模型基建实战:使用序列猴子数据集定制 BPE Tokenizer 老年小龙虾soul.md示例 低幻觉医疗大模型Baichuan-M2-32B本地部署笔记 小龙虾本地算力RTX 4090 (24G) 四卡本地SGLang框架跑qwen3.5-35B模型 MCP工具粒度的权衡 DELL XPS 13-7390 重装系统方法 搭建私有 Matrix 聊天服务器 OpenClaw小龙虾软件原理解析 小龙虾本地算力 RTX 4090 (24G) 四卡本地运行 Qwen2.5-27B​ 模型 OpenClaw 飞书平台配置指南 MacBook Air A1534 系统安装指南:从 macOS 到 Windows
AMD Rademo RX 7900 48G显存 单卡环境部署Qwen3.6-35B-A3B
yi-sheng · 2026-07-24 · via 博客园 - yi-sheng


AMD Rademo RX 7900 48G显存 单卡环境部署Qwen3.6-35B-A3B

AMD-Rademo-RX7900-48G-env


Git 克隆报 SSL 证书错误
git config --global http.sslVerify false


#创建继承系统的虚拟环境,解决PyTorch 找不到显卡
python3 -m venv env --system-site-packages

#激活环境
source env/bin/activate

#手动安装 ROCm 版 PyTorch(注意:一定要装 rocm 版本!)
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.2.4


#验证GPU识别
python -c "import torch; print(torch.cuda.is_available(), torch.version.hip, torch.cuda.get_device_name(0))"


python -c "
import torch
print('HIP可用:', torch.cuda.is_available())
print('HIP版本:', torch.version.hip)
print('GPU名称:', torch.cuda.get_device_name(0))
"

#从之前备份的数据集恢复。
重新安装 Git LFS 并配置
apt-get update && apt-get install -y git-lfs
git lfs install
git config --global http.sslVerify false


克隆数据集(自动拉取大文件)
cd /workspace
git clone https://oauth2:YOUR_ACCESS_TOKEN@www.modelscope.cn/datasets/YOUR_USERNAME/my-vllm-env-backup.git
cd my-vllm-env-backup

# 确保当前在 /workspace/my-vllm-env-backup 目录下
# 将压缩包移动回 /workspace 根目录
mv env_backup.tar.gz /workspace/

# 回到 /workspace
cd /workspace

# 解压 (解压后会直接生成 /workspace/env 目录)
tar -xzvf env_backup.tar.gz

# 清理临时下载目录
rm -rf my-vllm-env-backup

激活并验证
source env/bin/activate

# 验证 Python 版本
python --version

# 验证Torch
python -c "import torch; print('CUDA Available:', torch.cuda.is_available()); print('Device:', torch.cuda.get_device_name(0))"


安装vllm

cd /mnt/workspace
git clone https://github.com/vllm-project/vllm.git
cd vllm

pip install -r requirements/rocm.txt
pip install -r requirements/build.txt
pip install fastapi uvicorn pydantic starlette

源码编译安装
pip install --no-build-isolation -e .

安装依融注意
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

#直接 pip install -r requirements.txt 会把刚装好的 ROCm 版 PyTorch 覆盖成 N 卡版,显卡直接罢工。所以用sed命令过滤
sed -i '/^torch$/d' requirements.txt
sed -i '/^torchvision$/d' requirements.txt
sed -i '/^torchaudio$/d' requirements.txt
pip install -r requirements.txt


#验证编译结果

python -c "
import torch, triton, vllm
print('Python:', __import__('sys').version_info[:3])
print('Torch :', torch.__version__)
print('HIP :', torch.version.hip)
print('CUDA avail:', torch.cuda.is_available())
print('Triton :', triton.__version__)
print('vLLM :', vllm.__version__)
from vllm import LLM
print('✅ GOLDEN ENV: vLLM + ROCm 7.2 + Python 3.11 OK')
"


下载模型
modelscope download --model Qwen/Qwen3.6-35B-A3B --local_dir /home/admin/workspace/modelscope/models/qwen36b_20260423


运行

vllm serve /home/admin/workspace/modelscope/models/qwen36b_20260423 \
--tensor-parallel-size 1 \
--dtype bfloat16 \
--gpu-memory-utilization 0.93 \
--max-model-len 32768 \
--trust-remote-code \
--enable-moe-opt \
--served-model-name qwen3.6-35b-a3b \
--host 0.0.0.0 \
--port 8000

curl http://127.0.0.1:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model":"qwen3.6-35b-a3b",
"messages": [{"role":"user","content":"你是谁"}]
}'