1. 16 1月, 2017 2 次提交
  2. 14 1月, 2017 2 次提交
    • notoraptor's avatar
      Ensure the warning about missing G++ is not showed on Windows · 3b1b4afe
      notoraptor 提交于
      if the user does explicitely set the cxx config flag in THEANO_FLAGS.
      3b1b4afe
    • notoraptor's avatar
      Use the entry_points/console_scripts feature of setup.py · 0f446def
      notoraptor 提交于
      to make theano scripts installed when running pip install.
      
      These step are done to fix issue #5308. The bin folder
      containing the scripts is now importable from Python,
      with each script embedding its code into a main() function
      specified as the entry point of the script in `setup.py`.
      
      We also detect a Windows-specific error: the cache folder
      cannot be deleted because it contains shared libraries that are
      always loaded at theano importation and stay opened on Windows,
      which forbide the deletion of the shared library files in the cache.
      
      The workaround chosen is to unset theano config flag `cxx` only
      on Windows platform and only in theano-cache script. Doing that,
      Theano will not try to compile any C code, and will also not try
      to load compiled C codes that are in the cache, allowing these files
      to be deleted.
      
      To ensure this workaround does work, we also ensure that lazylinker
      module will be also ignored from cache when `cxx` is unset. Previously,
      if cxx was unset, Theano would not compile lazylinker but would look
      for an already compiled version of this module in the cache.
      0f446def
  3. 12 1月, 2017 3 次提交
  4. 11 1月, 2017 11 次提交
  5. 10 1月, 2017 9 次提交
  6. 06 1月, 2017 1 次提交
  7. 05 1月, 2017 2 次提交
  8. 03 1月, 2017 3 次提交
  9. 31 12月, 2016 1 次提交
  10. 30 12月, 2016 1 次提交
  11. 28 12月, 2016 2 次提交
  12. 24 12月, 2016 1 次提交
  13. 23 12月, 2016 2 次提交