Huge thanks to Google TPU Research Cloud for providing me with access to TPU chips! As promised, this is a follow up post with a cleaner way to track Google’s TPU performance in MLFlow while training your models. This will spawn a background process (not thread, jaxlib didn’t like that) that will periodically send to the MLFlow Tracking server the relevant TPU information. import multiprocessing…
Huge thanks to Google TPU Research Cloud for providing me with access to TPU chips! MLFlow sadly doesn’t support TPU monitoring out of the box like with NVIDIA cards and pynvml . Luckily it was very easy to add this feature with the following snippet: def log_tpu_mlflow(step): chip_type, count, data = tpu_system_metrics() for tpu in data: for metric, val in tpu.items(): if metric != "device_id":…
We have come a long way since Termux and proot :) Android 15 and 16 on Pixel phones allow you to run a fully fledged virtual machine on your device. As a happy new owner of a Pixel 10 Pro I was eager to find out how well it works. The short summary is that it works very well! But… The terminal app itself is lacking any customization, not even font size, so I decided to dig a little bit deeper into…
Another great Fedora release and another great Fedora Release Party! :) After a (sadly) long break, we are back. University of Novi Sad, Faculty of Sciences was once again home for a day for all Fedora, Linux and FOSS enthusiasts. Since our last Release Party for Fedora 31 in December 2019 a lot has changed, but our message and drive did not. We are still striving to build a strong community…
Everytime I get to use Red Hat’s Open Shift I think to myself: “I should use OpenShift more”. It is a really great tool not just for high availability clusters but for general software development also. Its Web interface is super intuitive and nice to use, and you can provision all sorts of stuff in minutes. And everything is open source. Its really great. So naturally I decided to run it locally,…
Writing Python on the go is not easy or something you should do often. But if you have a long commute, why not? :) There are several cool options already, like PyDroid3 (among others) allowing you to have a Python interpreter wherever you go. But what if you want more capabilities, like testing Jupyter notebooks or full control over your installed packages (with pip or conda). Or… What if you just…
Here we go again! :) After a short break we are back with another local event meant to celebrate Fedora and Free Open Source Software. First let’s cover the usual: Location was, as always before, Department of Mathematics and Informatics, Faculty of Sciences, University of Novi Sad. This time we opted for newly renovated and colorful amphitheater A7 :) People: Momcilo (FedoraUser) and myself were…
The new Dell XPS 7590 is a great machine. Like every great machine it has some drawbacks, but since it is much greater than the sum of its features you bond with it and forgive it. Take mine for example. Even though the keyboard is far from perfect (with backspace and enter keys making some really weird noises) and it arrived with some scratches on the beautiful aluminium chamfered edges,…
If you are not aware, PyTorch XLA project is an effort to run PyTorch on TPU (Tensor Processing Unit) architecture which offers even higher performance in training Deep Learning models compared to GPU’s. In my previous post I showed you how to use serveo.net to SSH into your Google Colab provided container. In this short post I will show you how to use the same principle to connect to provided…
I am in the process of building a self-driving RC car. It’s a fun process full of discovery (I hate it already). Once it is finished I hope to write a longer article here about what I learned so stay tuned! While the electronics stuff was difficult for me (fingers still burnt from soldering) I hoped that the computer vision stuff would be easier. Right? Right? Well no. Neural network inference on…