- Jul 09, 2021
-
-
Xiaoyu Xu authored
* rm nn.Graph.train * Update graph.py GraphCofig default predict * Update test_graph.py
-
- Jul 08, 2021
-
-
cheng cheng authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
YongtaoShi authored
* add pixelshufflev2 module * update pixel shuffle module to v2 * handle pixelshufflev1 * handle pixelshufflev1 * 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>
-
Shenghang Tsai authored
* refactor_build_wheel_to_support_oneflowinc_images * address review Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Bowen Chen authored
* add bernoulli module * fix doc test * add bernoulli functor * make changes according to review * refine (#5415) * refine rng related tests; make generator.seed() as api Co-authored-by:
Ldpe2G <liangdepeng@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
* add arg skip_audit * refine
-
poohRui authored
* support inplace forward * support inplace backward * add test case * add test case for clone * inplace is not support for leaf nodes * refine clone * add checks * refine * forbid clone with no grad * Separate autograd meta to tensor (#5267) * separate autograd meta * minor fix * fix acc_grad interface * fix acc_grad with null * minor fix * inplace without clone * refine * minor fix * remove maybe from constructor * change from create to set * fix merge bugs * fix merge bug * remove inplace flag in local_call_opkernel_phy_instr_operand * remove out-date codes * refine code * add JUST * fix merge master bug * revert autograd engine input_grad check * fix bug in tensor_hook Co-authored-by:
wyg1997 <wyg19970408@gmail.com> Co-authored-by:
Houjiang Chen <chenhoujiangcug@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 07, 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 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:
cheng cheng <472491134@qq.com>
-
Liang Depeng authored
* add bernoulli module * fix doc test * add bernoulli functor * make changes according to review * refine (#5415) * fix Co-authored-by:
Bowen Chen <bob2420083992@gmail.com> 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 test_flow_tensor_xxx_against_pytorch func * add test * fix first comments * code reuse * fix comments * fix comments * fix conv test bug * fix conv test bug * fix comments * fix comment * fix comment * fix comment * fix comment * fix bug * fix comment * fix comment * fix comments * fix comments * fix comments * fix comments * fix comments * code format * refine autotest * fix comments * fix comments * fix comment Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Houjiang Chen authored
* add random generator * reformat * refactor: allow auto generator * refactor: remove kAUTO, update python api and test * refactor: use member initializer lists, fix build issue when cpu only * handle exeception given invalid device * add dropout functor; add OpExprInterpContext; refactor random_mask_like based on random_generator * refactor random generator * Cast explicitily in unpack call to avoid confilt with Optional. * Refactor generator * Fix bad merge * Refine * Private default generator for each cuda device. * Fix * Refactor generator and refine unittest * add lock; refine testcase Co-authored-by:
VertexC <bob2420083992@gmail.com> 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 * delete maxpool failed test * delete maxpool failed 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>
-
Ziqi Zhou authored
* fix upsample nearest bug * Enhance the difficulty of test samples * fix * fix * fix * fix upsample nearest bug (#5347) Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> * fix upsample bilinear bug * fix upsample bilinear bug * fix test * recover code * align with pytorch * redesign upsample bilinear * fix align corner bug * align bilinear with pytorch * enchaned 4-dim samples * fix conflict * add backward test * fix bug * complete grad test * fix merge conflict * delete handwritten interpolate * bypass pytorch interpolate bug in test * add tensor grad assignment * add test * revert upsample changes * fix TypeError: set_grad(): incompatible function arguments. bug * add zero_grad() docstring * formmat comment * fix docstring * fix suggestions * Update oneflow/python/test/tensor/test_tensor.py Co-authored-by:
Yinggang Wang <wyg19970408@gmail.com> * Update oneflow/api/python/framework/tensor.cpp Co-authored-by:
Yinggang Wang <wyg19970408@gmail.com> * enhance grad setter * refine zero_grad() docstring and add slice docstring declaration to rst * adjust optim.rst order * refine comment * refine zero_grad() docstring * fix bug Co-authored-by:
BBuf <1182563586@qq.com> Co-authored-by:
Xiaoyu Zhang <35585791+BBuf@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
Yinggang Wang <wyg19970408@gmail.com>
-
binbinHan authored
* flow.S/B/P * optimize * optimize * fix according comment * add attr in experimental namespace * optimize * oneflow_export_value * refine * refine * refine * customized_symbol module * refine * fix bug * Add new placement init func (#5408) * add_new_placement_init_func * flow.env.all_device_placement * refine * refine * refine * refine * refine * refine * refine * refine * refine Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 06, 2021
-
-
Hongsheng Wang authored
* chunk forward * chunk forward * forward nn.chunk * chunk forward * chunk forward * complete module flow.chunk * auto format by CI * flow.chunk/tensor.chunk * resolve confict * auto format by CI * functional api * auto format by CI * doctest.testmod(raise_on_error=True) Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
liufengwei0103 authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shijie authored
* add image_batch_align module * add testcase Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
* add instruction * refine * address review * fix Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
ZhongHW authored
* fix-abs * 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>
-
Shijie authored
* add coco reader module * 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
* refine and add test case * support ellipsis type slice * refine * refine * support slice assign ellipsis type * refine * register fn to localtensor * support bn track_running_stats=False * remove useless import 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 * register uint8 dtype of constantop * 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>
-
Shenghang Tsai authored
* hwloc disable shared * fix * add conda env to simple ci * refine * refine * fix * refine * refine * fix Co-authored-by:
liujuncheng <liujuncheng1022@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
ZZK authored
* init * first restruct version * remove useless code * add xpu_kernel class for elementwise ops * xpu_kernel class for elementwise finished * remove useless code * Add Binary template and elu backward * rename macro * fix params order * Add Ternary elemwise class * add simple ternary op to test. will be deleted after restructed * remove useless code * restruct elu * remove useless code * refine * restruct hardswish * restruct activation * remove useless code * rename activation op * remove elu useless code * remove hardswish useless code * fix file dir * restruct hardsigmoid * remove useless hardtanh code * fix double to float * restruct hardtanh * fix elu params * add space * refine * refine format * test variable args macro * refine header and macro * rename code file * remove code * rename launcher * rename macro * change header file name * restruct macro Co-authored-by:
doombeaker <later@usopp.net> 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 * delete useless code * delete useless code Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
* refine * Update test.yml * Update test.yml * Update test.yml * refine Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 05, 2021
-
-
Li Xinqi authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Juncheng authored
* hwloc disable shared * fix Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Houjiang Chen authored
Co-authored-by:
Bowen Chen <bob2420083992@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Bowen Chen authored
* add random generator * reformat * refactor: allow auto generator * refactor: remove kAUTO, update python api and test * refactor: use member initializer lists, fix build issue when cpu only * handle exeception given invalid device * add dropout functor; add OpExprInterpContext; refactor random_mask_like based on random_generator * refactor random generator * disable generator's copyandmove constructor * reformat * fix bad merge * refine * fix cpu only build * auto format by CI * refactor * use global generator when no generator specified in functional api * refine Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
Houjiang Chen <chenhoujiangcug@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
liufengwei0103 authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
daquexian authored
* add changes for multi dev demo Signed-off-by:
daquexian <daquexian566@gmail.com> * add part of backward hook Signed-off-by:
daquexian <daquexian566@gmail.com> * update Signed-off-by:
daquexian <daquexian566@gmail.com> * add naive init_with_env Signed-off-by:
daquexian <daquexian566@gmail.com> * update Signed-off-by:
daquexian <daquexian566@gmail.com> * update Signed-off-by:
daquexian <daquexian566@gmail.com> * support_multi_client * update Signed-off-by:
daquexian <daquexian566@gmail.com> * Remove unused code * Fix multi client launch * fix __main__ bug * update abcd op Signed-off-by:
daquexian <daquexian566@gmail.com> * fix multi client sync, make nccl instr ordered Signed-off-by:
daquexian <daquexian566@gmail.com> * temp changes Signed-off-by:
daquexian <daquexian566@gmail.com> * Use functional api instead of op_expr_helper::XXXOp. * align with latest master, remove unused code Signed-off-by:
daquexian <daquexian566@gmail.com> * local rank returns 0 when no env var, save is_multi_client in EnvDesc Signed-off-by:
daquexian <daquexian566@gmail.com> * move is_multi_client to ProcessCtx, rename cuda_d2d device to nccl, remove unused code Signed-off-by:
daquexian <daquexian566@gmail.com> * abcd -> return_first_input op Signed-off-by:
daquexian <daquexian566@gmail.com> * remove launch.py for now Signed-off-by:
daquexian <daquexian566@gmail.com> * refine Signed-off-by:
daquexian <daquexian566@gmail.com> * update IsMultiClient in env_util.py Signed-off-by:
daquexian <daquexian566@gmail.com> * rm multi_dev_demo.py Signed-off-by:
daquexian <daquexian566@gmail.com> * remove exported functions in env_util.py Signed-off-by:
daquexian <daquexian566@gmail.com> * remove unused op expr helper func Signed-off-by:
daquexian <daquexian566@gmail.com> * fix bug Signed-off-by:
daquexian <daquexian566@gmail.com> * remove ddp code Signed-off-by:
daquexian <daquexian566@gmail.com> * refine env.init. only call env.init in init.py when multi client Signed-off-by:
daquexian <daquexian566@gmail.com> * revert unrelated changes Signed-off-by:
daquexian <daquexian566@gmail.com> * add missing parameter Signed-off-by:
daquexian <daquexian566@gmail.com> * fix python api bug Signed-off-by:
daquexian <daquexian566@gmail.com> * address comments Signed-off-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
clackhan <han_binbin@163.com> Co-authored-by:
hjchen2 <chenhoujiangcug@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
daquexian authored
* upload clang plugin log Signed-off-by:
daquexian <daquexian566@gmail.com> * set build type to RelWithDebInfo Signed-off-by:
daquexian <daquexian566@gmail.com>
-
S1NH authored
* add flow.view * clean code * clean code * clean code * clean code * clean code Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 04, 2021
-
-
Houjiang Chen authored
-
Bowen Chen authored
* add random generator * reformat * refactor: allow auto generator * refactor: remove kAUTO, update python api and test * refactor: use member initializer lists, fix build issue when cpu only * handle exeception given invalid device * Refine code style (#5375) * fix unordered map: enum class not hashable * roll back to unordered map Co-authored-by:
Houjiang Chen <chenhoujiangcug@gmail.com>
-
- Jul 03, 2021
-
-
Xiaoyu Zhang authored
* add masked_select module impl * add masked_select module test * add masked_select module test * add masked_select module test * fix bug * fix comment * fix comment * fix comment * init gather_nd backward * fix backward functor bug Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
-
daquexian authored
Signed-off-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
* Use gh-action-scheduler-v2 * refine * refine Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-