Skip to content

update anakin subgraph#16278

Merged
NHZlX merged 1 commit intoPaddlePaddle:feature/anakin-enginefrom
Shixiaowei02:feature/anakin-engine
Mar 19, 2019
Merged

update anakin subgraph#16278
NHZlX merged 1 commit intoPaddlePaddle:feature/anakin-enginefrom
Shixiaowei02:feature/anakin-engine

Conversation

@Shixiaowei02
Copy link
Contributor

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

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

trt int8 的tensor值的scale表(calibration table data)必须要序列化到磁盘的。不管是否是use_static_engine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

如果不加这个条件,会触发第 222 行的 Getstd::string("model_opt_cache_dir") 失败,因为没有 "model_opt_cache_dir" 这个配置,然后 core

Copy link
Contributor

Choose a reason for hiding this comment

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

这个pass用到了么?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

在 OCR 模型中用到了。这个模型只有一部分用到了 Anakin 子图,未划分到子图中的区域需要这个融合。

Copy link
Contributor

@NHZlX NHZlX left a comment

Choose a reason for hiding this comment

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

LGTM

@Shixiaowei02 Shixiaowei02 force-pushed the feature/anakin-engine branch from 972b87b to 7780608 Compare March 19, 2019 13:08
@NHZlX NHZlX merged commit b6aa4e9 into PaddlePaddle:feature/anakin-engine Mar 19, 2019
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.

2 participants