pytorch
e94940b1 - Use touch() in pathlib for better compatibility on Windows (#52729)

Commit
3 years ago
Use touch() in pathlib for better compatibility on Windows (#52729) Summary: https://github.com/pytorch/pytorch/issues/52477 introduced the usage of `touch`, which is not available on plain Windows environment, unless you made all the things come with Git Bash available. This PR fixes the build break on those systems by using the `touch` provided by Python pathlib. Pull Request resolved: https://github.com/pytorch/pytorch/pull/52729 Reviewed By: anjali411 Differential Revision: D26666724 Pulled By: walterddr fbshipit-source-id: aae357eb55c6787631eadf22bee7901ad3c2604e
Author
Parents
Loading