2
4
其他
flux.1_dev + flux.1_diffusers + K100 AI 无法部署测试成功
2025-07-04 13:43:08
82

环境:
操作系统:统信V20
Docker image: image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10 

安装diffuser和依赖

git clone http://developer.hpccube.com/codes/modelzoo/flux.1_diffusers.git
cd flux.1_diffusers
git submodule init && git submodule update

  1. 安装diffusers
    cd diffusers
    python3 setup.py install
    cd ..

运行 flux.1

python Flux_test.py

使用xformers计算attention:
export FLUX_USE_XFORMERS=1
python Flux_test.py

之前弄错了,现在可以了。

全部评论(0)
只看楼主
暂无数据
--
楼主
Level.6
0 帖子
楼主热帖
暂无数据