Skip to content

Tolerate missing @torch.library.custom_op#7234

Merged
comfyanonymous merged 1 commit intoComfy-Org:masterfrom
FeepingCreature:fix/tolerate-missing-custom-op
Mar 14, 2025
Merged

Tolerate missing @torch.library.custom_op#7234
comfyanonymous merged 1 commit intoComfy-Org:masterfrom
FeepingCreature:fix/tolerate-missing-custom-op

Conversation

@FeepingCreature
Copy link
Copy Markdown
Contributor

@FeepingCreature FeepingCreature commented Mar 14, 2025

This can happen on Pytorch versions older than 2.4. Fixes the bug report from #7223

The attribute error is reported at runtime and causes a fallthrough to Pytorch SDPA.

This can happen on Pytorch versions older than 2.4.
@patientx
Copy link
Copy Markdown

This helped with my zluda fork. Thanks. Added it to my fork.

@comfyanonymous comfyanonymous merged commit 9c98c63 into Comfy-Org:master Mar 14, 2025
5 checks passed
@FeepingCreature FeepingCreature deleted the fix/tolerate-missing-custom-op branch March 14, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants