Skip to content

Env flag affects the peak memory in e2e benchmark. #4937

Open
@qjia7

Description

@qjia7

Steps to reproduce:

  1. Access https://tensorflow.github.io/tfjs/e2e/benchmarks/local-benchmark/index.html
  2. Use the default backend wasm and click Run benchmark.
  3. See the left table
Peak memory 19.63 MB
  1. Switch to webgl backend. Change any flags, for example webgl pack. And then switch back to wasm.
  2. Click Run benchmark again. The peak memory increases as below:
Peak memory 33.51 MB
  1. If we repeat 4 and 5, you will find the peak memory gets bigger and bigger. However, if you don't change the flag, the peak memory won't change. It happens for all backends that the flag will affect the peak memory. It seems like a bug.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions