-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Explanation: Dynamo found no exception handler at the top-level compiled function when encountering an exception. Exception will propagate outside the compiled region.
Hint: Dynamo has detected that tracing the code will result in an error when running in eager. Please double check that your code doesn't contain a similar error when actually running eager/uncompiled.
Hint: It may be possible to write Dynamo tracing rules for this code. Please report an issue to PyTorch if you encounter this graph break often and it is causing performance issues.
Developer debug context: raised exception TypeError([ConstantVariable(str: "Unexpected keyword arguments: ['scroll']")])
For more details about this graph break, please visit: https://meta-pytorch.github.io/compile-graph-break-site/gb/gb0088.html
from user code:
File "C:\Users\yondo\Development\scope\.venv\Lib\site-packages\world_engine\world_engine.py", line 146, in _denoise_pass
v = self.model(x, sigma.fill_(step_sig), **ctx, kv_cache=kv_cache)
Set TORCHDYNAMO_VERBOSE=1 for the internal stack trace (please do this especially if you're reporting a bug to PyTorch). For even more developer context, set TORCH_LOGS="+dynamo"
It looks like recent commits added scroll param to the ctx managed by the WorldEngine, but this param is not suported in the WorldModel.forward() which causes this error during compilation.
Metadata
Metadata
Assignees
Labels
No labels