# Tensorflow-metal for M2 Max chip

**URL:** <https://discuss.ai.google.dev/t/tensorflow-metal-for-m2-max-chip/32442>\
**Category:** General Discussion\
**Tags:** mac\_os, install\
**Created:** [April 27, 2023, 2:16am UTC](https://discuss.ai.google.dev/t/tensorflow-metal-for-m2-max-chip/32442 "2023-04-27T02:16:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rick\_Licona](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/rick_licona/32/17706_2.png) [@Rick\_Licona](https://discuss.ai.google.dev/u/Rick_Licona)\
**Post date:** [April 27, 2023, 2:16am UTC](https://discuss.ai.google.dev/t/tensorflow-metal-for-m2-max-chip/32442/1 "2023-04-27T02:16:02Z")

</div>

Hi,

I have installed TensorFlow-metal in my MacBook Pro (38 GPU/32GB ram), and the time speed is acceptable when I run my experiment (transformer model using only encoder block):

- Batches: 4
- Data X training: (32, 1024. 512) EEG data of 1 subject
- Epochs: 200
- Time? It takes around 40 minutes to finish

But when I run my experiment:

- Batches: 72
- Data X training: (1024, 1024, 512) EEG data of 32 subjects
- Epochs: 1000
- Time? After 6 hrs, it is still on epoch 1!

Is it normal?  
Tensorflow-metal plugging is not taking the 38 GPU of the computer?

---

<div class="post-metadata">

**Author:** ![chunduriv](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chunduriv](https://discuss.ai.google.dev/u/chunduriv)\
**Post date:** [April 27, 2023, 5:28am UTC](https://discuss.ai.google.dev/t/tensorflow-metal-for-m2-max-chip/32442/3 "2023-04-27T05:28:02Z")

</div>

@Rick_Licona,

Welcome to the Tensorflow Forum!

> Tensorflow-metal plugging is not taking the 38 GPU of the computer?

This is related to `Tensorflow-metal`. Could you please post this issue in the Apple developer forum [Apple Developer Forums](https://developer.apple.com/forums/) for quick assistance?

Thank you!

---

<div class="post-metadata">

**Author:** ![gautam](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/gautam/32/16583_2.png) [@gautam](https://discuss.ai.google.dev/u/gautam)\
**Post date:** [September 10, 2023, 11:36am UTC](https://discuss.ai.google.dev/t/tensorflow-metal-for-m2-max-chip/32442/5 "2023-09-10T11:36:50Z")

</div>

Hi @Rick_Licona ,

Could you ever use your Mac GPU for model training or inference ?

I am desperately looking for information all over the internet and the Apple Developer forum for tensorflow-metal looks dead i.e. no official support whatsoever.

TIA
