Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works but throws error #3

Open
RuizSerra opened this issue Aug 4, 2022 · 2 comments
Open

Works but throws error #3

RuizSerra opened this issue Aug 4, 2022 · 2 comments

Comments

@RuizSerra
Copy link

Output:

Init Plugin
Init Graph Optimizer
Init Kernel
Running TensorFlow 2.5.0 with 1 GPUs recognized
Metal device set to: Apple M1

systemMemory: 16.00 GB
maxCacheSize: 5.33 GB

2022-08-04 12:15:40.822101: 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.
2022-08-04 12:15:40.822188: 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>)
Traceback (most recent call last):
  File "confirm.py", line 8, in <module>
    d = tf.random_normal([])
AttributeError: module 'tensorflow' has no attribute 'random_normal'

Checked GPU usage with Activity Monitor (cmd+3, cmd+4):
image

@GNU-Linuxer
Copy link

Same issue here.

@ctrahey
Copy link
Owner

ctrahey commented Dec 29, 2022

Apologies for the delayed response here - Moved to Europe in October :-)

Just got a new work-issued laptop (M1 Pro) so I hope to revisit this soon and I'll walk through all the issues at that time. Hopefully within a week or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants