Closed
Description
Despite repeated attempts, ET runner build fails on macOS.
Examples:
https://github.com/pytorch/torchchat/actions/runs/8774601703/job/24075980422?pr=343
Setting OSX target platform doesn't do the job either (lolz, even with belts and suspenders:
export CMAKE_OSX_DEPLOYMENT_TARGET=12.0
export MACOSX_TARGET_PLATFORM=12.0
cmake -S ./runner-et -B et-build/cmake-out -G Ninja
cmake --build ./et-build/cmake-out
CMAKE_OSX_DEPLOYMENT_TARGET=12.0 MACOSX_TARGET_PLATFORM=12.0 cmake -S ./runner-et -B et-build/cmake-out -G Ninja
CMAKE_OSX_DEPLOYMENT_TARGET=12.0 MACOSX_TARGET_PLATFORM=12.0 cmake --build ./et-build/cmake-out
https://github.com/pytorch/torchchat/actions/runs/8774846659/job/24076492764?pr=348
[100%] Building CXX object examples/models/llama2/custom_ops/CMakeFiles/custom_ops_aot_lib.dir/op_sdpa_aot.cpp.o
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:19:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/c10/core/Storage.h:6:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/c10/core/StorageImpl.h:8:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/c10/core/impl/COWDeleter.h:36:50: error: 'shared_mutex' is unavailable: introduced in macOS 10.12
using NotLastReference = std::shared_lock<std::shared_mutex>;
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/shared_mutex:181:58: note: 'shared_mutex' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS _LIBCPP_AVAILABILITY_SHARED_MUTEX shared_mutex
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:19:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/c10/core/Storage.h:6:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/c10/core/StorageImpl.h:8:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/c10/core/impl/COWDeleter.h:53:8: error: 'shared_mutex' is unavailable: introduced in macOS 10.12
std::shared_mutex mutex_;
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/shared_mutex:181:58: note: 'shared_mutex' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS _LIBCPP_AVAILABILITY_SHARED_MUTEX shared_mutex
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:28:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/c10/util/OptionalArrayRef.h:165:34: error: 'value' is unavailable: introduced in macOS 10.13
return wrapped_opt_array_ref.value();
^
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/c10/util/OptionalArrayRef.h:227:13: note: in instantiation of member function 'c10::OptionalArrayRef<long long>::value' requested here
return a1.value() == other;
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:992:33: note: 'value' has been explicitly marked unavailable here
constexpr value_type const& value() const&
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:31:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/CheckMemoryFormat.h:11:[35](https://github.com/pytorch/torchchat/actions/runs/8774601703/job/24075980422?pr=343#step:5:36): error: 'value' is unavailable: introduced in macOS 10.13
options.requires_grad_opt().value() == false,
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:1010:28: note: 'value' has been explicitly marked unavailable here
constexpr value_type&& value() &&
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:33:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/DeprecatedTypeProperties.h:114:34: error: 'value' is unavailable: introduced in macOS 10.13
Device device = device_opt.value();
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:1001:27: note: 'value' has been explicitly marked unavailable here
constexpr value_type& value() &
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:442:26: error: 'value' is unavailable: introduced in macOS 10.13
TORCH_CHECK(inputs.value().size() > 0, "'inputs' argument to backward cannot be empty")
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:1001:27: note: 'value' has been explicitly marked unavailable here
constexpr value_type& value() &
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:443:30: error: 'value' is unavailable: introduced in macOS 10.13
this->_backward(inputs.value(), gradient, retain_graph, create_graph);
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:1001:27: note: 'value' has been explicitly marked unavailable here
constexpr value_type& value() &
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:28:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/c10/util/OptionalArrayRef.h:137:34: error: 'value' is unavailable: introduced in macOS 10.13
return wrapped_opt_array_ref.value();
^
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:5624:154: note: in instantiation of member function 'c10::OptionalArrayRef<long long>::operator*' requested here
return at::_ops::to_padded_tensor::call(const_cast<Tensor&>(*this), padding, output_size.has_value() ? ::std::make_optional(c10::fromIntArrayRefSlow(*output_size)) : ::std::nullopt);
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:1001:27: note: 'value' has been explicitly marked unavailable here
constexpr value_type& value() &
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/ResizeCommon.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/TensorFactories.h:5:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/TensorIterator.h:324:34: error: 'value' is unavailable: introduced in macOS 10.13
return operands_[arg].device.value();
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:992:33: note: 'value' has been explicitly marked unavailable here
constexpr value_type const& value() const&
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/ResizeCommon.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/TensorFactories.h:11:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/Functions.h:59:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/Context.h:63:27: error: 'value' is unavailable: introduced in macOS 10.13
? opt_device_type.value()
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:1001:27: note: 'value' has been explicitly marked unavailable here
constexpr value_type& value() &
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/ResizeCommon.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/TensorFactories.h:11:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/Functions.h:59:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/Context.h:64:[36](https://github.com/pytorch/torchchat/actions/runs/8774601703/job/24075980422?pr=343#step:5:37): error: 'value' is unavailable: introduced in macOS 10.13
: at::getAccelerator(true).value();
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:1010:28: note: 'value' has been explicitly marked unavailable here
constexpr value_type&& value() &&
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/ResizeCommon.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/TensorFactories.h:11:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/Functions.h:60:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/List.h:[49](https://github.com/pytorch/torchchat/actions/runs/8774601703/job/24075980422?pr=343#step:5:50)0:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:1549:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/ivalue_inl.h:12:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/jit_type.h:662:24: error: 'value' is unavailable: introduced in macOS 10.13
prod *= shape[i].value();
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:992:33: note: 'value' has been explicitly marked unavailable here
constexpr value_type const& value() const&
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/ResizeCommon.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/TensorFactories.h:11:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/Functions.h:60:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/List.h:490:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:1549:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/ivalue_inl.h:12:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/jit_type.h:1[51](https://github.com/pytorch/torchchat/actions/runs/8774601703/job/24075980422?pr=343#step:5:52)2:28: error: 'value' is unavailable: introduced in macOS 10.13
const auto& n = name().value();
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:992:33: note: 'value' has been explicitly marked unavailable here
constexpr value_type const& value() const&
^
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/op_sdpa_aot.cpp:10:
In file included from /Users/runner/work/torchchat/torchchat/et-build/src/executorch/examples/models/llama2/custom_ops/../../../../../executorch/extension/aten_util/make_aten_functor_from_et_functor.h:21:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/Resize.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/ResizeCommon.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/native/TensorFactories.h:11:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/Functions.h:60:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/List.h:490:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:1[54](https://github.com/pytorch/torchchat/actions/runs/8774601703/job/24075980422?pr=343#step:5:55)9:
In file included from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/ivalue_inl.h:12:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/include/ATen/core/jit_type.h:2129:20: error: 'value' is unavailable: introduced in macOS 10.13
return reason_.value();
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:992:33: note: 'value' has been explicitly marked unavailable here
constexpr value_type const& value() const&
Metadata
Metadata
Labels
No labels