Post

Replies

Boosts

Views

Activity

Comment on terminating with uncaught exception of type NSException
22 _pywrap_tensorflow_internal.so 0x00000001341463a8 _ZN10tensorflow11ExecuteNode3RunEv + 396 23 _pywrap_tensorflow_internal.so 0x0000000134481748 _ZN10tensorflow13EagerExecutor11SyncExecuteEPNS_9EagerNodeE + 172 24 _pywrap_tensorflow_internal.so 0x000000013413f880 _ZN10tensorflow12_GLOBAL__N_117EagerLocalExecuteEPNS_14EagerOperationEPPNS_12TensorHandleEPi + 1976 25 _pywrap_tensorflow_internal.so 0x000000013413da28 _ZN10tensorflow12EagerExecuteEPNS_14EagerOperationEPPNS_12TensorHandleEPi + 296 26 _pywrap_tensorflow_internal.so 0x0000000133da2b88 _ZN10tensorflow14EagerOperation7ExecuteEN4absl12lts_202103244SpanIPNS_20AbstractTensorHandleEEEPi + 192 27 _pywrap_tensorflow_internal.so 0x000000013417b910 _ZN10tensorflow21CustomDeviceOpHandler7ExecuteEPNS_27ImmediateExecutionOperationEPPNS_30ImmediateExecutionTensorHandleEPi + 468 28 _pywrap_tensorflow_internal.so 0x00000001309c7f1c TFE_Execute + 80 29 _pywrap_tensorflow_internal.so 0x0000000130944934 _Z24TFE_Py_ExecuteCancelableP11TFE_ContextPKcS2_PN4absl12lts_2021032413InlinedVectorIP16TFE_TensorHandleLm4ENSt3__19allocatorIS7_EEEEP7_objectP23TFE_CancellationManagerPNS5_IS7_Lm2ESA_EEP9TF_Status + 616 30 _pywrap_tfe.so 0x0000000112e824c0 _ZN10tensorflow32TFE_Py_ExecuteCancelable_wrapperERKN8pybind116handleEPKcS5_S3_S3_PNS_19CancellationManagerES3_ + 160 31 _pywrap_tfe.so 0x0000000112eb3220 _ZZN8pybind1112cpp_function10initializeIZL25pybind11_init__pywrap_tfeRNS_7module_EE4$_44NS_6objectEJRKNS_6handleEPKcSA_S8_S8_S8_EJNS_4nameENS_5scopeENS_7siblingEEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS_6detail13function_callEE_8__invokeESR_ + 184 32 _pywrap_tfe.so 0x0000000112e9516c _ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_ + 3216 33 python 0x00000001000ed8cc cfunction_call_varargs + 292 34 python 0x00000001000ecf50 _PyObject_MakeTpCall + 640 35 python 0x00000001002023e0 call_function + 680 36 python 0x00000001001feebc _PyEval_EvalFrameDefault + 29472 37 python 0x00000001001f7584 _PyEval_EvalCodeWithName + 3340 38 python 0x00000001000edf10 _PyFunction_Vectorcall + 236 39 python 0x0000000100202348 call_function + 528 40 python 0x00000001001fefac _PyEval_EvalFrameDefault + 29712 41 python 0x00000001001f7584 _PyEval_EvalCodeWithName + 3340 42 python 0x00000001000edf10 _PyFunction_Vectorcall + 236 43 python 0x00000001000f191c method_vectorcall + 156 44 python 0x0000000100202348 call_function + 528 45 python 0x00000001001fefac _PyEval_EvalFrameDefault + 29712 46 python 0x00000001001f7584 _PyEval_EvalCodeWithName + 3340 47 python 0x00000001000edf10 _PyFunction_Vectorcall + 236 48 python 0x00000001000f191c method_vectorcall + 156 49 python 0x0000000100202348 call_function + 528 50 python 0x00000001001fefac _PyEval_EvalFrameDefault + 29712 51 python 0x00000001001f7584 _PyEval_EvalCodeWithName + 3340 52 python 0x00000001000edf10 _PyFunction_Vectorcall + 236 53 python 0x00000001000ecb84 _PyObject_FastCallDict + 132 54 python 0x00000001000eecc4 _PyObject_Call_Prepend + 156 55 python 0x0000000100162774 slot_tp_call + 296 56 python 0x00000001000ed6e8 PyObject_Call + 312 57 python 0x00000001001ff14c _PyEval_EvalFrameDefault + 30128 58 python 0x00000001001f7584 _PyEval_EvalCodeWithName + 3340 59 python 0x00000001000edf10 _PyFunction_Vectorcall + 236 60 python 0x00000001000f1a88 method_vectorcall + 520 61 python 0x00000001000ed4c0 PyVectorcall_Call + 120 62 python 0x00000001001ff14c _PyEval_EvalFrameDefault + 30128 63 python 0x00000001001f7584 _PyEval_EvalCodeWithName + 3340 64 python 0x00000001000edf10 _PyFunction_Vectorcall + 236 65 python 0x00000001000ecc1c _PyObject_FastCallDict + 284 66 python 0x00000001000eecc4 _PyObject_Call_Prepend + 156 67 python 0x0000000100162774 slot_tp_call + 296 68 python 0x00000001000ecf50 _PyObject_MakeTpCall + 640 69 python 0x00000001002023e0 call_function + 680 70 python 0x00000001001feebc _PyEval_EvalFrameDefault + 29472 71 python 0x00000001001f7584 _PyEval_EvalCodeWithName + 3340 72 python 0x00000001000edf10 _PyFunction_Vectorcall + 236 73 python 0x00000001000f191c method_vectorcall + 156 74 python 0x0000000100202348 call_function + 528 75 python 0x00000001001fefac _PyEval_EvalFrameDefault + 29712 76 python 0x00000001001f7584 _PyEval_EvalCodeWithName + 3340 77 python 0x0000000100250e3c PyRun_SimpleFileExFlags + 1052 78 python 0x0000000100278eb0 Py_RunMain + 2980 79 python 0x000000010027a0a8 pymain_main + 1244 80 python 0x00000001000c41e0 main + 56 81 libdyld.dylib 0x000000019c6ec420 start + 4 ) libc++abi: terminating with uncaught exception of type NSException
Nov ’21
Comment on terminating with uncaught exception of type NSException
Full output below. I'll need to spread it over a few comments due to the character limit. Metal device set to: Apple M1 systemMemory: 8.00 GB maxCacheSize: 2.67 GB 2021-11-02 11:17:02.085368: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:305] Could not identify NUMA node of platform GPU ID 0, defaulting to 0. Your kernel may not have been built with NUMA support. 2021-11-02 11:17:02.085844: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:271] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 0 MB memory) -> physical PluggableDevice (device: 0, name: METAL, pci bus id: <undefined>) 2021-11-02 11:17:02.278372: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:185] None of the MLIR Optimization Passes are enabled (registered 2) 2021-11-02 11:17:02.281020: W tensorflow/core/platform/profile_utils/cpu_utils.cc:128] Failed to get CPU frequency: 0 Hz Epoch 1/10 2021-11-02 11:17:02.387115: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:112] Plugin optimizer for device_type GPU is enabled. 2021-11-02 11:17:02.414 python[13362:127208] -[MPSGraph adamUpdateWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:]: unrecognized selector sent to instance 0x16ce87f80 2021-11-02 11:17:02.434 python[13362:127208] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MPSGraph adamUpdateWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:]: unrecognized selector sent to instance 0x16ce87f80' *** First throw call stack: ( 0 CoreFoundation 0x000000019c84bdb8 __exceptionPreprocess + 240 1 libobjc.A.dylib 0x000000019c5750a8 objc_exception_throw + 60 2 CoreFoundation 0x000000019c8dcba0 -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x000000019c7ad1e4 ___forwarding___ + 1444 4 CoreFoundation 0x000000019c7acb80 _CF_forwarding_prep_0 + 96 5 libmetal_plugin.dylib 0x000000014abfe290 _ZN12metal_plugin14MPSApplyAdamOpIfEC2EPNS_20OpKernelConstructionE + 656 6 libmetal_plugin.dylib 0x000000014abfdebc _ZN12metal_pluginL14CreateOpKernelINS_14MPSApplyAdamOpIfEEEEPvP23TF_OpKernelConstruction + 52 7 libtensorflow_framework.2.dylib 0x000000011680c5d4 _ZN10tensorflow12_GLOBAL__N_120KernelBuilderFactory6CreateEPNS_20OpKernelConstructionE + 88 8 libtensorflow_framework.2.dylib 0x000000011688e158 _ZN10tensorflow14CreateOpKernelENS_10DeviceTypeEPNS_10DeviceBaseEPNS_9AllocatorEPNS_22FunctionLibraryRuntimeEPNS_11ResourceMgrERKNSt3__110shared_ptrIKNS_14NodePropertiesEEEiPPNS_8OpKernelE + 784 9 libtensorflow_framework.2.dylib 0x0000000116a692b8 _ZN10tensorflow21CreateNonCachedKernelEPNS_6DeviceEPNS_22FunctionLibraryRuntimeERKNSt3__110shared_ptrIKNS_14NodePropertiesEEEiPPNS_8OpKernelE + 272 10 libtensorflow_framework.2.dylib 0x0000000116a13c20 _ZN10tensorflow26FunctionLibraryRuntimeImpl12CreateKernelERKNSt3__110shared_ptrIKNS_14NodePropertiesEEEPNS_22FunctionLibraryRuntimeEPPNS_8OpKernelE + 600 11 libtensorflow_framework.2.dylib 0x0000000116a7e430 _ZN10tensorflow22ImmutableExecutorState10InitializeERKNS_5GraphE + 1192 12 libtensorflow_framework.2.dylib 0x0000000116a69064 _ZN10tensorflow16NewLocalExecutorERKNS_19LocalExecutorParamsERKNS_5GraphEPPNS_8ExecutorE + 304 13 libtensorflow_framework.2.dylib 0x0000000116a76e6c _ZN10tensorflow12_GLOBAL__N_124DefaultExecutorRegistrar7Factory11NewExecutorERKNS_19LocalExecutorParamsERKNS_5GraphEPNSt3__110unique_ptrINS_8ExecutorENS9_14default_deleteISB_EEEE + 48 14 libtensorflow_framework.2.dylib 0x0000000116a777e8 _ZN10tensorflow11NewExecutorERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERKNS_19LocalExecutorParamsERKNS_5GraphEPNS0_10unique_ptrINS_8ExecutorENS0_14default_deleteISG_EEEE + 92 15 libtensorflow_framework.2.dylib 0x0000000116a16278 _ZN10tensorflow26FunctionLibraryRuntimeImpl10CreateItemEPPNS0_4ItemE + 2676 16 libtensorflow_framework.2.dylib 0x0000000116a1706c _ZN10tensorflow26FunctionLibraryRuntimeImpl3RunERKNS_22FunctionLibraryRuntime7OptionsEyN4absl12lts_202103244SpanIKNS_6TensorEEEPNSt3__16vectorIS8_NSB_9allocatorIS8_EEEENSB_8functionIFvRKNS_6StatusEEEE + 676 17 libtensorflow_framework.2.dylib 0x0000000116a250c0 _ZNK10tensorflow29ProcessFunctionLibraryRuntime14RunMultiDeviceERKNS_22FunctionLibraryRuntime7OptionsEyPNSt3__16vectorIN4absl12lts_202103247variantIJNS_6TensorENS_11TensorShapeEEEENS5_9allocatorISC_EEEEPNS6_INS5_10unique_ptrINS0_11CleanUpItemENS5_14default_deleteISI_EEEENSD_ISL_EEEENS5_8functionIFvRKNS_6StatusEEEENSP_IFSQ_RKNS0_21ComponentFunctionDataEPNS0_12InternalArgsEEEE + 2640 18 libtensorflow_framework.2.dylib 0x0000000116a28098 _ZNK10tensorflow29ProcessFunctionLibraryRuntime3RunERKNS_22FunctionLibraryRuntime7OptionsEyN4absl12lts_202103244SpanIKNS_6TensorEEEPNSt3__16vectorIS8_NSB_9allocatorIS8_EEEENSB_8functionIFvRKNS_6StatusEEEE + 2012 19 libtensorflow_framework.2.dylib 0x0000000116a28868 _ZNK10tensorflow29ProcessFunctionLibraryRuntime7RunSyncERKNS_22FunctionLibraryRuntime7OptionsEyN4absl12lts_202103244SpanIKNS_6TensorEEEPNSt3__16vectorIS8_NSB_9allocatorIS8_EEEE + 160 20 _pywrap_tensorflow_internal.so 0x0000000134175538 _ZN10tensorflow19KernelAndDeviceFunc3RunEPNS_19ScopedStepContainerERKNS_15EagerKernelArgsEPNSt3__16vectorIN4absl12lts_202103247variantIJNS_6TensorENS_11TensorShapeEEEENS6_9allocatorISD_EEEEPNS_19CancellationManagerERKNS9_8optionalINS_25EagerRemoteFunctionParamsEEERKNSK_INS_17ManagedStackTraceEEE + 516 21 _pywrap_tensorflow_internal.so 0x000000013413fd44 _ZN10tensorflow18EagerKernelExecuteEPNS_12EagerContextERKN4absl12lts_2021032413InlinedVectorIPNS_12TensorHandleELm4ENSt3__19allocatorIS6_EEEERKNS3_8optionalINS_25EagerRemoteFunctionParamsEEERKNS7_10unique_ptrINS_15KernelAndDeviceENS_4core15RefCountDeleterEEEPNS_14GraphCollectorEPNS_19CancellationManagerENS3_4SpanIS6_EERKNSD_INS_17ManagedStackTraceEEE + 372
Nov ’21