- 01 11月, 2021 1 次提交
-
-
由 Zhanghuihong Guan 提交于
* initial commit, add code for async construct tensor from numpy array * inital commit to change Maybe to Optional * delete redundant code * replace Maybe with Optional * fix compile errors * format code * changes based on review * format code, fix based on review * format code * fix multiclient type * changes based on review * changes based on review * unify calling to IsMultiClirnt * refector multi_client related code * restore InMultiClient interface * double check for unnecessary changes * remove unnecessary changes * format code * Update oneflow/api/python/symbol/job_conf_symbol.cpp * Update oneflow/api/python/symbol/op_conf_symbol.cpp * Update oneflow/api/python/symbol/op_node_signature_symbol.cpp * Update oneflow/core/common/optional.h * Update oneflow/api/python/symbol/string_symbol.cpp * Update oneflow/api/python/symbol/scope_symbol.cpp * Update oneflow/api/python/symbol/placement_symbol.cpp * Update oneflow/api/python/symbol/op_conf_symbol.cpp Co-authored-by: NHoujiang Chen <chenhoujiangcug@gmail.com> Co-authored-by: NTwice <i@twice.moe>
-
- 29 10月, 2021 2 次提交
-
-
由 Luyang 提交于
* restruct matmul * restruct narrow * restruct unsqueeze * restruct permute * refine * refine * restruct one_hot * format * refine * restruct concat * refine
-
由 Houjiang Chen 提交于
* Returns py::tuple instead of tensor tuple, and refine split functional api. * fix and refine code * fix compile * modified split_sizes Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by: luqiang-guo <702572275@qq.com>
-
- 27 10月, 2021 2 次提交
-
-
由 daquexian 提交于
Signed-off-by: Ndaquexian <daquexian566@gmail.com> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 Zhanghuihong Guan 提交于
* initial commit for adding logical_not operator * adding logical_not op, debugging Dtype related problems * finished testing locally, need to add tests * added tests * added docs and formatted code * format file * format file * remove python wrapper * modification based on review * remove redundant code, format file * modifications based on reviews * modifications based on review * fix duplicate license info * fix docstring * fix docstring warning Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 25 10月, 2021 1 次提交
-
-
由 Liang Depeng 提交于
* add roll op * imporve speed * improve speed when len(dims) == 1 * move some logic to C++ * fix static analysis error * refine doc * add roll doc * refine codes according to review comments * remove runcudakernel macro Co-authored-by: NZZK <42901638+MARD1NO@users.noreply.github.com>
-
- 23 10月, 2021 2 次提交
-
-
由 Peihong Liu 提交于
* refine sequence_function.h * refine nn_functor with sequence_function * refine activation_functor with sequence_function * refine generator * refine * add thne_if * refine array_functor with sequence_function * refine * refine reduce grad funcs with sequence_function * remove GET_GENERATOR Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 tangnana925 提交于
* add test file at first * add tripletMarginLoss py code * module ok * add forward test * amend test code * delete import torch * add autotest ok * delete numpy test code * amend docstring * amend loss.py, delete None * API transfer to C++ * motify module * delete cout * delete cout * Submit some modified code first * submit vector_norm functor * matrix norm * Refine max/min functor (#6359) merge to dev_tripletMarginLoss * replace reducemax and reducemin * amend code error * motify code * delete norm2 * delete print * delete norm2 * delete print * motify review code * add assert to c++ * motify review code * add else * motify review problem * add code * add test code * motify code delete dim_check * delete norm.py code * delete print * delete print * delete pu norm * delete error code * motify docsting * auto format by CI * delete no use num_dims * delete import torch lib * delete CI bug code * motify clip_grad_norm_ resolve autotest bug * auto format by CI * motify loss docstring * motify norm docstring Co-authored-by: NZhenhua <1209435+hengzi@users.noreply.github.com> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by: Noneflow-ci-bot <ci-bot@oneflow.org>
-
- 22 10月, 2021 2 次提交
-
-
由 Zhanghuihong Guan 提交于
* initalizes cuda context in kernel of copy * debugging * add call once * remove redundant code * changes based on review * delete redundant code * fix clang compile error Co-authored-by: NHoujiang Chen <chenhoujiangcug@gmail.com> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 Shijie 提交于
* dev masked fill * refine * make static_check happy Co-authored-by: NHoujiang Chen <chenhoujiangcug@gmail.com> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 21 10月, 2021 2 次提交
-
-
由 Luyang 提交于
* restruct part1 * restruct stack * refine * add meshgrid functor * restruct squeeze * refine * refine * refine * refine * refine * refine * refine * auto format by CI * refine Co-authored-by: Noneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 tingkuanpei 提交于
* Suppport sparse_softmax_cross_entropy_with_logits * add lazy mode test * Modify after review * Add 2d sbp code * Support 2D eager consistent * remove log * remove to_consistent in gradident * remove useless change * remove useless log * auto format by CI * Unittest use pytorch * update follow review * fix static check * fix Co-authored-by: Noneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 20 10月, 2021 2 次提交
-
-
由 ZeKai Zhou 提交于
* fix bug in AddInputOutputOpsPass: check existence of key in HashMap(inferface_lbi2scope_sym_id) * fix bug in add_input_output_ops_pass.cpp: use iterator to avoid search twice * fix bug when tensor access _tensor_buffer_shapes_and_dtypes * remove unnecessary header * format * throw RuntimeError & add test * Update oneflow/api/python/utils/tensor_utils.cpp Co-authored-by: Ndaquexian <daquexian566@gmail.com> * celu op init * register grad * add inplace support * add test & document * clang-format * add doc & inplace test case * celu functional set alpha default value * set celu_grad alpha default value * inv_alpha & alpha * remove type cast * add license * use clang-format-9 git status! dont't use clang-format-6 * set intial value for CeluCaptureState Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by: Ndaquexian <daquexian566@gmail.com>
-
由 Twice 提交于
* optional: refactor value_or to allow auto deref & prevent ref dangling * use value_or * use value_or * fix compiler error: invalid abstract return type Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 19 10月, 2021 1 次提交
-
-
由 Luyang 提交于
* keep double dtyoe avoid precision problem * refine * refine
-
- 18 10月, 2021 2 次提交
-
-
由 Peihong Liu 提交于
* refine (log_)softmax and their tests * clean useless code * refine & clean * add chain caller in functional * refine * refine
-
由 Zhenhua 提交于
* Support 1d targets as input * fix bugs * reference type * suppress strict-overflow error Signed-off-by: Ndaquexian <daquexian566@gmail.com> * fix single client Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by: Ndaquexian <daquexian566@gmail.com>
-
- 17 10月, 2021 1 次提交
-
-
由 Shijie 提交于
* restruct scalar math * restruct scalar math functor * refine * refine * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 14 10月, 2021 3 次提交
-
-
由 Luyang 提交于
* restruct std * refine * restruct var op * update * refine
-
由 Peihong Liu 提交于
* refine (log_)softmax and their tests * clean useless code * refine & clean Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 Li Xinqi 提交于
* remove ObjectMsgReflection * replace OBJECT_MSG_DEFINE_OPTIONAL(scalar type, xxx) to OBJECT_MSG_FIELD(scalar type, xxx_) * replace OBJECT_MSG_DEFINE_OPTIONAL with OBJECT_MSG_FIELD * replace OBJECT_MSG_DEFINE_PTR with OBJECT_MSG_FIELD * rm useless CallbackMsg * replace OBJECT_MSG_DEFINE_STRUCT with OBJECT_MSG_FIELD * replace OBJECT_MSG_DEFINE_FLAT_MSG with OBJECT_MSG_FIELD * rename EmbeddedListLink to ListEntry * rename [a-zA-Z0-9_]*link[a-zA-Z0-9_]* to [a-zA-Z0-9_]*entry[a-zA-Z0-9_]* * replace OBJECT_MSG_DEFINE_LIST_LINK with OBJECT_MSG_FIELD * introduce namespace intrusive * refactor template signature of TrivialObjectMsgList * OBJECT_MSG_FIELD_COUNTER * add object msg utils: OBJECT_MSG_FIELD_NUMBER/OBJECT_MSG_FIELD_TYPE/OBJECT_MSG_FIELD_OFFSET * refator ObjectMsgList to intrusive::List * rename OBJECT_MSG_FIELD to OBJECT_MSG_DEFINE_FIELD * add new macro OBJECT_MSG_FIELD * replace OBJECT_MSG_DEFINE_LIST_HEAD with OBJECT_MSG_DEFINE_FIELD * rename src_instruction_entry_ to in_edge_entry_; rename dst_instruction_entry_ to out_edge_entry_ * rename TrivialObjectMsgList<LinkField, kDisableSelfLoopLink> to intrusive::List * refactor TrivialObjectMsgList<ValueLinkField, kEnableSelfLoopLink> to HeadFreeList<typename ValueLinkField, int field_counter> * rename object_msg/object_msg_list.h to object_msg/list.h * replace OBJECT_MSG_DEFINE_MUTEXED_LIST_HEAD with OBJECT_MSG_DEFINE_FIELD * rename or delete test files in object_msg/ * replace OBJECT_MSG_DEFINE_CONDIDTIONAL_LIST with OBJECT_MSG_DEFINE_FIELD * 1) rename EmbeddedSkipListLink to ListEntryArray; 2) rename EmbeddedSkipListKey to SkipListKey; 3) rename EmbeddedSkipListHead to SkipListHead * replace OBJECT_MSG_DEFINE_SKIPLIST_KEY with OBJECT_MSG_DEFINE_FIELD * replace OBJECT_MSG_DEFINE_MAP_KEY with OBJECT_MSG_DEFINE_FIELD * replace OBJECT_MSG_DEFINE_SKIPLIST_HEAD/OBJECT_MSG_DEFINE_MAP_HEAD to OBJECT_MSG_DEFINE_FIELD * remove OBJECT_MSG_DEFINE_INIT() * rename xxx.msg.h to xxx.h * remove OBJECT_MSG_DEFINE_DELETE * 1) rename ObjectMsgBase to ObjectMsgRef; 2) rename ObjectMsgStruct to ObjectMsgBase * extract ObjectMsgPtr into object_msg/shared_ptr.h * rename ObjectMsgPtr to instrusive::SharedPtr * rename intrusive::SharedPtr<T>::New to intrusive::MakeShared<T> * rename xxxObjectMsgxxx to xxxInstrusivexxx * rename object_msg/ to intrusive/ * merge mutable_xxx() and mut_xxx() into mut_xxx() * remove OF_PUBLIC/OF_PRIVATE * change signatures of macros xxxLIST_FOR_EACHxxx * 1) merge INTRUSIVE_LIST_FOR_EACH and INTRUSIVE_SKIPLIST_FOR_EACH into INTRUSIVE_FOR_EACH; 2) merge INTRUSIVE_LIST_FOR_EACH_PTR and INTRUSIVE_SKIPLIST_FOR_EACH_PTR into INTRUSIVE_FOR_EACH_PTR; 3) merge INTRUSIVE_LIST_UNSAFE_FOR_EACH_PTR and INTRUSIVE_SKIPLIST_UNSAFE_FOR_EACH_PTR into INTRUSIVE_UNSAFE_FOR_EACH_PTR * rename xxxLinkxxx to xxxEntryxxx * fix typo * add README.md * rename intrusive::SharedPtr to intrusive::shared_ptr; rename intrusive::MakeShared to intrusive::make_shared * refactor intrusive/channel.h * add default constructor for intrusive class * address static analysis * make intrusive class constructor private * extract HeadFreeList into head_free_list.h * NOLINT * more nolint * auto format by CI Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by: Noneflow-ci-bot <ci-bot@oneflow.org>
-
- 13 10月, 2021 1 次提交
-
-
由 Xiaoyu Zhang 提交于
* add ConvTranspose1d op * add convtranspose1d test * add ConvTranspose3d, mov op logic to c++ layer * mod testConvtranspose * mod test_convtranspose * solve deconv1d result abnormal * fix deconv3d hidden bug * try to fix convtranspose2d bug * fix deconv bug * fix comments * try to fix clang10 complie error * fix bug * fix doctest bug * fix doctest bug Co-authored-by: NQiangX-man <445653859@qq.com> Co-authored-by: NQiangX-man <87475073+QiangX-man@users.noreply.github.com> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 12 10月, 2021 2 次提交
-
-
由 Yinggang Wang 提交于
* feat(sin_): add inplace sin op * docs(*): add code comment and update test * docs(sin_): add document * test(sin_): fix inplace sin op test Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 Houjiang Chen 提交于
-
- 11 10月, 2021 2 次提交
-
-
由 Shijie 提交于
* fix typo * fix flipcode * testcase Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 Xiaoyu Zhang 提交于
* transfer relu op * transfer relu op * add oneflow.nn.functional.relu6 * fix logsigmoid api bug * add logsigmoid functional autotest * restruct argmax functor * fix argmax functor bug * update argmax export style * restruct argmin functor * revert test * fix comments
-
- 10 10月, 2021 1 次提交
-
-
由 Peihong Liu 提交于
* fix numerical instability in sparse_softmax_cross_entropy_with_logits * clean comments in sparse_softmax_cross_entropy_kernel * fix backward and abnormal output * support gpu * use high-performance softmax * refine codes * refine * call __syncthreads() * refine * add comments * refine * refactor log_softmax * refactor softmax * refactor sparse_cross_entropy * reformat * crlf to lf * remove const& * revision softmax.cuh * refine include & reformat * refine * refine * fix ms kernel * reformat * refine * safelog to log * fix a bug * support weight * clean code * fix a bug Co-authored-by: Nzhu wang <33675639+olojuwin@users.noreply.github.com> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 09 10月, 2021 3 次提交
-
-
由 Peihong Liu 提交于
* add nll kernel * refine nll_loss * add binary_cross_entropy & refine nll_loss * add bce_loss_with_logits * revert sparse_softmax_cross_entropy functor * refine loss.py and checks * fix test_loss.py * refine * fix a bug * add register_user_op_grad * refine autotest * refine autograd * refine * fix clang tidy error * reimplement l1loss * fix autotest * reimplement mse_loss * refine autotest * fix bce_with_logits_loss and fix doctest * add kl_div_loss * refine loss_kernel_util * add smooth_l1_loss * refine * fix * fix ctc_loss & refine loss_kernel_util * refine loss_kernel_util * refine bce_loss * refine smooth_l1_loss * refine kl_div_loss & nll_loss * refine functor * refine kl_div_loss * refine nll_loss * refine kernels * refine kl_div_loss_grad * fix clang tidy error * refine * refine smooth_l1_loss * fix a bug Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 liufengwei0103 提交于
* rewrite eye op and add test case * delete test file * fix test bug * refine * refine * refine * add assert: sbp equal to b * add assert * auto format by CI * fix conflicts Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by: Noneflow-ci-bot <ci-bot@oneflow.org>
-
由 Xiaoyu Zhang 提交于
* restruct permute op * refine * fix comment * fix comments * refine docs * auto format by CI Co-authored-by: Noneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 08 10月, 2021 2 次提交
-
-
由 qq_22305325 提交于
Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 Shijie 提交于
* initial * align functor * align kernel * others * refine Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 01 10月, 2021 1 次提交
-
-
由 Shijie 提交于
* align_kernel_dtype_part3 * add comment Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 30 9月, 2021 4 次提交
-
-
由 Yinggang Wang 提交于
Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 ZZK 提交于
* add floor div * fix bug and add unittest Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 Yinggang Wang 提交于
* feat(TensorScatterNdUpdate): add TensorScatterNdUpdate * test(TensorScatterUpdate): add test except backward * feat(TensorScatterNdUpdate): add gradient_funcs * docs(TensorScatterNdUpdate): refine document * fix(*): fix clang constructor does not initialize error * feat(Tensor): support tensor mask setitem * fix(SetItem): fix advance indexing judge Co-authored-by: NHoujiang Chen <chenhoujiangcug@gmail.com> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 Luyang 提交于
* refactor transpose * refine
-
- 29 9月, 2021 2 次提交
-
-
由 ZZK 提交于
* fix erf and erfc to lowest dtype as float * support foward kernel dtype as int * fix expm1 to float * add scalar promote logic * align flip kernel * add support for unsigned int * align dtype * fix scalar pow op infer logic * modify lazy pow * fix comment * remove header file * remove header file * add inplace cast check * migrate scalar pow grad to functional Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
由 qq_22305325 提交于
* add ccl::Reduce api * add cpu reduce kernel * add test case * optimize * fix arg use error * minor fix Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-
- 28 9月, 2021 1 次提交
-
-
由 Yinggang Wang 提交于
Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
-