AI开发平台MODELARTS-SD3基于Lite Server适配PyTorch NPU的训练指导(6.3.912):步骤二:上传代码、权重和数据集到容器中

时间:2025-02-25 19:55:15

步骤二:上传代码、权重和数据集到容器中

  1. 安装插件代码包。将获取到的插件代码包AscendCloud-AIGC-6.3.912-xxx.zip文件上传到容器的/home/ma-user目录下,并解压。
    cd /home/ma-user
    unzip AscendCloud-AIGC-6.3.912-*.zip #解压
  2. 下载模型权重,上传到容器的/home/ma-user目录下,官网下载地址:https://huggingface.co/stabilityai/stable-diffusion-3-medium-diffusers/tree/main(需登录)
  3. 下载公开数据集,上传到容器的/home/ma-user目录下,官网下载地址:https://huggingface.co/datasets/diffusers/dog-example/tree/main。

    下载好之后删除数据集中的.gitattributes文件。

support.huaweicloud.com/bestpractice-modelarts/modelarts_sd3_train_912.html