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)
出现这样的文件就可以打开浏览器使用了