Skip to content
Snippets Groups Projects
  1. Jul 16, 2021
  2. Apr 22, 2021
  3. Mar 23, 2021
    • Shenghang Tsai's avatar
      Support dynamic OneFlow libs & rm modularity & refine CI for macOS (#4466) · 229ab9ce
      Shenghang Tsai authored
      
      * rm modularity
      
      * refine
      
      * refine
      
      * add rpath
      
      * update tests
      
      * refine
      
      * update py version
      
      * refine arg
      
      * refine extra_oneflow_cmake_args
      
      * refine extra_oneflow_cmake_args
      
      * merge macOS into matrix
      
      * add actions/cache@v2
      
      * refine restore-keys
      
      * refien restore keys
      
      * make mac ci optional
      
      * add notes
      
      * add notes
      
      * refine
      
      * refine
      
      * fix yml indention
      
      * Revert "fix yml indention"
      
      This reverts commit 5c6a539e22c1359f9a5cd0aeff4c80130a7dbe41.
      
      * Revert "refine"
      
      This reverts commit cfa3dec9e52f021888b629266e9c456071c2d10b.
      
      * refactor whl script to support multiple cmake -D
      
      * fix typo
      
      * refine
      
      * fix
      
      * refine
      
      * add
      
      * filter extra_oneflow_cmake_args
      
      * fix
      
      * refine log
      
      * add more flags in sysconfig
      
      * add with cuda with xla
      
      * fix typo
      
      * refine
      
      * refine
      
      * fmt
      
      * reorder
      
      * refine
      
      * fmt
      
      * add skif for new cases
      
      * rm unused
      
      * refine
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      229ab9ce
  4. Feb 03, 2021
  5. Nov 19, 2020
    • strint's avatar
      Py kernel2 (#3686) · 14fe039a
      strint authored
      
      * py op draft
      
      * naive py op
      
      * add grad
      
      * add fake test
      
      * add pybind make
      
      * add cmake
      
      * refine cmake
      
      * refine pybind cmake
      
      * add python lib
      
      * user pybind11 inner cmake
      
      * simple pybind11 cmake
      
      * fix conflict of _GLIBCXX_USE_CXX11_ABI, add py-dev lib, add pybind11 auto download compile pass
      
      * use py-c-api
      
      * numpy c api compile pass
      
      * draft passed demo test
      
      * uni_interface_draft
      
      * add input
      
      * add part of output
      
      * add numpy type to of type
      
      * add output
      
      * add log
      
      * general numpy input & output test pass
      
      * rename numpy converter
      
      * add py op register draft
      
      * add wishful code
      
      * finish py op compute
      
      * add grpc error log
      
      * add test of sigmoid_grad
      
      * get input output tensor by definition order
      
      * fix python interpreter memory leak
      
      * fix format
      
      * add multioutput test
      
      * restore conv2d
      
      * fix format
      
      * refine test
      
      * refactor py op compile
      
      * refine python op compile draft
      
      * add python compile & test
      
      * add test
      
      * fix load so
      
      * single test pass
      
      * refien op lib compile api
      
      * refactor lib name
      
      * api add by lib
      
      * supprot lib folder
      
      * support lib with structure test pass
      
      * refactor one2two
      
      * rm useless code
      
      * fix dir bug
      
      * revert cmake
      
      * format
      
      * rm useless code
      
      * export api
      
      * format
      
      * test file path
      
      * support lib path
      
      * export BlobDef&unique_str
      
      * add cp of cpp2py for whl
      
      * rm useless code
      
      * debug ci g++ abi
      
      * fix format
      
      * debug ci cxx abi
      
      * debug ci docker : close c++11 abi
      
      * revert cxx abi set
      
      * CI compile so debug
      
      * CI compile so debug2
      
      * CI compile so debug3
      
      * rm debug code&deal with eagar ci
      
      * refine test
      
      * detect_cxx11_abi_availibility
      
      * crash on compiling error
      
      * rm BlobDef
      
      * var to func
      
      * support switch python and cpp kernel
      
      * py cpp kernel templete rm type
      
      * fix compile
      
      * debug ci
      
      * fix imp.find_module warning, restore test
      
      * attr use new interface
      
      * change test
      
      * add test log
      
      * try to fix test in ci
      
      * add ci test debug log
      
      * ci add special test for op build
      
      * fix format
      
      * refine style
      
      * py kernel use cache
      
      * op_lib op_lib_loader to experimental
      
      * load so now, new py kernel reg cpp api
      
      * refine
      
      * py_ext compile pass
      
      * dynamic compile to static compile, test pass
      
      * rename test case
      
      * user python kernel
      
      * op_lib_reg -> op_lib_builder & refine api
      
      * refine code and test pytorch in kernel
      
      * no link python so
      
      * fix last line
      
      * test op load in eager and fix style
      
      * py kernel import only once and use sub-namespace pyext
      
      * fix last line
      
      * fix lib path
      
      * refine op lib api
      
      * rm stringstream
      
      Co-authored-by: default avatardaquexian <daquexian566@gmail.com>
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      14fe039a
  6. Sep 28, 2020
  7. Aug 19, 2020
  8. Jul 23, 2020
    • Shenghang Tsai's avatar
      Dev apache2 license (#3266) · d0bdbd5d
      Shenghang Tsai authored
      
      * add license at root dir
      
      * check in empty files
      
      * rm space
      
      * check in script
      
      * update script
      
      * fix bug
      
      * add print
      
      * fix
      
      * add exit
      
      * add to of_format
      
      * add CI task
      
      * fix license
      
      * Revert "fix license"
      
      This reverts commit 818b6d7691d3a8b4a25dd41a47ff2c5922b8ec57.
      
      * only add once
      
      * quick fix
      
      * fix script
      
      * dont fmt empty file
      
      * fix
      
      * quick fix
      
      * fix py
      
      * add license
      
      * fix exit
      
      * add license for hpp
      
      * add license
      
      * license new vm files
      
      Co-authored-by: default avatartsai <caishenghang@oneflow.org>
      d0bdbd5d
  9. Jul 16, 2020
  10. Jun 26, 2020
  11. Jun 15, 2020
    • OuYang Yu's avatar
      Add py format and ci check format (#3013) · 9ccd95ff
      OuYang Yu authored
      * Add py format and ci check format , by black and isort
      
      * py import sort
      
      * add .isort.cfg
      
      * Merge develop
      
      * Add ci docker check format
      
      * Fix undefined name oneflow
      
      * remove isort
      
      * Add docker hash tag
      
      * Add py check format verbose
      
      * Prompt install black
      9ccd95ff
  12. Jun 02, 2020
  13. Feb 13, 2020
    • cheng cheng's avatar
      Oneflow.Module (#2622) · 3647af82
      cheng cheng authored
      * cmake target : of_include_copy
      
      * oneflow dynamic module and multi thread in user op
      
      * add more .h for cuda user op
      3647af82