doron-cohen / antidot

Cleans up your $HOME from those pesky dotfiles
MIT License
307 stars 18 forks source link

theano support #122

Open sunhasgothishaton opened 3 years ago

sunhasgothishaton commented 3 years ago

I ran software than used theano (a python tool) and it left a directory in $HOME/.theano From what I understand, its a cache directory to pre-compiled scripts. If its deleted, it will be created on the next time its run.

I think it should belong in $XDG_CACHE_CONFIG/theano

https://theano-pymc.readthedocs.io/en/latest/library/config.html#envvar-THEANO_FLAGS

From the instructions, I moved it using the following envionment variable THEANO_FLAGS="base_compiledir=$XDG_CACHE_HOME/theano"

doron-cohen commented 3 years ago

Thanks! I gladly will add this rule.

sunhasgothishaton commented 3 years ago

Great thanks, I finally found how to do this one in the theano documentation