open-sora 使用docker一键部署

opensora项目地址:

https://github.com/hpcaitech/Open-Sora

一键启动,一键部署,不用下载资源

注意,要安装docker-nvidia的工具,自己百度也可以

相关链接:https://www.cnblogs.com/linhaifeng/p/16108285.html

docker一键部署,一键启动(镜像还在上传中,很大)

docker run -itd -p 7860:7860 --rm --gpus=all --name=open-sora registry.cn-hangzhou.aliyuncs.com/guoshiyin/open-sora:v2

查看日志等待

/opt/conda/envs/pytorch/lib/python3.9/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
Loading checkpoint shards:   0% 0/2 [00:00<?, ?it/s]/opt/conda/envs/pytorch/lib/python3.9/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()

Loading checkpoint shards: 100% 2/2 [01:40<00:00, 50.39s/it]


Running on local URL:  http://0.0.0.0:7860
Running on public URL: https://92a2abad66681a4855.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)

出现这样的文件就可以打开浏览器使用了

注意,生成视频量力而行,需要24G显存以上

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值