- 17 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988) * autofix * try resolve precision issues * revert some changes * clean some `err_msg` * 0.0001 -> 1e-4 * update commented assert code * try to fix some shape errors * `numpy` -> `np` * empty commit, trigger kunlun ci, test=kunlun * empty commit, retrigger kunlun ci, test=kunlun * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun * try fix npu import error, test=kunlun
-
- 05 6月, 2022 1 次提交
-
-
由 Sing_chan 提交于
* use yapf to format all python file * yapf exclude two unittests file for they rely on writing and reading file, and format will break them * disable diff_py_file because too many diff files cause command following failed
-
- 16 8月, 2021 1 次提交
-
-
由 zhangchunle 提交于
-
- 31 3月, 2021 1 次提交
-
-
由 taixiurong 提交于
-
- 27 9月, 2020 1 次提交
-
-
由 QingshuChen 提交于
* support elementwise add, activation, matmul on Baidu Kunlun * test=kunlun * minor * test=kunlun * reconstuct the xpu directory * test=kunlun * minor * test=kunlun * minor * test=kunlun * minor * test=kunlun * minor * test=kunlun * minor * test=kunlun
-
- 03 8月, 2020 1 次提交
-
-
由 WuHaobo 提交于
* test=develop,test=document_fix, remove the out args * Revert "test=develop,test=document_fix, remove the out args" This reverts commit f430799b. * test=develop,test=document_fix, remove the out args * remove all the out args * remove all the out args * test=develop, remove all the out args * test=develop, remove all the out args * test=develop, remove out args in matmul testcase * test=develop, fix the bugs of out args testcase in logsumexp * test=develop, fix the bugs of out args testcase in elementwise_add * test=develop, fix the bugs of out args testcase in elementwise_div * test=develop, fix the bugs of out args testcase in activation * test=develop, fix the bugs of out args testcase in addcmul * test=develop, fix the bugs of out args * test=develop, fix the bugs of out args in API example * test=develop, fix the bugs of out args in kron testcase * test=develop, fix the bugs of out args in kron testcase * test=develop, remove out args * test=develop, remove out args * test=develop, fix the coverage * test=develop, polish codestyle * test=develop, Update math.py * test=develop, polish codestyle * test=develop, polish codestyle * test=develop, polish codestyle * test=develop, polish codestyle * test=develop, polish the test_activation_op.py * test=develop, Update math.py * test=develop, fix the failed CI * test=develop, add core.ops * test=develop, add core.ops change clamp to clip * test=develop, add core.ops change clamp to clip * test=develop, write testcase for clamp OP
-
- 21 4月, 2020 1 次提交
-
-
由 wawltor 提交于
Fix the dygraph mode in matmul, add the support in Linear Op
-
- 11 4月, 2020 1 次提交
-
-
由 wawltor 提交于
reduce the pricision of test case for matmul
-
- 09 4月, 2020 1 次提交
-
-
由 wawltor 提交于
Fix the bug of matmul test_case
-
- 05 4月, 2020 1 次提交
-
-
由 wawltor 提交于
* Add the matmul, elementwise_euqal, elementwise_sum ops to API2.0 * Fix the import meesage in common_ops_import * Update the test cast for mm
-
- 17 12月, 2019 1 次提交
-
-
由 GaoWei8 提交于
* Remove self-set accuracy parameters of op tests test=develop * add cast test=develop * Remove self-set accuracy parameters of op tests:atol test=develop * lrn_ngraph_op test=develop * Keep smaller parameters test=develop
-
- 09 12月, 2019 1 次提交
-
-
由 Zhang Ting 提交于
* fix python API tests that do not need to inherit OpTest, test=develop * fix fp16 cases that will only be enabled in GPU mode, test=develop * remove TestSoftmaxFP16Op from test cases of softmax_mkldnn_op, test=develop * fix tests so that the cases are only created in GPU mode, test=develop
-
- 23 10月, 2019 1 次提交
-
-
由 石晓伟 提交于
* update the infer shape of matmul, test=release/1.6 * add unittests of matmul, test=release/1.6 * change func names, test=develop
-
- 15 10月, 2019 1 次提交
-
-
由 石晓伟 提交于
* add data type check, test=develop * polish error messages, test=develop * polish error messages, test=develop * Remove support for the CPU architecture matmul, test=develop * fix syntax bug, test=develop
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 2 次提交
- 07 5月, 2018 1 次提交
-
-
由 Yu Yang 提交于
-
- 24 2月, 2018 1 次提交
-
-
由 Luo Tao 提交于
-
- 13 2月, 2018 1 次提交
-
-
由 Xin Pan 提交于
Currently, our tests run with 2 GPUs, the init time is absurdly long: about 4s for each process. Currently, we run each OP test on different processes. This PR: 1. create cmake function py_test_modules which will generate the Makefile that runs a list of Python unittest module in a single Python process. 2. move all "python unittest compatible" (e.g., used the unittest package, not just a regular python file). from fluid/tests to fluid/tests/unittests. 3. cmake now will run all OP tests in fluid/tests/unittests in a single process, except the time-consuming tests, they are separated into different processes to utilize parallelism. Please make sure to use the unittest package if you put the python test file in fluid/tests/unittests 4. remove all exit(0) from fluid/tests/unittests/*.py, exit(0) is used to disable unittest, we can not do it when running all tests in a single process since it will terminate the process without running the other tests. Instead, the test is disabled in fluid/tests/unittests/CMakeLists.txt. FIXME is added for each disabled item. Please disable the unittest from fluid/tests/unittests/CMakeLists.txt, instead of adding exit(0) to the Python file, for all Python file in fluid/tests/unittests/. 5. add an option WITH_FAST_BUNDLE_TEST. When OFF, will run the unit tests in separate process so that they can be tested individually.
-
- 12 2月, 2018 1 次提交
-
-
由 qingqing01 提交于
-
- 21 1月, 2018 2 次提交
-
-
由 dzhwinter 提交于
* "fix decode bug" * "follow commnet" * "fix error" * "fix hook bug" * fix based comment * fix copyright * fix based on comment
-
由 chengduoZH 提交于
-
- 19 1月, 2018 1 次提交
-
-
由 chengduoZH 提交于
-
- 18 1月, 2018 1 次提交
-
-
由 chengduoZH 提交于
-
- 17 1月, 2018 1 次提交
-
-
由 guosheng 提交于
-
- 15 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* add copyright hook * add copyright hook * refine copyright hook * "test copyright hook" * fix check style * fix ci
-
- 14 11月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* init commit * change some dir name
-
- 18 10月, 2017 1 次提交
-
-
由 Markus Kliegl 提交于
* initial matmul operator Similar to np.matmul, but also has transpose_X and transpose_Y flags, and only supports tensors from rank 1 to 3 inclusive. For GPU, uses cublas?gemmStridedBatched. For CPU, uses cblas_?gemm_batch if available via MKL; otherwise a simple serial implementation that loops over the batch dimension is employed for now.
-