Post

Replies

Boosts

Views

Activity

Reply to iOS 15 Safari WebRTC Issue
I've experienced the issue where streams aren't starting w/ Safari 15x (both Mac and iOS), and discovered that it seems to fix itself (in my project, at least) if stopping the outgoing stream (per audio / video kind), then restarting the stream (i.e. making a new gUM [getUserMedia] call). The "restart" method I just mentioned seems to also work if choosing an entirely different capture device, of the same audio / video kind, on the second attempt. i.e. first microphone capture fails for one device, starting another device works. Even stranger, for me, is my project is based in React, and I've worked around this w/o doing the restart method in development mode, but in production, it is persistent, and for the life of me I can't figure out what's changed.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’22
Reply to Tensorflow-Metal TFLite Inference orders of magnitude slower than regular Tensorflow
It sounds like the issue is related to what is posted on this page: https://developer.apple.com/metal/tensorflow-pl CPU performance is faster than GPU on your network. Find out if your workload is sufficient to take advantage of the GPU. On small networks running with small batch sizes, the CPU may perform faster overall due to the overhead related to dispatching computations to the GPU. This will get amortized when the batch or model sizes grow, since the GPU can then take better advantage of the parallelism in performing the computations.
Topic: Machine Learning & AI SubTopic: General Tags:
Apr ’24
Reply to iOS 15 Safari WebRTC Issue
I've experienced the issue where streams aren't starting w/ Safari 15x (both Mac and iOS), and discovered that it seems to fix itself (in my project, at least) if stopping the outgoing stream (per audio / video kind), then restarting the stream (i.e. making a new gUM [getUserMedia] call). The "restart" method I just mentioned seems to also work if choosing an entirely different capture device, of the same audio / video kind, on the second attempt. i.e. first microphone capture fails for one device, starting another device works. Even stranger, for me, is my project is based in React, and I've worked around this w/o doing the restart method in development mode, but in production, it is persistent, and for the life of me I can't figure out what's changed.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to M1 GPU python process stopped?
I believe it is due to process deadlocking, if I'm not mistaken. Some people are skipping the GPU altogether on Mac Silicon.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to Tensorflow crashes every time I fit a model
Out of curiosity, is your M1 Ultra running Sonoma or Ventura?
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Massives issues with tensorflow gpu, when will apple do something?
If I'm not mistaken, I think this issue is more apparent on Sonoma than Ventura.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Tensorflow-Metal TFLite Inference orders of magnitude slower than regular Tensorflow
It sounds like the issue is related to what is posted on this page: https://developer.apple.com/metal/tensorflow-pl CPU performance is faster than GPU on your network. Find out if your workload is sufficient to take advantage of the GPU. On small networks running with small batch sizes, the CPU may perform faster overall due to the overhead related to dispatching computations to the GPU. This will get amortized when the batch or model sizes grow, since the GPU can then take better advantage of the parallelism in performing the computations.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Tensorflow-Metal TFLite Inference orders of magnitude slower than regular Tensorflow
Also, I was also experiencing memory leaks w/ tensorflow-metal when doing large hypertuning runs, and originally thought it must have been related to my model, but since switching to CPU haven't experienced the same issues.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to TensorFlow Metal 1.1.0 and TensorFlow > 2.15
@ianlokh tensorflow-metal is now at version 1.2.0 (https://pypi.org/project/tensorflow-metal/). I was pleased to discover that today when updating some dependencies, as I was nearly certain the development had stopped. That being said, I'm running it on M1, and haven't tried on M3.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’25