Post

Replies

Boosts

Views

Activity

Terminal redirection: ascii text, with cr, lf line terminators, with overstriking
MacOS 12.6 (running on Apple M1 Ultra) terminal redirection to a file generates ascii text, with cr, lf line terminators, with overstriking, while running my code with TensorFlow-metal(0.5.1) with Tensorflow-macos(2.9.2) as below: ^M1/1 [==============================] - ETA: 0s^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^M1/1 [==============================] - 1s 943ms/step When I checked the file type, I get the following: (base) bapikar@Bapis-Mac-Studio % file tmp.log            tmp.log: ASCII text, with CR, LF line terminators, with overstriking I was expecting it as: tmp.log: ASCII text Please help. Thanks
2
0
651
Sep ’22
Huge memory leakage issue with tf.keras.models.predict()
Comparison between MAC Studio M1 Ultra (20c, 64c, 128GB RAM) vs 2017 Intel i5 MBP (16GB RAM) for the subject matter i.e. memory leakage while using tf.keras.models.predict() for saved model on both machines: MBP-2017: First prediction takes around 10MB and subsequent calls ~0-1MB MACSTUDIO-2022: First prediction takes around 150MB and subsequent calls ~70-80MB. After say 10000 such calls o predict(), while my MBP memory usage stays under 10GB, MACSTUDIO climbs to ~80GB (and counting up for higher number of calls). Even using keras.backend.clear_session() after each call on MACSTUDIO did not help. Can anyone having insight on TensorFlow-metal and/or MAC M1 machines help? Thanks, Bapi
19
1
5.9k
Aug ’22
stellargraph compatibility issue with TensorFlow-metal
Has anyone faced any issues in installing "stellargraph" package on Mac mini M1, having TensorFlow-metal framework? This is for Graph Neural Network. both pip and git based installation failed. (it expects usual TensorFlow 2.x framework already installed). refer to https://stellargraph.readthedocs.io/en/stable/README.html#install-stellargraph-using-pypi for the installation steps/approaches I followed (pip, conda and GitHub). Any help would be highly appreciated.
3
0
1.1k
Mar ’22