unsloth 安装的时候会 自动升级torch版本,解决办法

unsloth 安装的时候会 自动升级torch版本,解决办法

bash 复制代码
RUN uv pip install --system --no-cache-dir \
    "unsloth[cu121-ampere-torch240] @ git+https://gitcode.com/zhangfeng1133/unsloth_no_flash-atten.git" \
    --no-build-isolation \
    "torch==2.4.0+cu121" --extra-index-url https://download.pytorch.org/whl/cu121

或者

bash 复制代码
```bash
uv pip install --system --no-cache-dir \
    "unsloth[cu121-ampere-torch240] @ git+https://gitcode.com/zhangfeng1133/unsloth_no_flash-atten.git" \
    --no-build-isolation \
    --index-url https://download.pytorch.org/whl/cu121 \
    --extra-index-url https://download.pytorch.org/whl/cu121
    
复制代码
相关推荐
AI精钢22 分钟前
谷歌时隔一年发布“更加开源“的 Gemma 4,意图何为?
人工智能·云原生·开源·aigc
洞见新研社31 分钟前
从算力到电力,谁在搭建AI时代的“能源基座”?
人工智能·能源
小程故事多_801 小时前
自然语言智能体控制框架,重塑AI Agent的协作与执行范式
人工智能·架构·aigc·ai编程·harness
2501_933329551 小时前
技术深度拆解:Infoseek舆情系统的全链路架构与核心实现
开发语言·人工智能·分布式·架构
aosky1 小时前
OmniVoice:支持 600+ 语言的零样本语音克隆 TTS 系统
人工智能·tts
无忧智库1 小时前
数字化转型 | 全面揭秘企业经营的数字化解决方案 —— 从挑战到突破
大数据·人工智能
Circle Studio1 小时前
AI算力发展的未来趋势
大数据·人工智能
算家云1 小时前
OpenClaw进阶玩法:多飞书机器人部署指南
人工智能·飞书·openclaw
AI_Auto1 小时前
【智能制造】- AI质检+MES:重构智能制造质量闭环
人工智能·重构·制造
Wild API2 小时前
Claude 和 GPT 可以怎么搭?一个多模型调用示例讲清楚
人工智能·gpt