- 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>
-
Yinggang Wang authored
* fix(*): remove inplace broadcast_add * fix(BroadcastLike): fix axes bug
-
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>
-
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>
-
- Jul 19, 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 * restruct upsample module * auto format by CI * change docs * fix bug * 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>
-
binbinHan authored
* del default env init * refine * fix bug Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
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 18, 2021
-
-
leaves-zwx authored
* fix TryClose * fix addressing watch callback
-
- 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>
-
Yinggang Wang authored
* feat(Module): support __repr__ function * feat(Modules): add extra_repr for some modules * fix(ConvModule): fix conv module extra_repr * fix(ActivityModule): raise inplace error to warning * fix(ModuleRepr): fix module print doctest bug Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.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>
-
Houjiang Chen authored
* Refactor expand and tensor setitem functional apis. * Raise IndexInception in tensor getitem. * Bugfix * Bugfix * Fix conflicit with xrt Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
ZhongHW authored
* split vector-matrix norm * fix_vector_norm * fix_docstring * fix_matrix_norm * fix-default * fix-doctest * 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
* 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>
-
Shenghang Tsai authored
* check in changes * refine * refine 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
-
-
guo ran authored
Co-authored-by:
Shenghang Tsai <jackalcooper@gmail.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
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>
-
Ziqi Zhou authored
* printf tensor index in cpp * revert printf debug information * add isinstance tuple and int condition * format code * implement and register __iter__ method * Change to catch exception from C++ and throw IndexError * add indexError error message Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
XIE Xuan authored
* auto_zero_padding -> auto_truncating in cpp * auto_truncating for python interface * fix element count * fix * fix bug auto_truncating<->dim1_varying_length * auto_truncating -> truncate * rm not in if * of format 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>
-