tutorials
tutorials copied to clipboard
Remove scipy from torch_compile_tutorial dependencies
scipy is not used in the tutorial and causes compatibility issues with torch.compile, resulting in InternalTorchDynamoError when users try to follow the tutorial.
The error occurs because scipy's internal implementation is not compatible with torch.compile's tracing mechanism, causing: AttributeError: 'str' object has no attribute 'IF_NEEDED'
Fixes issue #3551
Description
Checklist
- [ ] The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER")
- [ ] Only one issue is addressed in this pull request
- [ ] Labels from the issue that this PR is fixing are added to this pull request
- [ ] No unnecessary issues are included into this pull request.