Conversation
Use `instancesRespondToSelector:` to test the presence of `optimizationLevel` in `MPSGraphCompilationDescriptor`, which according to https://developer.apple.com/documentation/metalperformanceshadersgraph/mpsgraphcompilationdescriptor/3922624-optimizationlevel is only available on 12.3 or newer This works around a limitations of `@available(macOS 12.3, *)` macro in shared libraries dynamically loaded by apps targeting older runtime. And deployment target for macos Python conda binaries is 10.14: ``` % otool -l `which python3` ... Load command 9 cmd LC_BUILD_VERSION cmdsize 32 platform 1 minos 10.14 sdk 10.14 ... ```
🔗 Helpful links
✅ No Failures (18 Pending)As of commit 48fd2d7 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
@pytorchbot merge this |
|
Merge failed due to Refusing to merge as mandatory check(s)linux-docs / build-docs (cpp) failed for rule superuser |
|
@pytorchbot force merge this as windows failures exists on trunk |
|
Hey @malfet. |
Summary: Use `instancesRespondToSelector:` to test the presence of `optimizationLevel` in `MPSGraphCompilationDescriptor`, which according to https://developer.apple.com/documentation/metalperformanceshadersgraph/mpsgraphcompilationdescriptor/3922624-optimizationlevel is only available on 12.3 or newer This works around a limitations of `available(macOS 12.3, *)` macro in shared libraries dynamically loaded by apps targeting older runtime. And deployment target for macos Python conda binaries is 10.14: ``` % otool -l `which python3` ... Load command 9 cmd LC_BUILD_VERSION cmdsize 32 platform 1 minos 10.14 sdk 10.14 ... ``` Pull Request resolved: #78192 Approved by: https://github.com/atalman, https://github.com/seemethere Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/b7bb34d7625d95e5088638721dcc07c2bc5e2ade Reviewed By: mehtanirav Differential Revision: D36668764 Pulled By: malfet fbshipit-source-id: fa4d03a15ea19159a039526e68b2c28722b75493
Use `instancesRespondToSelector:` to test the presence of `optimizationLevel` in `MPSGraphCompilationDescriptor`, which according to https://developer.apple.com/documentation/metalperformanceshadersgraph/mpsgraphcompilationdescriptor/3922624-optimizationlevel is only available on 12.3 or newer This works around a limitations of `@available(macOS 12.3, *)` macro in shared libraries dynamically loaded by apps targeting older runtime. And deployment target for macos Python conda binaries is 10.14: ``` % otool -l `which python3` ... Load command 9 cmd LC_BUILD_VERSION cmdsize 32 platform 1 minos 10.14 sdk 10.14 ... ``` Pull Request resolved: pytorch#78192 Approved by: https://github.com/atalman, https://github.com/seemethere
Use `instancesRespondToSelector:` to test the presence of `optimizationLevel` in `MPSGraphCompilationDescriptor`, which according to https://developer.apple.com/documentation/metalperformanceshadersgraph/mpsgraphcompilationdescriptor/3922624-optimizationlevel is only available on 12.3 or newer This works around a limitations of `@available(macOS 12.3, *)` macro in shared libraries dynamically loaded by apps targeting older runtime. And deployment target for macos Python conda binaries is 10.14: ``` % otool -l `which python3` ... Load command 9 cmd LC_BUILD_VERSION cmdsize 32 platform 1 minos 10.14 sdk 10.14 ... ``` Pull Request resolved: #78192 Approved by: https://github.com/atalman, https://github.com/seemethere (cherry picked from commit b7bb34d)
Use
instancesRespondToSelector:to test the presence ofoptimizationLevelinMPSGraphCompilationDescriptor, which accordingto
https://developer.apple.com/documentation/metalperformanceshadersgraph/mpsgraphcompilationdescriptor/3922624-optimizationlevel
is only available on 12.3 or newer
This works around a limitations of
@available(macOS 12.3, *)macro inshared libraries dynamically loaded by apps targeting older runtime.
And deployment target for macos Python conda binaries is 10.14: