1. 25 5月, 2021 3 次提交
    • M
      feat(build): change make to ninja · 946ab374
      Megvii Engine Team 提交于
      GitOrigin-RevId: ccff72e39a4cd79f4cad0fbb474680a300204301
      946ab374
    • M
      fix(cmake): fix cmake depends · e4af4225
      Megvii Engine Team 提交于
      reason: some target call python3 to generate some headers,
      if PYTHON_EXECUTABLE changed, headers will be invalid, which
      will lead to rebuild most of obj, because this headers will
      be include in most cpp/c, what`s more, this target do not depends
      python3 version(python API) the output is same when use python3.5
      or python3.x so change use PYTHON_EXECUTABLE to
      PYTHON3_EXECUTABLE_WITHOUT_VERSION, when
      PYTHON_EXECUTABLE/PYTHON_LIBRARY/PYTHON_INCLUDE_DIR changed,
      can reuse the build obj
      
      GitOrigin-RevId: c2ffe3ead3a295377a691587ab097636562f571e
      e4af4225
    • M
      feat(distributed): support distributed opr for rocm · 1bec737d
      Megvii Engine Team 提交于
      GitOrigin-RevId: 4840100d07dbaa2b7d8e3e113b444ddf81eeea51
      1bec737d
  2. 08 4月, 2021 3 次提交
  3. 01 4月, 2021 2 次提交
  4. 23 3月, 2021 1 次提交
    • M
      fix(build/lite): fix lite rc4_encryptor build failed at new ld env · 89e52281
      Megvii Engine Team 提交于
      when cuda enable:
      
      error log:
      nn-8.0.4-trt-7.2.2.3-libs/TensorRT-7.2.2.3/lib/libnvinfer_static.a(profile.o):
      undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
      /usr/bin/ld:
      /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdl.so:
      error adding symbols: DSO missing from command line
      
      ld version:
      GNU ld (GNU Binutils for Ubuntu) 2.34, example ubuntu20.04
      
      error reason: at new ld, import flags with active zone
      
      libnvinfer_static.a depend dlclose@@GLIBC_2.2.5, which need -ldl
      
      ld -o rc4_encryptor xxx.o -ldl libnvinfer_static.a, which failed
      
      so we put a -ldl for CUDA_LIBS env, then will change to
      ld -o rc4_encryptor xxx.o  libnvinfer_static.a -ldl
      
      GitOrigin-RevId: adda3acb2d5c0952013d59948717060747dd2f8f
      89e52281
  5. 22 3月, 2021 3 次提交
    • M
      feat(lite): add cmake build for lite · af60ff97
      Megvii Engine Team 提交于
      GitOrigin-RevId: 2424eb2681fddcdfa0d48dd7ceb41cf7e5e7bee3
      af60ff97
    • M
      feat(cmake/arm/cuda): support cmake arm with cuda, · 914af286
      Megvii Engine Team 提交于
      * support arm-host and x86-cross-arm
      * fix trt myelib cmake build issue at 'trt copy env'(about 'copy env', Please refs cb92123f)
      
      about x86-cross-arm CUDA env:
      1: run ./scripts/cmake-build/create_cuda_build_libs.py to prepare
         cuda/cudnn/trt env(download deb package info, Please refs create_cuda_build_libs.py)
      2: export TRT_ROOT_DIR=xxxxx which may create by step 1
      3: export CUDNN_ROOT_DIR=xxxx which may create by step 1
      4: export PATH=xxxx:$PATH  xxxx need create by step 1, which nvcc have
         relative path dir: ../targets/sbsa-linux/
      GitOrigin-RevId: 440c76052aabe5b07a4b64d126e759f919c257a8
      914af286
    • M
      build(cuda): support cu111 build · 0e3a6329
      Megvii Engine Team 提交于
      GitOrigin-RevId: b3067ba4d5f1225048838e4b2460d858c475b75e
      0e3a6329
  6. 23 1月, 2021 1 次提交
    • M
      fix(cmake/whl): reduce wheel size · ae8b38f6
      Megvii Engine Team 提交于
      as some reason: some version of trt/cudnn need
      -Wl,--whole-archive attribute to fix cuda issue,
      target A(CMAKE OBJECT,eg megbrain/megdnn): -Wl,--whole-archive depend on trt/cudnn
      target B(SHARED LIBS,eg libmegengine.so) --> A with `PUBLIC` depends
      target C(SHARED LIBS,eg _impertive.so) --> B with `PUBLIC` depends,
      then ld will force link fatbin section into C, which will be undesired
      
      what`s more, attribute PUBLIC/PRIVATE do not take effect
      to OBJECT library(megbrain/megdnn)
      
      what`s more, megengine/megengine_export have to PUBLIC for
      mgb/imperative target, as SRC/include depends
      
      so we pull cudalib depend from megbrain/megdnn to
      megengine/megengine_export on linux os, to finall
      target at windows os, for example lar on windows
      
      GitOrigin-RevId: b278a69e1cdcc17cfd22da80247af3fe30f6d4e8
      ae8b38f6
  7. 15 1月, 2021 1 次提交
  8. 11 1月, 2021 3 次提交
  9. 18 12月, 2020 1 次提交
  10. 27 11月, 2020 1 次提交
  11. 23 11月, 2020 1 次提交
  12. 20 11月, 2020 1 次提交
  13. 26 10月, 2020 1 次提交
  14. 13 10月, 2020 5 次提交
  15. 17 9月, 2020 4 次提交
  16. 16 9月, 2020 4 次提交
  17. 15 9月, 2020 2 次提交
  18. 29 8月, 2020 1 次提交
  19. 25 8月, 2020 2 次提交