[BE][cutlass backend] BE changes post cutlass_cppgen name change#164589
[BE][cutlass backend] BE changes post cutlass_cppgen name change#164589henrylhtsang wants to merge 1 commit intopytorch:mainfrom
Conversation
🔗 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 FailuresAs of commit e402c45 with merge base da49a57 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@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)) |
There was a problem hiding this comment.
| 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
85e9844 to
0de6f59
Compare
…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: |
There was a problem hiding this comment.
| def is_static_int(number: object) -> bool: | |
| def is_static_int(number: object) -> TypeIs[int | sympy.Integer]: |
There was a problem hiding this comment.
import from typing_extensions if not already imported
There was a problem hiding this comment.
actually I don't feel like I understand why we should return TypeIs
0de6f59 to
e925499
Compare
…orch#164589) Summary: Pull Request resolved: pytorch#164589 Differential Revision: D83809105
…orch#164589) Summary: Pull Request resolved: pytorch#164589 Differential Revision: D83809105
e925499 to
e402c45
Compare
|
@pytorchbot merge |
1 similar comment
|
@pytorchbot merge |
Merge startedYour 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 |
…orch#164589) Differential Revision: D83809105 Handle reviews from pytorch#164159 Pull Request resolved: pytorch#164589 Approved by: https://github.com/Skylion007
Differential Revision: D83809105
Handle reviews from #164159
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben