Hi, when i use videosys repo for the Sora inference, and add onediff support, which is as follows.
from onediff.infer_compiler import compile
options = '{"mode": "O3"}' # mode can be O2 or O3
engine.driver_worker.transformer = compile(
engine.driver_worker.transformer,
backend="nexfort",
options=options,
)
I found that the generated video is black while normal when i do not use the onediff compiler.
I saw some issues saying that i need to set env, export ONEFLOW_ATTENTION_ALLOW_HALF_PRECISION_ACCUMULATION=False. I tried it but also does not work. Can you provide some other ideas? Thanks!
Hi, when i use videosys repo for the Sora inference, and add onediff support, which is as follows.
I found that the generated video is black while normal when i do not use the onediff compiler.
I saw some issues saying that i need to set env,
export ONEFLOW_ATTENTION_ALLOW_HALF_PRECISION_ACCUMULATION=False
. I tried it but also does not work. Can you provide some other ideas? Thanks!Some key packages' version are as follows.