OOM when torch complie added into wf
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
Fix the issue when torch complie added into Wan2.2 native workflow
### Actual Behavior
### Steps to Reproduce
After updating to version 0.3.65, the native Comfy workflow of wan2.2 will encounter OOM (Out of Memory) whenever torch compile is added. This issue occurs both with the torch compile in kjnodes and the native torch compile of ComfyUI
### Debug Logs
```powershell
oom
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.