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

Will throw exception on mac chip #514

Open
bigdadwolf opened this issue Feb 12, 2025 · 1 comment
Open

Will throw exception on mac chip #514

bigdadwolf opened this issue Feb 12, 2025 · 1 comment

Comments

@bigdadwolf
Copy link

2025-02-12 16:14:53.479858: I metal_plugin/src/device/metal_device.cc:1154] Metal device set to: Apple M4 Pro
2025-02-12 16:14:53.479987: I metal_plugin/src/device/metal_device.cc:296] systemMemory: 64.00 GB
2025-02-12 16:14:53.480011: I metal_plugin/src/device/metal_device.cc:313] maxCacheSize: 24.00 GB
2025-02-12 16:14:53.480073: 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.
2025-02-12 16:14:53.480103: 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: )
2025-02-12 16:14:53.570249: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at xla_ops.cc:580 : NOT_FOUND: could not find registered platform with id: 0x10ed7e2d0

NotFoundError Traceback (most recent call last)
Cell In[7], line 8
3 prior = prior_distribution.PriorDistribution(
4 roi_m=tfp.distributions.LogNormal(roi_mu, roi_sigma, name=constants.ROI_M)
5 )
6 model_spec = spec.ModelSpec(prior=prior)
----> 8 mmm = model.Meridian(input_data=data, model_spec=model_spec)

@cpulavarthi
Copy link
Collaborator

Hello @bigdadwolf,

Thank you for contacting us!

It appears to me that you are trying to install Meridian on an Apple M4 Macbook with GPU support. I would like to inform you that we don't currently support Apple GPU. Please retry the installation for the CPU alone using the following installation command:

pip install --upgrade google-meridian

Be sure not to include the [and-cuda] part of the installation command from the demo notebook for the CPU installation.

Feel free to reach out if you are still facing issues with the installation.

Thank you

Google Meridian Support Team

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

2 participants