- Aug 04, 2021
-
-
Houjiang Chen authored
* Refactor functional matmul and add apis. * Export batch matmul and fix python module * Check inplace valid in C++ * Support scalar add tensor. * Support inplace when broadcasting add * Fix add Co-authored-by:
Yao Chi <later@usopp.net> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
leaves-zwx authored
* debug * construct job plan name as key * rm debug code * mod comment * chang plan name to pubsub format * correct comment syntax Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Li Xinqi authored
* Rename CpuStreamType to AsyncCpuStreamType * Rename CpuStreamType to AsyncCpuStreamType Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
* fix_circular_deps_of_sbp_py * address reveiw * Revert "address reveiw" This reverts commit 004ee6f89d7cec2972c77b40dc2659bd19078e2c. Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Aug 03, 2021
-
-
Shenghang Tsai authored
* fix * fix * address review Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Yao Chi authored
* support tuple of ints size, or unpacked ints size for ones and zeros op * refine according to comments * add annotation for size * support 0-dim tensor shape Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Luyang authored
* export datasets interface * auto format by CI * fix docs * add fix_datasets_export * refine Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
tsai <jackalcooper@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
luqiang guo authored
* Use function interface * Delete the old interface file * Delete the old interface file * Delete the fifth part of the interface file * Delete comment
-
Kevin_Xiong authored
* add RecordBytesDecoder * add docs for OFRecordBytesDecoder * update * reformat the code * resovlved conflits * resolve conflicts * resolving conflicts * format the code * Delete randperm.py * format * auto format by CI * Update test_dataset.py * auto format by CI * The path in doctest fixed? * Update test_dataset.py * auto format by CI * refine doctest Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
binbinHan authored
* support_tensor_to/to_local * export consistent_tensor.to_local() * refine code * export tensor.to()... * refine code * refine code * optimize code * refine code * refine * back up * add tensor.to func * make of_format * remove to in pyTensor * sync gpu data * refine * refine * refine * refine * refine * refine * refine * refine * refine * backup * refine * rebase * check in gen py * merge master and fix bugs * address pr comments * address pr comments * auto format by CI * remove boxing * refine * Fix optional * remove to in tensor.cpp * update * Support symbol placement type in functional. * add sbp and sbp list arg * refine * use functional * refactor CastConsistentOpExpr * to_consistent(flow.B) backward * Cache op expr * add EagerNcclOpKernelState * refine * refine * refine * refine * refine * refine * minor fix * capture OpInterpContext * unimplemented apply * add GetNdSbp * add mutex * refine * merge EagerConsistentTensorImpl::NewWithPhyTensor and EagerConsistentTensorImpl::NewWithoutPhyTensor into EagerConsistentTensorImpl::New * rename functiona SyncData to SyncMetaAndData * of_format * add to_local to pybind * add placement_sbp_util * minor fix * sync shape and data when tensor_to_local * fix rpc_token bugs * refactor AsyncRpcCtx * set logical_shape correctly * simplify implementation of consistent_tensor.to_local * initialize rpc_token with zero * refactor grad functions of to_consistent/to_local * reformat and address pr comment * reformat * refactor eager_nccl_reduce lernel Co-authored-by:
tsai <jackalcooper@gmail.com> Co-authored-by:
Xinqi Li <lixinqi0703106@163.com> Co-authored-by:
Li Xinqi <lixinqi2010@gmail.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
hjchen2 <chenhoujiangcug@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
luqiang guo authored
* Use function interface * Delete the old interface file * Delete the old interface file * Delet docs ctc_greedy_decoder Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
ZZK authored
* remove experimental * add test num Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
daquexian authored
* add multi client multi machine test Signed-off-by:
daquexian <daquexian566@gmail.com> * remove copy cores Signed-off-by:
daquexian <daquexian566@gmail.com> * use discover in bash Signed-off-by:
daquexian <daquexian566@gmail.com> * add tests in test.yml and refine Signed-off-by:
daquexian <daquexian566@gmail.com> * remove multi_client test files into test dir to reuse code Signed-off-by:
daquexian <daquexian566@gmail.com> * delete distributed_run_multi_client.py and move impl in distributed_run.py Signed-off-by:
daquexian <daquexian566@gmail.com> * if -> elif Signed-off-by:
daquexian <daquexian566@gmail.com> * try three times and upload log Signed-off-by:
daquexian <daquexian566@gmail.com> * add 'mode' arg in py Signed-off-by:
daquexian <daquexian566@gmail.com> * auto format by CI * remove --multi_client in yml Signed-off-by:
daquexian <daquexian566@gmail.com> * skip distributed test in cpu Signed-off-by:
daquexian <daquexian566@gmail.com> * use new test container Signed-off-by:
daquexian <daquexian566@gmail.com> * add host key to all machines Signed-off-by:
daquexian <daquexian566@gmail.com> * auto format by CI * fix python version Signed-off-by:
daquexian <daquexian566@gmail.com> * fix python version Signed-off-by:
daquexian <daquexian566@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>
-
- Aug 02, 2021
-
-
cheng cheng authored
* Multi-Runtime for multi nn.Graph * fix import os * Fix BUG of IsMultiClient Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Luyang authored
* 0-dim tensor support * test case * add more test * refine * update * update default constructor * reconstuct * merge master * remove notes * remove useless codes * fix comments * fix comment * add test case * format * refine * refine * refine * refine * MirroredTensorMeta::MirroredTensorMeta() * support 0-dim slice * support 0-dim slice grad * refine * auto format by CI * refine * refine * auto format by CI * refine * fix slice bug * auto format by CI * fix resnet50 0-im loss uasge * fix 0-dim tensor usage in test cases * add skip test * auto format by CI * fix test_dataset * check blobdesc.shape init * auto format by CI * remove useless empty shape init * fix l1loss 0-dim error * auto format by CI * fix argmax op test * fix add_n op test * auto format by CI * fix bce loss op test * auto format by CI * fix squeeze op test * fix conv2d op test * fix xpu_shape for clip_grad_norm * auto format by CI * resolve confilct * fix multi-cpu slice_copier 0-dim bug * auto format by CI * add memory copy for 0-dim * auto format by CI * support copy0dim * refine * auto format by CI * remove unuse codes * fix check for kldivloss * gpu 0-dim copy * auto format by CI * fix clip_grad_norm doctest * fix reduce_ops doctest * fix argmax doctest * fix loss module doctests * fix math_ops doctests * fix norm modules doctest Co-authored-by:
Xinqi Li <lixinqi0703106@163.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>
-
ZZK authored
* add conv3d module * add simple test case * use conv base class to write conv3d * still test error * add torch style conv3d unit test * fix format * add assert * unittest still error * auto format by CI * fix format and autotest * remove dir * remove useless file * add extra expr * auto format by CI * fix import * fix doc Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
Xiaoyu Zhang <35585791+BBuf@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
ZZK authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Houjiang Chen authored
* Fix optional * update Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Aug 01, 2021
-
-
YongtaoShi authored
* add batchnorm3d module * add testing flag, add more log Signed-off-by:
daquexian <daquexian566@gmail.com> * only test cpu device * auto format by CI Co-authored-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
Yinggang Wang authored
* feat(Tensor): support 0shape tensor * math binary broadcast support emoty tensor input * slice support empty tensor input and output * fix check in slice * test(Cat): add 0shape cat module test * fix return type error on gcc 4.8.5 Signed-off-by:
daquexian <daquexian566@gmail.com> * auto format by CI * add module op test for empty tensor, cuda kernel support empty tensor * format * feat(ReduceOp): reduce op kernels support 0shape tensor * delete files added by mistake * refine if * refine if * feat(ConstantOp): constant ops support 0shape tensor * feat(ReshapeOp): reshape kernel support 0shape tensor * math binary and unary backward skip when elem equal to zeros * fix(ReduceOp): fix reduce not memset bug * support getitem output empty tensor * fix comment * getitem support input is empty * reduce_like kernel support empty * fix op test bug * feat(ReduceOp): refine reduce ops initialize value * format code * fix triu bug when input is empty * test(AbsOp): fix test bug * test(DivOp): fix test bug * fix clamp bug * fix test_sub bug * fix(ReduceOp): fix reduce op memset bug * auto format by CI * fix random Co-authored-by:
liufengwei <2472937968@qq.com> Co-authored-by:
daquexian <daquexian566@gmail.com> 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 31, 2021
-
-
Shijie authored
* fix bug * add cast_like functor * convert to functional impl * convert to functional Co-authored-by:
Houjiang Chen <chenhoujiangcug@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Juncheng authored
* Move Global<CommNet> to env scope * Revert Global RuntimeCtx New Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
cheng cheng <472491134@qq.com>
-
Luyang authored
* rewrite slice_update backward * use functional api * fix comments * refine * refine * refine * add slice_grad functor * refine * auto format by CI Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
Li Xinqi authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
ZZK authored
* startup of dev scatter ops * use dim scatter base class * refine(using binop to abstract scatter update and add * refine (use macros to implement kerenl class and functors) * refine(description for register scatter ops/kernels) * refine * add inplace ops * python wraper scatter_add inplace * dev inplace ops * refine dim_gather (using macros register mechanism) * add grad of scatter_add_like * refine (add src, like versions for scatter) * refine src/like tensor * gather refine(no need outplace/inplace versions) * reformat * refine * test case of dim scatter * test case for dim_scatter_add_like * 1n2d test case for dim_scatter_add_like * refine scatter sbp * fail to sccater_add_like on 1n2d * refing sbp * refine test case, unify add and update like ops * test case for scatter_add/update like ops finished * test cases for scatter ops * refine, merge test class * startup of api docs * add scatter api docs and assertion in python * fix make error but still segment fault * annotate sbp infer * rewrite scatter kernel logic * remove inplace proposal and fix macro name * remove outdated atomic add * move sbp infer * add const and throw error * add check * set grad op * add scatter scalar * add scatter scalar gpu kernel * add torch style backprop * add torch style backprop check * align with master * remove redundant sbp check * add test * add float16n register * fix sbp * fix sbp * add api doc * make format * add new line * refine * revert dim gather * extract dim_scatter_add * extracat scatter update ops * add add/update functor * rewrting by functors * refine * remove dim_gather_scatter_uitl.h * add blank line * refine macros for registering kerenls * refine dim_scatter_scalar files name * refine * refine register ops * refine * add F.dim_scatter_scalar * add scatter op * refine docstr * add scatter reduce arg * finally(!): a draft for scatter constitent with pytroch * change import package name * remmove lazy test and add scatter_add and scatter_mul * startup of scatter backward op * add backward for scatter * scatter ops backward finished * add scatter, scatter_add test cases * remove useless scatter_update_like * reformat * refine test cases * refine according to comments * revert op_exprt_helper * fixed index element * fix scatter update like expr for dim gather backward Co-authored-by:
doombeaker <later@usopp.net> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Li Xinqi authored
* rebase * check in gen py * merge master and fix bugs * address pr comments * address pr comments * auto format by CI * rebase * address pr comments * auto format by CI * functional python_arg * reuse ctrl rpc token for avoiding long time timeout waiting. * fix compiler complaints * auto format by CI * auto format by CI * remove unused files * fix return type error on gcc 4.8.5 Signed-off-by:
daquexian <daquexian566@gmail.com> * auto format by CI * fix return type error in xrt Signed-off-by:
daquexian <daquexian566@gmail.com> * fix tick ibn sbp signature * auto format by CI Co-authored-by:
tsai <jackalcooper@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> Co-authored-by:
daquexian <daquexian566@gmail.com>
-
tangnana925 authored
* add autotest tan tanh floor arctanh * add autotest tan floor tan * Add autotest for log1p * Code format * delete no use import * add eye op alignment * amend pytorch test * delete merge error branch * Delete log1p.py delete merge error branch * amend code because the list of master change * amend eye test code * amend eye docsting * amend eye docsting * amend eye docstring * autotest test_eye * auto format by CI * amend param of eye Co-authored-by:
Zhenhua <huangzhenhua@zhejianglab.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>
-
Shijie authored
* add minimum and maximum * add testcase * fix docs * move to python * add elementwise min max grad func * add autotest * add broadcast min max grad func * add broadcast min max testcase * add broadcast_binary related functional * convert gradient func to functional * delete elementwise op_expr * delete grad_op * bind python Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Xiaoyu Zhang authored
* align view input style with torch * fix bug Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 30, 2021
-
-
ZZK authored
* restruct activation grad functional * remove old gradient func * process prelu grad op * 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>
-
Luyang authored
* rewrite arange * rewrite argwhere * argwhere tensor testcase * rewrite argmax test * fix replicationpad2d padding size check * rewrite replicationpad2d test * rewrite layernorm test * rewrite instantnorm123d test * refine params to size_t * fix comments * refine test case * auto format by CI * 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>
-
cheng cheng authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Peihong Liu authored
* add autotest for some math ops * add autotest for some activation ops * clean activation tests * clean math op tests * fix a bug Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
* refein * refein * refein * port more changrs * dirty workaround in autotest * use cpu pkg to build doc * fix * fix * dirty fix cpu0_device * refein * refien * refein * refien * reffine * refein * fix * fix dataload api * fix * fix * refein * refein * refein * refei * fix * use a different path for lenet * fxi * add @flow.unittest.skip_unless_1n1d() for graph tests * fxi * refein * refien Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Li Xinqi authored
* rebase * check in gen py * merge master and fix bugs * address pr comments * address pr comments * auto format by CI * functional python_arg * auto format by CI * remove unused files * fix return type error on gcc 4.8.5 Signed-off-by:
daquexian <daquexian566@gmail.com> * auto format by CI * fix return type error in xrt Signed-off-by:
daquexian <daquexian566@gmail.com> * fix tick ibn sbp signature * auto format by CI Co-authored-by:
tsai <jackalcooper@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> Co-authored-by:
daquexian <daquexian566@gmail.com>
-
Shenghang Tsai authored
* mv clang tidy to simple ci * rm timeout * refei * refein Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
daquexian authored
* fix return type error on gcc 4.8.5 Signed-off-by:
daquexian <daquexian566@gmail.com> * auto format by CI * fix return type error in xrt Signed-off-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
luqiang guo authored
* Use function interface * Delete blank lines * modefied scalar add * elementwise add * broadcase add * modified ScalarAddByTensor * modified Addmm * Delete the old implementation * fix _sub errot * auto format by CI * modified _inplaceable Co-authored-by:
Yao Chi <later@usopp.net> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Xiaoyu Zhang authored
* fix upsample nearest bug * fix upsample nearest bug (#5347) Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> * fix upsample bilinear bug * fix export bug * add conv autotest * add dead loop error raise * add floor auto_test * fix random tensor generator bug * restruct math ops test * add atan autotest * restruct math_ops * fix bug * fix conv test bug * fix commnets * 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>
-