Skip to content

[DO NOT MERGE] detect model test for dynamic shape#18331

Closed
luotao1 wants to merge 41 commits intoPaddlePaddle:developfrom
luotao1:detect_model
Closed

[DO NOT MERGE] detect model test for dynamic shape#18331
luotao1 wants to merge 41 commits intoPaddlePaddle:developfrom
luotao1:detect_model

Conversation

@luotao1
Copy link
Contributor

@luotao1 luotao1 commented Jun 25, 2019

only for test

std::string shape_line;
std::ifstream infer_file(FLAGS_infer_shape);

int iteration = FLAGS_test_all_data ? 1000 : 1;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could change the sample numbers yourself.

@luotao1
Copy link
Contributor Author

luotao1 commented Jun 27, 2019

@LeoZhao-Intel

elapsed_time += run_timer.toc();
});
threads[0].join();
threads.clear();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this place, the clear method should be same with input_slots_all.

* add dependecy of collective_helper

* test=develop
fix dependecy of collective_helper
junjun315 and others added 19 commits June 27, 2019 19:07
Fix dygraph show style for FluidDoc.
*  add cuda_is_available
test=develop

* Fix api.spec
test=develop

* fix api doc
test=develop
* test=develop, add some comments for Program.clone

* test=develop, add API.spec

* test=develop, refine comments

* refine Program doc and clone doc

* test=develop, refine doc
* add_elementwise_add_inplace_test,test=develop

* rename file, test=develop
1. some key generation method is not aligned with PR#17965
2. enlarge ptr lifetime to avoid memory release if SetBlob fails
   otherwise it will get core dump.

test=develop
#18390)

* add MultiSlotStringDataGenerator for speedup of string based user input data
* test=develop

* test=develop
* fix py-cpuinfo mac random fail
* differentiate version on windows
change url of pslib.tar.gz
fix data feed ptr runtime error, pipeline trainer will core in some cases, so set it nullptr as default value.
* update api format
test=develop

* update API.spec
test=develop
* Fix bug in quantize kernel which cause crash in vgg16/19 model

test=develop

* refine the code to reduce verbose code; test=develop

* remove useless code; test=develop
Sand3r- and others added 15 commits July 1, 2019 17:12
* Int8: Fix Pooling output scale

test=develop

* Update scales quantization for certain operators

These include: concat, transpose, pool and reshape. test=develop

* Move concat minimum scale finding to quantizer

test=develop
* fix mac ci random fail
* use platform instead
update README.md with latest release & install version
update README_cn.md with latest version
…18371)

* modify roi_perspective_transform_op to output mask and transform matrix

* modify comment

* modify comment

* modify API.spec

* update API.spec

* remove no use header, test=develop

* resolve conflict
* add not_been_used_vars to no_grad_set
test=develop
make fleet support mpi job submit directly.
* fix the api.spec file does not get the class comment problem

* cat new.spec

* check api.spec

* test=develop
1. Since allreduce op has 4 reduce types, We split these four reduce types into four ops
2. We also refined the collective op code, e.g. we separated the collective op kernel into CPUKernel and CUDAKernel, and remove the device specified DeviceContext parameter in template as we already knew the target DeviceContext
3. We remove the newly added Collective op role to reduce the complexity of program and graph analysis
…d() (#18453)

* rename mkldnn set/get_cur_thread_id() to set/get_cur_mkldnn_session_id()

test=develop

* update session id definition and adjust logic for default behavior

test=develop

* reset logic in mkldnn reuse as most of cases work in default.

test=develop
@CLAassistant
Copy link

CLAassistant commented Jul 3, 2019

CLA assistant check
All committers have signed the CLA.

@luotao1 luotao1 closed this Jul 3, 2019
@luotao1 luotao1 deleted the detect_model branch July 3, 2019 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.