Open-Sora
Open-Sora copied to clipboard
RuntimeError: memory format option is only supported by strided tensors
不要使用apex就可以了,配置文件里把enable_layernorm_kernel设为False
不要使用apex就可以了,配置文件里把enable_layernorm_kernel设为False
设置为False,依然报错
Same issue
不要使用apex就可以了,配置文件里把enable_layernorm_kernel设为False
设置为False,依然报错
兄弟们,只要把modelng_t5.py的264-275行注释掉就infer起来了
这些方法都试了,还是没法解决我的问题
对不起我的疏忽,要结合两个人的一起搞
whati is modelng_t5.py ? Could you please show me the path of the modelng_t5.py?
whati is modelng_t5.py ? Could you please show me the path of the modelng_t5.py? anaconda3/envs/opensora/lib/python3.10/site-packages/transformers/models/t5/modeling_t5.py
兄弟们,只要把modelng_t5.py的264-275行注释掉就infer起来了
我之前尝试把FusedRMSNorm替换成nn.LayerNorm,结果sample的输出全是nan🤡
不要使用apex就可以了,配置文件里把enable_layernorm_kernel设为False
请问这里的配置文件是在哪里设置什么呀,我的项目里好像没找到