Open-Sora
Open-Sora copied to clipboard
ModuleNotFoundError: No module named 'fused_layer_norm_cuda'
报错,apex按照说明安装的,但是还是报了奇怪的错误
补充:
看起来是apex的锅。我找到了解决办法,在apex库的issues中翻到了,https://github.com/NVIDIA/apex/issues/1737
我的ubuntu系统是22.04,所以apex切换一个“22.04-dev”的分支,再安装就行了。
This issue is stale because it has been open for 7 days with no activity.
看起来是apex的锅。我找到了解决办法,在apex库的issues中翻到了,NVIDIA/apex#1737 我的ubuntu系统是22.04,所以apex切换一个“22.04-dev”的分支,再安装就行了。
用22.04-dev分支还是报错,enable_layernorm_kernel=False
也不管用。
另外直接# text to video python scripts/inference.py configs/opensora-v1-1/inference/sample.py \ --ckpt-path CKPT_PATH --prompt "A beautiful sunset over the city" --num-frames 32 --image-size 480 854
出现如下错误:
RuntimeError: Could not find 'LOCAL_RANK' in the torch environment, visit https://www.colossalai.org/ for more information on launching with torch