- Jul 15, 2021
-
-
Juncheng authored
* Add unique.cuh * CHECK workspace_size Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
daquexian authored
* new static check based on clang-tidy Signed-off-by:
daquexian <daquexian566@gmail.com> * set compiler as clang to generate right compile_commands.json, skip build Signed-off-by:
daquexian <daquexian566@gmail.com> * include clang headers Signed-off-by:
daquexian <daquexian566@gmail.com> * build third party Signed-off-by:
daquexian <daquexian566@gmail.com> * install deps Signed-off-by:
daquexian <daquexian566@gmail.com> * build third party by gcc, generate compile_commands.json by clang Signed-off-by:
daquexian <daquexian566@gmail.com> * rm CMakeCache.txt Signed-off-by:
daquexian <daquexian566@gmail.com> * run of_git_version Signed-off-by:
daquexian <daquexian566@gmail.com> * download clang-tidy from oneflow-inc/llvm-project repo Signed-off-by:
daquexian <daquexian566@gmail.com> * rename check name Signed-off-by:
daquexian <daquexian566@gmail.com> * remove old clang plugin Signed-off-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Ziqi Zhou authored
* printf tensor index in cpp * revert printf debug information * add isinstance tuple and int condition * format code * implement and register __iter__ method * Change to catch exception from C++ and throw IndexError * add indexError error message Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
XIE Xuan authored
* auto_zero_padding -> auto_truncating in cpp * auto_truncating for python interface * fix element count * fix * fix bug auto_truncating<->dim1_varying_length * auto_truncating -> truncate * rm not in if * of format Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Luyang authored
* refine and add test case * support ellipsis type slice * refine * refine * support slice assign ellipsis type * refine * register fn to localtensor * basic implemetation of dataloader * format * refine as comments * fix comments * remove useless code * add test case into unnitest * refine ascomments * refine as comments Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 14, 2021
-
-
Xiaoyu Zhang authored
* add argmax test * fix ci error * fix docstring warning * fix tensor greater and less bug * fix conflict * add test_flow_xxx_against_pytorch func * fix default_value_not_set_bug * fix bug * auto format by CI Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Liang Depeng authored
* fix rmsprop ci fail * fix rmsprop ci fail Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
cheng cheng authored
* Multi-Client LogicalRun degenerate to PhysicalRun * Add Logical->Physical in Multi-Client for IdGenerator and InstructionsBuilder Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
cheng cheng authored
* half implement of InputOpExpr * Half implement of run InputOpExpr * FeedInputOp/FeedVariableOp/FetchOutputOp Expr/Conf; Impl of LazyInterpret::Apply(FeedInputOpExpr) * FeedInputOpExpr runnable * refine note in multi-client session * refine code * refine test_input_op_expr.py * Using with oneflow._oneflow_internal.lazy_mode.gard(True) * using unittest skip if not in eager * add JUST Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
liufengwei0103 authored
-
liufengwei0103 authored
* Modified the OutputArgModifyFn interface * maybe error stack from CheckAndConstructOp to OutputArgModifier callback function * maybe error stack from CheckAndConstructOp to OutputArgModifier callback function * OutputArgModifier return maybe part_1 * maybe error stack from CheckAndConstructOp to OutputArgModifier callback function * add JUST for hander in ForEachOperator Co-authored-by:
aishangjj <702572275@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
zev123456 authored
* add gather_nd and scatter_nd * add testcase * stable_api * add docs and doctest * add scatter_nd grad * gradfunc * delete some code comments * add grad test * add docs * update words usage * delete some import * update * update * auto format by CI Co-authored-by:
Yao Chi <later@usopp.net> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
- Jul 13, 2021
-
-
Xiaoyu Xu authored
* graph api * add graph dummy test * add test * add recursive module mode * graph.build test pass * add detail check on graph inner node * support config and train * add repr for debug * test buffer * test buffer add * refine test * add comment * refine test * refactor Node to Block * add named_state * refine Graph.named_state() * add state_tensortuple * graph._compile() * add mc session 0 * nn.graph: state tuple to private var; add BlockType; add simple multi client session * NNGraphIf * rm old graph.cpp * nn.graph: add cpp NNGraph; export and call NNGraph * add comment * nn.Graph: rm prototype MultiClientSession * nn.Graph: rm prototype MultiClientSession test * nn.Graph: add TODO * nn.Graph: format for review * nn.Graph: format * nn.Graph: format * nn.Graph: pass flake8 check * job_build_ctx * support lazy context * format * lazy mode * format * format * lazy mode add test * debug session * init session and job_build_context * rm temp code * build default scope * add default scope * add scope proto for debug * chech scope * format * refine MultiClientSession.resource * address review * lazy init scope stack in single-client, instantly init scope stack after MultiClientSession created in multi-client * fix typo * address review * fix clear default session * merger and test Co-authored-by:
Xinqi Li <lixinqi0703106@163.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
leaves-zwx <kunta0932@gmail.com> Co-authored-by:
cheng cheng <472491134@qq.com>
-
Bowen Chen authored
* move generator test into ops folder to accelerate tests * ensure ONEFLOW_TEST_CPU_ONLY * auto format by CI Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Yao Chi authored
* refine * refine * refine * add inplace testcase * check inplace valid Co-authored-by:
Yinggang Wang <wyg19970408@gmail.com> * refine * refine inplace name * reformat * auto format by CI Co-authored-by:
Yinggang Wang <wyg19970408@gmail.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
leaves-zwx authored
* address review * lazy init scope stack in single-client, instantly init scope stack after MultiClientSession created in multi-client * fix typo * address review * fix clear default session Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Xiaoyu Zhang authored
* add argmax test * fix ci error * fix docstring warning * fix tensor greater and less bug * fix conflict * add test_flow_xxx_against_pytorch func * add asinh and arcsinh test * add asinh and arcsinh test * add sinh test * add atan2 module test * add softplus test, softplus module has bug * comment softplus * add elu module autotest * refine * auto format by CI Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
Luyang authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
S1NH authored
* init nn.image.flip * clean code * add unit test. * revert python.cmake * auto format by CI * resolve comments * add functor * fix image_flip * fix testcase * fix warning: Unexpected indentation Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
simonJJJ <821898965@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
tangnana925 authored
* init of op diag * init of op diag * modify op diag * merge testcase * delete no use tensor diag * amend diag api docs * resolve conficts * resolve confict * resolve confict * resolve confict * auto format by CI * add tensor.diag * auto format by CI * amend API description * add non_square test * amend diag API description * amend diag API description * compact test code * compact code * auto format by CI * amend API description * amend API description * motify functional API * motify test_diag * amend diag functional API * amend diag docstring * auto format by CI * amend code standards * auto format by CI Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
-
- Jul 12, 2021
-
-
Yinggang Wang authored
* fix(Tensor): fix Tensor.grad setter bug * refine error message * fix(Tensor): fix bug * add grad = grad * constant test * update tensor.py to pr head * format code * fix(Parameter): fix Parameter construction bug * fix bug Co-authored-by:
tea321000 <834914152@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Yinggang Wang authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shijie authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Xiaoyu Zhang authored
* add argmax test * fix ci error * fix docstring warning * fix tensor greater and less bug * fix conflict * add test_flow_xxx_against_pytorch func * add autotest part1 * add asin and arcsin module test * auto format by CI * try to fix export oneflow.python.test ci error * delete __init__.py * delete autotest tensor api * fix ci export test_tensor_against_pytorch bug * recover * add tensor test * auto format by CI Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Houjiang Chen authored
* Optimize tensor getitem. * Fix merge * Refine code style * Fix typo and copy input if it's getitem is identity. Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
daquexian authored
Signed-off-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
zjlablichenyang authored
* Add in_top_k function * auto format by CI * fix bug * Update oneflow/python/ops/math_ops.py Co-authored-by:
Yao Chi <later@usopp.net> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
Yao Chi <later@usopp.net> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Yinggang Wang authored
-
Yao Chi authored
* startup: use python, not C extension * rst changes test * refine * add F.rst * add bernoulli add docstr example * add doctest for functional method * del docstr utils immediately in init.py * refine test case * use sin, cos instead of add, mul * refine Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Houjiang Chen authored
* Throw exception if check failed. * Fix undefined symbol
-
- Jul 11, 2021
-
-
Houjiang Chen authored
* Optimize reduce mean * Fix mean axis. Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Li Xinqi authored
* export Tensor only to python * address review comments * address review comments * refine * Update tensor_tuple_util.py fix bug * Update tensor.cpp fix bug * Update tensor.cpp fix bug * auto format by CI Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
clackhan <han_binbin@163.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
liufengwei0103 authored
* Modified the OutputArgModifyFn interface * maybe error stack from CheckAndConstructOp to OutputArgModifier callback function Co-authored-by:
aishangjj <702572275@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 10, 2021
-
-
Luyang authored
* add torch maxpool2d cpu kernel implementation * refine cpu implementation * op gpu implemetation * bug-fix * refine * add pooling kernel util * reimplementation of cpu kernel * gpu kernel implementation * gpu kernel implementation * bug fix * change indice index * change indice index of grad compute * add flag: return_indices * format code * update inteface param * add param dilation * bug-fix * update padding param * add maxpool2d test case * format code * bug fix * update tese case * update sbp of indice * add code sample * add new line * use oneflow_api.BlobDesc * add op torch maxpool1d * add sample codes * change dtype of indice * add torch maxpool3d interface * add implementation of maxpool3d * reformat codes * add atomic add * bug-fix * backward bug fix * update search index * format code * update imterface params * add sample code of maxpool3d * refine and add test case * support ellipsis type slice * refine * refine * support slice assign ellipsis type * refine * register fn to localtensor * merge master * update maxpooling ops * refactor maxpool2d op * add ceil mode testcase * rm useless code * refine * refactor maxpool3d op and test cases * refine * add maxpool1d implementation * simplify params using struct * fix sbp fn * del notes * refine * refine * add pooling functional api impl * refine * update sbp fn * refin thread num * refine * auto format by CI * rm bn test for debug * limit registers num * remove double dtype * . * auto format by CI * update data type * refine * add cuda synchronize and error string capture * move synchronize placement * debug all kernel compute * debug * debug * debug * debug * auto format by CI * debug std infinity * debug * add numeric utils * format * refine * add reference * remove useless header * move namespace to detail * fix doctest error Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
Li Xinqi authored
* replace ForeignJobInstance using JobInstance * LazyJobStreamType * NNGraphIf * NNGraph -> NNGraphIf * fix compile bugs * add unit tests for instruction RunLazyJob * GetInputBufferName/GetOutputBufferName * address pr comments * add cuda complie switch * refine Co-authored-by:
liufengwei <2472937968@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
clackhan <han_binbin@163.com>
-
leaves-zwx authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Yinggang Wang authored
* feat(add_): support inplace add * fix(add_): fix push bug * Add InplaceableBinaryFunctor * feat(add_): add tensor += other * docs(add_): fix docs * fix relu module bug Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
leaves-zwx authored
* multi_client_session, single_client_session * refactor * modify according to MultiClientSessionContext api * InitScopeStack in multi-client * add function flag and scope attr * address review Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Luyang authored
* fix -1 index not support bug * add test case * fix -1 index not support bug
-