- 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>
-
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>
-
- 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>
-
Shenghang Tsai authored
-
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 format by CI * fix code * dirtyfix * fixname * fix * fix bug * fix comments Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
Xiaoyu Zhang <35585791+BBuf@users.noreply.github.com> Co-authored-by:
BBuf <1182563586@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
tsai <jackalcooper@gmail.com>
-
- 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>
-
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
-
-
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>
-
- Jul 19, 2021
-
-
cheng cheng authored
* LazyInterpreter for FetchOutputOpExpr and set op parallel_distribution * Add note * refine test scripts Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
daquexian authored
* Multi-Client LogicalRun degenerate to PhysicalRun * Add Logical->Physical in Multi-Client for IdGenerator and InstructionsBuilder * multi client test Signed-off-by:
daquexian <daquexian566@gmail.com> * auto format by CI * fix wrong std::shared_ptr Signed-off-by:
daquexian <daquexian566@gmail.com> * run module api test by test_multi_client/generic_test.sh Signed-off-by:
daquexian <daquexian566@gmail.com> * fix test script Signed-off-by:
daquexian <daquexian566@gmail.com> * use oneflow.distributed.launch -m unittest discover instead of bash for loop to speed up the test Signed-off-by:
daquexian <daquexian566@gmail.com> * update ci/test_multi_client/generic_test.sh Signed-off-by:
daquexian <daquexian566@gmail.com> Co-authored-by:
chengtbf <472491134@qq.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 17, 2021
-
-
binbinHan authored
* mkdir compatible/single_client * mv to compatible/singe_client/python * mv to ./python/compatible/ * use oneflow.compatible.single_client * back up * backup * refactor oneflow.xxx to oneflow.compatible.single_client.xxx * mv to single_client * refactor import oneflow to oneflow.compatible.single_client * backup * refine * refine * make single_clint ci test copy from correct path * refine * refine * delete ioconf and split single-clint ci test * auto format by CI * delete default session * fix method of erase sess id * delete string multi client in test.yml * fix spell error * delete space * refine * mv single client python file to compatible_single_client_python * refine * fix ci error * fix bug * fix bug * refine * refine * delete skip if in test/(modules/tensor)/* because of default eager env * fix bug * synchronization oneflow/compatible_single_client and oneflow/python * fix distributed_run bug * fix test_multi_process dead lock * fix test_multi_process dead lock * synchronization modify between oneflow/python and oneflow/compatible_single_client * refine * minor fix * fix bug * fix doctest.sh * rm files * remove files and add checks * delete moduels * Revert "delete moduels" This reverts commit f95ab369f556b71fd0663b67c6dd51c9b6d5ee81. Co-authored-by:
Xinqi Li <lixinqi0703106@163.com> Co-authored-by:
liufengwei <2472937968@qq.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:
tsai <jackalcooper@gmail.com>
-
Luyang authored
* fix param * fix maxpool1d params error * refine Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Shijie authored
* add scale and new_size * add and refine test_case * fix testcase Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
cheng cheng authored
* core: GlobalMultiClientEnv; refine EagerExecution * move IsMultiClient to EnvDesc Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 16, 2021
-
-
Shenghang Tsai authored
* prevent adding subdir in python/test * refine * add ci * refactor * refine * refine * add more timeout-minutes: 45 Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
Yao Chi authored
* startup: add sum testcase * mean, max, min, sum * refine test mul * refine test mul case * refine div, mul, sub test case * refine masked_fill test case 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>
-
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 upsample bilinear bug * recover code * align with pytorch * redesign upsample bilinear * fix align corner bug * align bilinear with pytorch * fix conflict * fix bug * code reuse * fix commets * add upsample_linear_1d_user_op * add upsample_linear_1d_user_op * add linear1d interp cpu kernel * add linear1d interp gpu kernel * rename kernel name * add upsample nearest_1d kernel * add upsample nearest_1d cuda kernel * add upsample nearest_1d op * fix complie bug * add bicubic interp cpu kernel forward * add bicubic2d interp cpu kernel backward impl * add bicubic2d gpu kernel impl * fix bicubic kernel compile error * add bicubic2d kernel register * fix compile bug * nearest3d interp cpu kernel * add nearest3d gpu kernel * add nearest3d kernel registry * add nearest3d cpu kernel * add nearest3d cpu kernel * add nearest3d cpu kernel * fix upsample nearest interp bug * fix upsample nearest interp bug * add trilinear3d cpu kernel forward * add trilinear3d cpu kernel backward * add trilinear gpu kernel impl * add trilinear op registry * init interpolate nn function * add upsample functors * add interolate module * add interpolate test_case * restruct upsample_nearest2d and upsample_bilinear2d * add upsample nearest2d and bilinear2d op registry * add upsample nearest2d and bilinear2d op registry * add upsample kernel grad functor * add upsample_nearest_2d backward * add upsample_linear_1d backward * add upsample_nearest_1d backward * add upsample_bicubic_2d backward * fix backward impl bug * fix nearest1d backward bug * try to fix backward segmentfault * add data_format parammeter * fix upsample kernel backward bug * fix cuda kernel impl bug * fix upsample nearest bug * fix align_corner attr error * align linear1d impl with pytorch * fix trilinear register bug * fix trilinear bug * add trilinear aligncorners test * add test for bicubic, still has bug * reimpl bicubic2d kernel * align cubic interpolate with pytorch * add bicubic cuda kernel * fix bug * align api with pytorch * add doctest for interpolate * update interpolate docs * fix comments * fix check_of_return comment * fix comment * fix comments * fix commnet * fix comment * fix comments * fix comments * fix comments * fix comments * fix comment Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
Luyang <flowingsun007@163.com>
-
cheng cheng authored
Co-authored-by:
Xiaoyu Xu <xiaoyulink@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- Jul 15, 2021
-
-
Xiaoyu Xu authored
* trigger ci test on graph * add module scope * Block.paramter or buffer return different value based on context * add test on scope name prefix * refine scope build * refine scope build * lambda get parameter to create right scope * check para get * fix vm:PhysicalRun * lazy Tensor only create once Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
ZZK authored
* add gelu test * add test for activation module * add acos test * add acosh test * add tensor sigmoid test * remove wrong acos * add arccosh test * remove acosh arccosh atan2 unittest * remove arccosh acosh atan2 unittest to test_math_ops.py 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>
-
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
* 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>
-
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>
-
- 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>
-