- Jul 26, 2021
-
-
Shenghang Tsai 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 * fix bn autograd bug * fix bn autograd bug Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
* refine * change abs.py for test * refine * refine * refine * refine * refine * refine * add * refeom * refine * refine * refien * refine * refine * refine * refien * add check * refine * refine * refine * skip license * refine * refien * refine * refien * refien * refine * refine * refine acos * refien * remove enable_eager_execution() in oneflow/python remove @experimental_api decorator for apis, except that ones having same name with single client api. * remove all import oneflow.experimental in doctest * replace oneflow.experimental with oneflow in docstr * reformat * auto format by CI * refine * refien * refine * refien * refine * refine * refine * refein * refine * remove signle client twice api * refine * refine * refine * refien * refien * refine * refien * refien * refien * refine * r...
-
- Jul 25, 2021
-
-
Yao Chi authored
* refine oneflow/python/ops/array_ops.py modified: ../oneflow/python/nn/modules/masked_select.py modified: ../oneflow/python/ops/array_ops.py * refine * refine * rm reduce_ops.py and summary files * refine layers etc. Co-authored-by:
binbinHan <han_binbin@163.com>
-
Houjiang Chen authored
-
Luyang authored
* refine and add test case * support ellipsis type slice * refine * refine * support slice assign ellipsis type * refine * register fn to localtensor * add constantpad1d kernel * add constantpad1d kernel * implementation of fuctional api/gradients/test case * refine test case * refine * format docstring Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
cheng cheng 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 * Skip SetDefaultVariableConf JobPass in Multi-Client * Fix bug: register_variable_op_names_and_tensors args with TensorTuple * refine test graphs * rm experimental in new scripts Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 24, 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 * add new_autotest_part1 * add new_autotest_part1 * add squeeze test * add permute test * add hardswish test * add prelu * fix bug Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
GehangZhang authored
* change doctest code in abs.py * del >>> flow.enable_eager_execution() in modules/abs.py * del @experimental_api * del @experimental_api * slove doctest not pass * change abs.py for test * refine acos * remove enable_eager_execution() in oneflow/python remove @experimental_api decorator for apis, except that ones having same name with single client api. * remove all import oneflow.experimental in doctest * replace oneflow.experimental with oneflow in docstr * reformat * auto format by CI * remove signle client twice api * refine * remove experimental of nn * okokok * remove experimental in test/modules and test/tensor * remove experimental in test/dataloader * remove experimental call in nn/modules * remove experimental from nn/ framework/ test_utils * remove experimental in functionalpy * remove experimental of new merge * skip fmod grad test * remove experimental of fmod * fix error when do multi case test on graph * remove outdated rst files * refine and add new rst files * format * revert test_fmod.py * remove all experimental in python/nn dir (done!) * remove experimental in test/graph * add linagl * refine rst * refine scatter_nd * refine oneflow.rst * refine load_minst's docstring add image.rst module.rst refine rst files * reformat * remove Graph api * fix file name * fix index Co-authored-by:
YaoChi <later@usopp.net> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
strint <xiaoyulink@gmail.com> Co-authored-by:
tsai <jackalcooper@gmail.com>
-
cheng cheng authored
-
Yao Chi authored
* refine oneflow/python/ops/array_ops.py modified: ../oneflow/python/nn/modules/masked_select.py modified: ../oneflow/python/ops/array_ops.py * refine * refine Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Xiaoyu Xu authored
* fix error when do multi case test on graph * format
-
- Jul 23, 2021
-
-
Yinggang Wang authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Tianyu Zhao authored
* Test 'nn.Linear' and 'nn.Identity' with random data * Test 'nn.PixelShuffle' with random data * Test 'greater' and 'less' with random data * Test 'flow.Tensor.flatten' with random data * Test 'greater' and 'less' with random-sized data * Test 'nn.CrossEntropyLoss' with random data * Replace multiple return entries with the 'oneof' generator * Add 'nothing()' test cases for parameters with default values * Remove the hard-coded test cases of `nn.CrossEntropyLoss` * auto format by CI * Skip the test of 'nn.CrossEntropyLoss' temporarily Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
-
ZhongHW authored
* fix-abs * fmod-init * broadcastfloormod_back * vstorch * modify_test * fix_doctest_flag * add-fmod-kernel * fix-marco4binaryop * split-marco * fix-format * add-autotest * 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>
-
cheng cheng authored
* LazyInterpret build LocalTensor if input is local * refine graph default scope Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shenghang Tsai authored
* refine * allow post result to fail 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 * add new autotest case * add more tests * fix bug * auto format by CI * add rtol and atol * add rtol and atol * add nothing * auto format by CI * fix export bug * fix bug * fix bug * fix bug * fix bug * auto format by CI * fix bug * fix bug * fix ci error * fix bug * 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
* refactor job_pass by maybe_system * refactor AutoSourceAndSinkTick to SingleClientAutoSourceAndSinkTick * remove useless files * add job_pass MultiClientAutoSourceAndSinkTick * address review * fix check * fix OpConf4OpName return Co-authored-by:
leaves-zwx <kunta0932@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 22, 2021
-
-
Xiaoyu Xu authored
* add test on add input to graph * add var into graph * LazyInterpreter for FetchOutputOpExpr and set op parallel_distribution * refine input var build * split file * rename * mini refine * add complete_graph_config * add sgd * fix style * Add note * LazyInterpret::ApplyImpl for UserOpExpr * refine test scripts * add output to graph * format * tensor.backward to lazy_add_loss(tensor) * Fix bug of LazyInterpret UserOpExpr for change output lbns * Add test user op expr test * fix note mistake * add userop and test * rename * add idea on l2 to variable op * add scale in sgd * refactor add loss * revert change on tensor_name_scope * fix typo * check is lazy in tensor.backward * rm useless state_tensortuple in nn.Graph Co-authored-by:
chengtbf <472491134@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
cheng cheng authored
* NNGraph interface and implement for CompileAndRuntime * fix compile * RunLazyNNGraph * New/CloseRuntimeBuffers and RunLazyJob impl * using job_conf.concurrency_width for Source/Sink BufferSize * Add note for buffer size
-
cheng cheng authored
* NNGraph interface and implement for CompileAndRuntime * fix compile * RunLazyNNGraph
-
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
-
Shenghang Tsai authored
* prevent upload logs * refine * refine Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Tianyu Zhao authored
* Generalize 'AdaptiveAvgPool' for 1~3 dims usage * Implement GPU version * Enable pooling with larger 'output_size' which is supported by PyTorch * Add docs for 'AdaptiveAvgPool1d' and 'AdaptiveAvgPool3d' * Add functional API for 'AdaptiveAvgPoolXd' * Add 'flow.adaptive_avg_poolxd' * Add test cases for 'flow.adaptive_avg_poolxd' * auto format by CI * Avoid using 'Shape::Count' in for loop * Change names of compute functions * Change 'AdaptivePoolNdGradOp' to functor * Register integer types for CUDA 'adaptive_avg_poolxd' kernel * Integrate 'adaptive_avg_poolxd' into 'nn.functional.interpolate' * Correct wrong 'AdaptiveAvgPoolXd' entries * Add missing 'not None' assertions for 'output_size' * Support tuple input for 'AdaptiveAvgPool1d' * Mark TODO for auto testing 'AdaptiveAvgPoolXd' * Denote return types for 'BackwardOpConfGenFn' * Combine test classes of 'AdaptiveAvgPoolXd' into one * Rename 'AvgXXXCompute' * auto format by CI * Simplify output shape inference * Delete the wrong 'if' block Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
daquexian authored
* update automated test framework Signed-off-by:
daquexian <daquexian566@gmail.com> * rename func -> generator Signed-off-by:
daquexian <daquexian566@gmail.com> * reformat Signed-off-by:
daquexian <daquexian566@gmail.com> * update more powerful conv test Signed-off-by:
daquexian <daquexian566@gmail.com> * new imperative autotest api Signed-off-by:
daquexian <daquexian566@gmail.com> * update automated test framework Signed-off-by:
daquexian <daquexian566@gmail.com> * add some tests and refine code Signed-off-by:
daquexian <daquexian566@gmail.com> * update test_matmul.py Signed-off-by:
daquexian <daquexian566@gmail.com> * fix test_matmul.py Signed-off-by:
daquexian <daquexian566@gmail.com> * add atol and rtol, fix test_matmul.py Signed-off-by:
daquexian <daquexian566@gmail.com> * auto format by CI * reformat Signed-off-by:
daquexian <daquexian566@gmail.com> * tricky export * tricky export * fix comments * auto format by CI * fix comments * auto f...
-
- Jul 21, 2021
-
-
Xiaoyu Xu authored
* add test on add input to graph * add var into graph * LazyInterpreter for FetchOutputOpExpr and set op parallel_distribution * refine input var build * split file * rename * mini refine * Add note * LazyInterpret::ApplyImpl for UserOpExpr * refine test scripts * add output to graph * format * Fix bug of LazyInterpret UserOpExpr for change output lbns * Add test user op expr test * fix note mistake * add userop and test * address review * address review * save i/o/s op_name and tensor for c_nn_graph * address review * adjust test * refine build_graph_state Co-authored-by:
chengtbf <472491134@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
daquexian authored
* add speed test in ci Signed-off-by:
daquexian <daquexian566@gmail.com> * use actions/checkout@v2 Signed-off-by:
daquexian <daquexian566@gmail.com> * add more input size Signed-off-by:
daquexian <daquexian566@gmail.com> * fix arg order Signed-off-by:
daquexian <daquexian566@gmail.com> * update test.yml to use oneflow-inc/models master Signed-off-by:
daquexian <daquexian566@gmail.com> * only clone models repo in cuda_new_interface Signed-off-by:
daquexian <daquexian566@gmail.com> * update test_speed.sh to check rel speed Signed-off-by:
daquexian <daquexian566@gmail.com> * update yml and test_speed.sh to post speed stats Signed-off-by:
daquexian <daquexian566@gmail.com> * escpae newline for github actions Signed-off-by:
daquexian <daquexian566@gmail.com> * use correct escaping Signed-off-by:
daquexian <daquexian566@gmail.com> * replace '\n' to \n in js Signed-off-by:
daquexian <daquexian566@gmail.com> * collapse speed stats Signed-off-by:
daquexian <daquexian566@gmail.com> * fix comments Signed-off-by:
daquexian <daquexian566@gmail.com> * set fixed commit and refine msg Signed-off-by:
daquexian <daquexian566@gmail.com> * test 30 times instead of 20, relax the threshold Signed-off-by:
daquexian <daquexian566@gmail.com> * update oneflow-models Signed-off-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Yinggang Wang authored
* fix(*): remove inplace broadcast_add * fix(BroadcastLike): fix axes bug
-
Li Xinqi authored
* refactor job_pass by maybe_system * refactor AutoSourceAndSinkTick to SingleClientAutoSourceAndSinkTick * remove useless files Co-authored-by:
leaves-zwx <kunta0932@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>
-
ZZK authored
* align torch maxpool * remove redundant params * add torch style functional * remove cout code * align pooling backward * fix ceil mode * add dataformat back * add annotation * add maxpool1d functor * fix farward to forward * add getwindowedOutputShape function Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
liufengwei0103 authored
* fix return type * 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
* refine * refine Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
cheng cheng authored
* LazyInterpret::ApplyImpl for UserOpExpr * Fix bug of LazyInterpret UserOpExpr for change output lbns * Add test user op expr test * fix note mistake Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 20, 2021
-
-
Juncheng authored
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Yinggang Wang authored
* feat(Stride): add Stride class * feat(Tensor): support stride and storage_offset interface * feat(Tensor): add is_contiguous interface * remove test declaration * feat(TensorMeta): add hash and compare for stride * refine code * refine IsContiguous function 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 * init flip op * add flip op register * add flip cpu kernel forward * add flip kernel impl * add flip op functor and gradient_funcs * add test, still need fix bug * fix segmentfault bug * add docs * fix comments * fix comments * fix comments Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Luyang authored
* implementation of constantpad-3d op * format * refine * rename files * refine * refine test case Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-