Running your code faster using OpenACC GPU offloading
GPU cards were originally designed for graphics. Over years, their powerful massively parallel architectures became used for AI and HPC computations. High level frameworks, like Tensorflow or Pytorch in the deep-learning field, permitted wide adoption by hiding complexity from lower programming layers like CUDA. Now OpenACC or OpenMP permit easy…
Remove folder and its contents from git/GitHub’s history
This post is a copy from a thread on stackoverflow It was found that the –tree-filter option used in other answers can be very slow, especially on larger repositories with lots of commits. Here is the method that one can use to completely remove a directory from the git history…
How to move directory from a git repo to another
This post is a copy from Matthias Schoettle’s blog Let us just moved one directory within a Git repository to a directory within another repository including its history. For example: repositoryA/ “`console ………../directoryToKeep ………../otherDirectory ………../someFile.ext repositoryB/ ………../someStuff The goal is to move directoryToKeep into repositoryB with its history, i.e., all…
A Hello World Python Repository
python-hello_world This repository contains an example of a minimal Python package. The setup.py file is central, it uses setuptools to package the python code. In the following we consider that a Conda environment has been created and activated. You can for instance use the development environment described in the conda/environment.yaml…
GRUB lacks write support for lvm : solved
Intro On reprend les mêmes et on recommence. Le post précédent m’a permis d’obtenir un temps de boot raisonnable. Mais il se trouve que depuis le dernier update de mon système, l’interface GRUB a ressurgi de nulle part avec un timeout de 30s… ne nous énervons pas… Je n’ai rien…
Long time booting on ubuntu 18.04 : solved
Intro Histoire de ne pas re-rechercher pendant des heures la solution, je copie ici la suite des instructions qui m’ont permis de réduire de 30s le temps de démarrage de Ubuntu 18.04 sur mon HP EliteBook 840. Le symptôme Il est simple: un temps insensé pour arriver à mon écran…
StatisKit – Dreamtech
Summary StatisKit is C++ library interfaced with Python. Large software projects can be hard to maintain for statisticians. Moreover, mastering the mysteries of Python wrapping for C++ libraries is asking too much for researchers that are not familiar with Boost.Python or related. After a short introduction concerning StatisKit, this Dreamtech…