pytorch
c39aff10 - Disable XProtect on MacOS runner (#99506)

Commit
1 year ago
Disable XProtect on MacOS runner (#99506) A theory is that something else on the runner removes the file like Windows Defender. The number one suspect is `com.apple.XProtect.daemon.scan` https://support.apple.com/guide/security/protecting-against-malware-sec469d47bd8/web Spot checking on some runners: * On 13.x (13.3.1 and 13.2.1), the daemon is now called `com.apple.XProtect.daemon.scan` ``` sh-3.2$ sudo launchctl list | grep -i protect 8048 -9 com.apple.XprotectFramework.PluginService 8047 -9 com.apple.XProtect.daemon.scan ``` * On 12.4, the daemon is called `com.apple.XprotectFramework` ``` sudo launchctl list | grep -i protect - -9 com.apple.XprotectFramework.PluginService - -9 com.apple.XprotectFramework.scan ``` Looking at the list of failures in https://hud.pytorch.org/failure/ModuleNotFoundError%3A%20No%20module%20named%20'sympy', I can confirm that the issue happens with both MacOS 12 and 13 as I can find examples on both. Pull Request resolved: https://github.com/pytorch/pytorch/pull/99506 Approved by: https://github.com/malfet
Author
Committer
Parents
Loading