Solved by ptrblck in post #4 
              
              
                I’m not sure why this happens, but I would guess that some imports in the __init__ method checks for GPUs and thus grabs them (which is apparently not the case in tensorboardX). 
However, I’m also not sure it’s worth investigating.