1. 01 8月, 2022 1 次提交
  2. 22 6月, 2022 1 次提交
  3. 24 5月, 2022 1 次提交
  4. 10 5月, 2022 1 次提交
    • M
      fix(midout): fix elemwise crash after midout · 05186e7b
      Megvii Engine Team 提交于
      some dnn backends opr will use agency opr,
      for example: softmax cpu naive imp will call elemwise opr,
      at model dump stage, we can not get dnn runtime logic,
      so we record elemwise mode info at runtime stage.
      
      GitOrigin-RevId: 6528b4c85da90251df513e6d5bcabffb8a0e2c61
      05186e7b
  5. 12 10月, 2021 1 次提交
  6. 03 8月, 2021 1 次提交
    • M
      feat(bazel/windows/xp/sp2/inference): implement inference on windows xp · c68e6695
      Megvii Engine Team 提交于
      (os vesion >= sp2) build with bazel
      
      * bazel build support(define __DEPLOY_ON_XP_SP2__ when deploy on xp sp2):
      (dbg)./bazel build //brain/megbrain:load_and_run --cpu='x86_windows_xp'
      --compiler='clang_cl' -c dbg --copt "-D__DEPLOY_ON_XP_SP2__=1"
      
      (opt)./bazel build //brain/megbrain:load_and_run --cpu='x86_windows_xp'
      --compiler='clang_cl' -c opt --copt "-D__DEPLOY_ON_XP_SP2__=1"
      
      * internal behavior:
      will define MGB_HAVE_THREAD=0 when enable __DEPLOY_ON_XP_SP2__
      
      * refer to
      https://docs.microsoft.com/en-us/cpp/build/configuring-programs-for-windows-xp?view=msvc-160
      xp sp2(x86) do not support vc runtime fully, casused by KERNEL32.dll do not
      implement some base apis for c++ std function, for example,
      std::mutex/std::thread/std::condition_variable as a workround, we will
      disable some MegEngine features on xp sp2 env, for exampe, multi-thread etc!
      
      * about DNN_MUTEX/MGB_MUTEX, if your code will build in inference
      code (even CPU backends), please replace std::mutex to DNN_MUTEX/MGB_MUTEX,
      
      * about multi-thread, if you code need multi-thread support, please
      enable it when MGB_HAVE_THREAD=1
      
      * about test build env status
      1: Visual Studio 2019(MSVC version <= 14.26.28801)---- pass
      2: Visual Studio 2019(MSVC version > 14.26.28801) ---- failed
         caused by this 'new' version will put VCR depends on win7
         KERNEL32.DLL, this may be fixed at Visual Studio 2019 later version
         but we do not test at this MR merge point
      3: Visual Studio 2017   ---------- pass
      4: Visual Studio 2014   ---------- pass
      GitOrigin-RevId: 65ac48b95e99f2c510fe5db449cc8182d682e113
      c68e6695
  7. 29 3月, 2021 1 次提交
    • M
      feat(log): opt log · 55974e8c
      Megvii Engine Team 提交于
      * opt log at release mode
      * add MGE_OVERRIDE_LOG_LEVEL for runtime debug
      //! env to config LogLevel
      //!  DEBUG = 0, INFO = 1, WARN = 2, ERROR = 3, NO_LOG = 4
      //! for example , export MGE_OVERRIDE_LOG_LEVEL=0, means set LogLevel to DEBUG
      
      GitOrigin-RevId: 16cd674c56445b1f034359a2ac48beb7f86183a4
      55974e8c
  8. 02 2月, 2021 1 次提交
  9. 12 8月, 2020 1 次提交
  10. 15 6月, 2020 1 次提交
  11. 25 3月, 2020 1 次提交