- 29 3月, 2023 1 次提交
-
-
由 张春乔 提交于
* add up34 * modify var name in loop * revert changes in test_slice * Revert "modify var name in loop" This reverts commit 6d748e371afb417054ed0c6b36fd11e87959a90d. * temporarily ignore test_slice.py * add comment * empty commit, re-trigger all ci * fix inc --------- Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
- 25 3月, 2023 1 次提交
-
-
由 张春乔 提交于
-
- 21 3月, 2023 2 次提交
-
-
由 GGBond8488 提交于
* remove fluid.data * fix typro * fix somme unitest error * fix conflicts * fix sample code error * fxi sample coder error * fxi sample code error * fxi sample code error * fix xpu test error * fix xpu test error * Delete ps_pb2.py * fix test error * fix typro * fix sample code error * fix comments * fix test norm op data * fix sample code error * fix conflicts
-
由 Charles-hit 提交于
* add public_python_api in prim test * fix test_squeeze2_op
-
- 20 3月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* migrate fill_constant to paddle.tensor * move fill_constant to paddle.tensor and repalce the reference * add missing fill_constant replacement * fix typro * remove unused import fill_constant * fix zeros import error * fix circle import * fix layers.zeros * fix unitest * fix unitests * fix unitest * use paddle.full replace fill_constant in samplecode * fix sample code * recovery xpu test * recovery xpu test * fix circle import * fix utils import error * fix utils error * fix circle import * redo * fix circle import * fix prim fill constant import * fix type error * fix increase error * fix test error * fix fill_constant
-
- 14 3月, 2023 1 次提交
-
-
由 ccrrong 提交于
* add split_with_num composite rule * add split_with_num composite rule * add split composite rule * update * update test * update test * delete split_with_num_grad
-
- 06 2月, 2023 1 次提交
-
-
由 张春乔 提交于
-
- 31 1月, 2023 1 次提交
-
-
由 姜永久 提交于
* update elementwise ops tests * add more ops * modify sum&split * lint * rm check_dygraph * revert pow * modify add for cpu test * revert reshape * modify min
-
- 20 1月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* replace paddle.fluid.layers.data and remove io.data * partial commit * partial commit * partial commit * partial commit * partial commit * partial commit * remove data in fluid.layers.io.__all__ * fix errors * fix unitests * fix unitest * fix unitests * fix unitest * fix unitest * fix unitests * fix unitest * fix test_layers unitests * fix typro * fix unitest * fix unitest * fix unitest * fix typro * fix unitest test_model_cast_to_bf16 * fix test_reducescatter * fix collective unitest * fix collective unitests * fix collective unitests * add coverage * fix add layers.data * re run ci * fix some typro * fix samplecode error * fix samplecode error
-
- 15 12月, 2022 2 次提交
- 29 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 11 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 09 9月, 2022 1 次提交
-
-
由 Charles-hit 提交于
* fix split bug in static mode * modify code style * modify code style * add unit test for split
-
- 31 8月, 2022 1 次提交
-
-
由 Charles-hit 提交于
* fix split bug * solve function redefine * fix fluid.layers.split and add unit test * delete splitInferMeta register in unary.cc * modify test_split_op GPU unit test * modify test_split_op GPU unit test place param * refactor split op and fix infershape bugs * add () in && and || * fix split C++ unit test * fix split infershape
-
- 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
-
- 10 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle] use np.testing.assert_array_equal instead of self.assertTrue(np.array_equal(...)) (#44947) * automatically fix * update comments * numpy -> np * self.assertEqual(..., True) * wrong usage (err_msg=True) 这不是修复导致的错误,这些是原来 `self.assertTrue(..., True)` 的错误用法,因此在修复后将其认为位置参数 `err_msg` * some missing fix
-
- 08 8月, 2022 2 次提交
-
-
由 hong 提交于
* move reduce_all_flag from python to c++ * fix infer shape bug * fix bug; * fix sum infer meta bug * fix reduce sum grad gpu bug * fix amin amax bug;
-
由 Weilong Wu 提交于
-
- 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
-
- 13 4月, 2022 2 次提交
-
-
由 hong 提交于
-
由 chentianyu03 提交于
* fix split error when sections has 0 size and add test case * fix test case
-
- 08 2月, 2022 1 次提交
-
-
由 zhangbo9674 提交于
* add concat & split * add concat kernel * add concat unittest * add split unittest
-
- 30 7月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 23 4月, 2020 1 次提交
-
-
由 Qinghe JING 提交于
* add gather split squeeze stack unsqueeze api test=develop * add gather split squeeze stack unsqueeze api test=develop * fix bug test=develop * fix bug test=develop * fix bug test=develop * fix bug test=develop * fix bug test=develop
-
- 20 12月, 2019 1 次提交
-
-
由 juncaipeng 提交于
-
- 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
-
- 02 12月, 2019 1 次提交
-
-
由 Zhang Ting 提交于
There are PythonAPI tests in Op's unittest which don't need to inherit OpTest class.
-
- 31 10月, 2019 1 次提交
-
-
由 liym27 提交于
-
- 29 10月, 2019 1 次提交
-
-
由 liym27 提交于
support Tensor for split and concat, support -1 in num_or_sections, add check num_or_sections (#20780) * improve split and concat op: 1. support Tensor for argument 'dim' in split op. 2. support Tensor for argument 'axis' in concat op. test=develop * redefine function GetDataFromTensor and set unknown output shape to - 1. test=develop * add check: Attr(sections) match Input(X). test=develop * support Tensor for attr(sections) and attr(sections) can contain -1. add check for attr(sections). test=develop * modify error message for concat and call Resize only when necessary. test=develop
-
- 27 9月, 2019 1 次提交
-
-
由 chengduo 提交于
* make pad and split support fp16 test=develop
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 2 次提交
- 17 4月, 2018 2 次提交
-
-
由 typhoonzero 提交于
-
由 typhoonzero 提交于
-
- 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.
-