- Aug 01, 2021
-
-
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>
-
Li Xinqi authored
* disable eager_op consistent mode * 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>
-
xiaoxiang shi authored
* add ibverbs_qp.h * modify the qp 2021-07-14 * optimize the qp_init_attr.cap.max_send_wr when we send too many message which are greater then qp_init_attr.cap.max_send_wr it may have some problem we use the msg_pendding_list_ to store the extra messages when the message is greater than qp_init_attr.cap.max_send_wr * optimize the qp_init_attr.cap.max_send_wr when we send too many message which are greater then qp_init_attr.cap.max_send_wr it may have some proble we use the msg_pendding_list_ to store the extra messages when the message is greater than qp_init_attr.cap and clear todo * optimize the qp_init_attr.cap.max_send_wr when we send too many message which are greater then qp_init_attr.cap.max_send_wr it may have some proble we use the msg_pendding_list_ to store the extra messages when the message is greater than qp_init_attr.cap and clear todo and clear extra line * optimize the qp_init_attr.cap.max_send_wr when we send too many message which are greater then qp_init_attr.cap.max_send_wr it may have some proble we use the msg_pendding_list_ to store the extra messages when the message is greater than qp_init_attr.cap and clear todo and clear extra line and license * optimize the qp_init_attr.cap.max_send_wr when we send too many message which are greater then qp_init_attr.cap.max_send_wr it may have some proble we use the msg_pendding_list_ to store the extra messages when the message is greater than qp_init_attr.cap and clear todo and clear extra line and license and todo * optimize the qp_init_attr.cap.max_send_wr when we send too many message which are greater then qp_init_attr.cap.max_send_wr it may have some proble we use the msg_pendding_list_ to store the extra messages when the message is greater than qp_init_attr.cap -2021-07-15-20:00 * fix the review and pass the test * increase the kMaxSendWr 07-19 * fix the deconstruct function 2021-07-19 * test the first pr and make it precise * fix the format and check the logic and remove the using_pendding_list_ * 2021-07-21 * fix the code according to the review * fix the * rewrite the pr and now we test it * optimize the IB when send too many message whose number is bigger then qp_init_attr.cap.max_send_wr, I use the msg_pendding_list to store the extra message and wait for some time to send these message of the msg_pendding_list * clear the duplicate license * use pendding_list to optimize qp_init_attr.cap.max_send_wr of IB module * change the format of the IB * commit the format * add new line 2021-07-27 * add new line 2021-07-27-19:30 * add new line 2021-07-27-19:33 * what is the problem of the format * change what * optimize the format * win10 changed * runtime * runtime change again * optimize the format of runtime * optimize the format of acor_message.h * optimize the format ofcpp * optimize the format ofcpp again * optimize the format ofcpp version0.56 * remove some head file * fix the name of some paremeter * merge master to the lambda7 and push it * cleat the newline of 2021-0728 * why crlf * optimze the format * use the make format and optimization * make the EnqueuePostSendReadWR/PostPenddingSendWR be private * use the ending_send_wr_lock_ as lock * use the pending instead of the ending * use the pending instead of the ending and Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 29, 2021
-
-
ZZK authored
* add activation * rename swish to silu * add selu * add four activation op * add softsign test * add silu mish selu softsign * Add softsign docs * Add functional impl * small fix for softsign backward * remove flow.mish test * add silu module test * add selu test * fix docs * fix softsign docs * fix format * fix static cast * merge master functional api yaml * add torch style unittest * Remove assert and add torch unittest * add tensor def * remove softsign test temporary * add return maybe ok * migrate nn ops to single_client dir * migrate unittest * remove lazy unittest * add unittest * fix to new directory * Remove useless docs and single client test * add doc * fix docs * add docs in oneflow and tensor namespace * add torch autotest * fix to new autotest * remove outdated python code * remove useless docs * enlarge unittest tolerance * Add static cast for const value * skip softsign unittest * skip tensor softsign 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 * fix flip bug * fix clip bug 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>
-
daquexian authored
Signed-off-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
cheng cheng authored
* Feat: memory shared between EagerTensor with VariableRegst * Fix BUG of Maybe<void> no return * Add args of Runtime; Add Test Scripts and Runnable * refine note * refine test scripts * refine code for review Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 28, 2021
-
-
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 * support expand flow.Size and tuple input * delete tmp file * 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>
-
Xiaoyu Xu authored
* add valid optimizer case to pass job complete * refactor and fix optimizer * support l2 in variable op * merge master * format * fix merge * rm useless include * address review * auto format by CI * rm internal tensor check after merge master * restore add loss after merge master Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
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 * support flow.Size * support flow.Size * format * auto format by CI * fix repeat module bug * fix repeat module bug * fix repeat module bug * fix repeat module bug * auto format by CI * fix repeat module bug * fix conflict * fix conflict * auto format by CI * support tuple parameter * 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>
-
zjlablichenyang authored
* Adapt to new structure * auto format by CI * fix bug Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
Juncheng authored
* IBVerbsCommNet add knobs * clean
-
daquexian authored
* move tensor to c++ Signed-off-by:
daquexian <daquexian566@gmail.com> * align with master and fix export error Signed-off-by:
daquexian <daquexian566@gmail.com> * reformat Signed-off-by:
daquexian <daquexian566@gmail.com> * rename some functions Signed-off-by:
daquexian <daquexian566@gmail.com> * refine Signed-off-by:
daquexian <daquexian566@gmail.com> * remove unused header Signed-off-by:
daquexian <daquexian566@gmail.com> * restore device repr and str Signed-off-by:
daquexian <daquexian566@gmail.com> * upgrade pybind11 to 2.7.0 for https://github.com/pybind/pybind11/pull/2956 Signed-off-by:
daquexian <daquexian566@gmail.com> * impl parameter in c++, remove determine() call Signed-off-by:
daquexian <daquexian566@gmail.com> * let parameter derive from TensorIf to own a separate grad_fn_node, add missing get_device method, remove out-dated methods in docs Signed-off-by:
daquexian <daquexian566@gmail.com> * add test_parameter.py, fix requires_grad_ and get_device Signed-off-by:
daquexian <daquexian566@gmail.com> * use oneflow cast instead of numpy cast Signed-off-by:
daquexian <daquexian566@gmail.com> * restore format changes Signed-off-by:
daquexian <daquexian566@gmail.com> * auto format by CI * fix tests involving _local_or_consistent_tensor Signed-off-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
- Jul 27, 2021
-
-
cheng cheng authored
* LazyInterpret gen Variable ParallelDistribution * LazyInterpret NewScopeWithParallelDescByTensor * Debug and pass test for input/output op expr lazy tensor infer device * Add normal infer user op scope impl; add test user op expr for cuda * fix for review Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
leaves-zwx authored
* nn.Graph call and launch impl * Fix bug of 1.pybind11 list->vector; 2.GlobalJobDesc in NNGraph Compile * Fix bug: AutoTick Multi-Client callback notifier lbn * Fix bug: callback notifier op check in multi-client * Fix bug: CheckOpGraph in multi-client * Fix bug of MultiClientSessionContext new ProfileConf * Fix bug of create NONE type kernel; add note; refine PlanUtil::PopulateOpAttibute * Fix bug: CallbackNotifier kernel dtype with uint8; change tick dtype; Feat: add Kernel create fault-tolerant * inputs tensor list * rollback of hack * Using TensorTuple for RunLazyNNGraph * Fix bug: WaitAndSendIdsKernel handle for Multi-Client * skip graph runnable test * refine * skip test graph optimizer for nn.Graph train job completer error * debug code * rm InputKernel Forward overwrite * rm debug code * revert useless change * revert debug code in graph * rm skip in test * revert source tick op * rm useless import * mv test_graph_relu.py * correct break * change the code of finding tick Co-authored-by:
chengtbf <472491134@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Houjiang Chen authored
* Support symbol placement type in functional. * add sbp and sbp list arg * refine Co-authored-by:
clackhan <han_binbin@163.com> 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 * fix conflict * auto format by CI * fix license * fix ci error * Delete version.py * 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>
-
Yao Chi authored
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 * register uint8 dtypeto support dataloader * add cifer mnist dataset support * format * refine * refine * use F.interpolation * export dataloader dataset * export more api * refine * refine * add oneflow_test_cache_dir * refien * refine * refine * refine * update datasets links * refine * fix comment * unset export * auto format by CI * add requirement * always reisntall test deps * update requirement * add pillow as oneflow dependency * auto format by CI * add sessiong context debug str * remove debug str * remove experimental * fix export * update * fixbug * auto format by CI * refine * refine Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
tsai <jackalcooper@gmail.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
Shenghang Tsai authored
* refein * rm * fix * refein * log * add ignore * add ignore * refein * refein * refein
-