Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

[I am running Top2vec on Big Sur 11.6 with tensorflow-macos and tensorflow-metal. Python crashed ...

linkText

Crashed Thread:        0  Dispatch queue: metal gpu stream

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
/System/Volumes/Data/SWE/macOS/BuildRoots/38cf1d983f/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MetalPerformanceShaders-124.6.1/MPSCore/Utility/MPSCommandBufferImageCache.mm:1386: failed assertion `Failed to allocate private MTLBuffer for size 421888000

Hi dbl001, Can you share the script where we can reproduce this issue? Also we would recommend you update to MacOS 12.0.

I installed the latest versions of tensorflow-macos and tensorflow-metal on OS X 11.6. Now, it no longer prints out that it's using metal or my AMD GPU.

% ipython
In [3]: import tensorflow
No supported GPU was found.

I installed the latest versions from PyPi into my existing tensorflow-metal virtual environement with:

% pip install tensorflow-macos==2.6.0
% pip install tensorflow-metal=0.2.0

What's changed? Do I need to recreate the tensorflow-metal virtual environment from scratch?

 % pip show tensorflow-metal
Name: tensorflow-metal
Version: 0.2.0
Summary: TensorFlow acceleration for Mac GPUs.
Home-page: https://developer.apple.com/metal/tensorflow-plugin/
Author: 
Author-email: 
License: MIT License. Copyright © 2020-2021 Apple Inc. All rights reserved.
Location: /Users/davidlaxer/tensorflow-metal/lib/python3.8/site-packages
Requires: wheel, six
Required-by: 
(tensorflow-metal) (base) davidlaxer@x86_64-apple-darwin13 Top2Vec % pip show tensorflow-macos
Name: tensorflow-macos
Version: 2.6.0
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.

% pip show
tensorboard                2.6.0
tensorboard-data-server    0.6.1
tensorboard-plugin-profile 2.5.0
tensorboard-plugin-wit     1.8.0
tensorflow                 2.6.0
tensorflow-consciousness   0.1
tensorflow-datasets        4.3.0
tensorflow-determinism     0.3.0
tensorflow-estimator       2.6.0
tensorflow-gan             2.1.0
tensorflow-hub             0.12.0
tensorflow-macos           2.6.0
tensorflow-metadata        1.1.0
tensorflow-metal           0.2.0
tensorflow-probability     0.13.0
tensorflow-similarity      0.13.45
tensorflow-text            2.6.0

im facing the same issue with tensorflow

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
 
 
Q