dmlc / gluon-nlp

NLP made easy
https://nlp.gluon.ai/
Apache License 2.0
2.56k stars 538 forks source link

Fix Benchmark #1471

Closed sxjscience closed 3 years ago

sxjscience commented 3 years ago

Description

As suggested by @MoisesHer , use static_alloc and static_shape.

In addition, try to enable batch.

Checklist

Essentials

Changes

Comments

cc @dmlc/gluon-nlp-team

github-actions[bot] commented 3 years ago

The documentation website for preview: http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR1471/fix_benchmark3/index.html

codecov[bot] commented 3 years ago

Codecov Report

Merging #1471 (c9ebf75) into master (2013fe0) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1471   +/-   ##
=======================================
  Coverage   85.87%   85.87%           
=======================================
  Files          52       52           
  Lines        6912     6912           
=======================================
  Hits         5936     5936           
  Misses        976      976           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2013fe0...c9ebf75. Read the comment docs.

github-actions[bot] commented 3 years ago

The documentation website for preview: http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR1471/fix_benchmark3/index.html

github-actions[bot] commented 3 years ago

The documentation website for preview: http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR1471/fix_benchmark3/index.html

github-actions[bot] commented 3 years ago

The documentation website for preview: http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR1471/fix_benchmark3/index.html

github-actions[bot] commented 3 years ago

The documentation website for preview: http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR1471/fix_benchmark3/index.html

github-actions[bot] commented 3 years ago

The documentation website for preview: http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR1471/fix_benchmark3/index.html

MoisesHer commented 3 years ago

Thanks, it looks good to me