Skip to content

[BE][cutlass backend] BE changes post cutlass_cppgen name change#164589

Closed
henrylhtsang wants to merge 1 commit intopytorch:mainfrom
henrylhtsang:export-D83809105
Closed

[BE][cutlass backend] BE changes post cutlass_cppgen name change#164589
henrylhtsang wants to merge 1 commit intopytorch:mainfrom
henrylhtsang:export-D83809105

Conversation

@henrylhtsang
Copy link
Contributor

@henrylhtsang henrylhtsang commented Oct 3, 2025

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 3, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/164589

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit e402c45 with merge base da49a57 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Contributor

@henrylhtsang has exported this pull request. If you are a Meta employee, you can view the originating Diff in D83809105.

shutil.move(cutlass_cppgen.CACHE_FILE, os.path.join(cache_dir(), filename))
log.debug("Moved CUTLASS compiled cache file to %s", cache_dir())
except OSError as e:
log.warning("Failed to move CUTLASS compiled cache file: %s", str(e))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
log.warning("Failed to move CUTLASS compiled cache file: %s", str(e))
log.warning("Failed to move CUTLASS compiled cache file: %s", e)

'%s' does an implicit str cast anyway

@henrylhtsang henrylhtsang added the topic: not user facing topic category label Oct 3, 2025
henrylhtsang added a commit to henrylhtsang/pytorch that referenced this pull request Oct 3, 2025
…orch#164589)

Summary: Pull Request resolved: pytorch#164589

Differential Revision: D83809105
offset = inductor_layout.offset

def is_static_int(number):
def is_static_int(number: object) -> bool:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def is_static_int(number: object) -> bool:
def is_static_int(number: object) -> TypeIs[int | sympy.Integer]:

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import from typing_extensions if not already imported

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually I don't feel like I understand why we should return TypeIs

henrylhtsang added a commit to henrylhtsang/pytorch that referenced this pull request Oct 3, 2025
…orch#164589)

Summary: Pull Request resolved: pytorch#164589

Differential Revision: D83809105
…orch#164589)

Summary: Pull Request resolved: pytorch#164589

Differential Revision: D83809105
@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 4, 2025
@henrylhtsang
Copy link
Contributor Author

@pytorchbot merge

1 similar comment
@henrylhtsang
Copy link
Contributor Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants