Skip to content

Increase IMGC tensor arena to 54 KiB#822

Open
youju26 wants to merge 1 commit into
google:mainfrom
youju26:patch-1
Open

Increase IMGC tensor arena to 54 KiB#822
youju26 wants to merge 1 commit into
google:mainfrom
youju26:patch-1

Conversation

@youju26
Copy link
Copy Markdown

@youju26 youju26 commented Mar 9, 2026

A kTensorArenaSize of 53 * 1024 is a bit too small, causing following error:

"Running MLCommons Tiny V0.1 Image Classification
Error_reporter OK!
Failed to allocate tail memory. Requested: 40, available 0, missing: 40 Failed to allocate tail memory. Requested: 12, available 0, missing: 12 Unable to allocate TfLiteAffineQuantization.

Failed to populate a persistent TfLiteTensor struct from flatbuffer data! Failed to initialize output tensor 0
AllocateTensors() failed"

Using 54 * 1024 solves this problem.

Plattform: digilent_arty (A7 35T) using Vivado

Only the IMGC model and standard project configuration were used for testing.

A kTensorArenaSize of 53 * 1024 is a bit too small, causing following error:

"Running MLCommons Tiny V0.1 Image Classification
Error_reporter OK!
Failed to allocate tail memory. Requested: 40, available 0, missing: 40
Failed to allocate tail memory. Requested: 12, available 0, missing: 12
Unable to allocate TfLiteAffineQuantization.

Failed to populate a persistent TfLiteTensor struct from flatbuffer data!
Failed to initialize output tensor 0
AllocateTensors() failed"

Using 54 * 1024 solves this problem.

Plattform: digilent_arty (A7 35T) using Vivado

Only the IMGC model and standard project configuration were used for testing.
A kTensorArenaSize of 53 * 1024 is a bit too small, causing following error:

"Running MLCommons Tiny V0.1 Image Classification
Error_reporter OK!
Failed to allocate tail memory. Requested: 40, available 0, missing: 40
Failed to allocate tail memory. Requested: 12, available 0, missing: 12
Unable to allocate TfLiteAffineQuantization.

Failed to populate a persistent TfLiteTensor struct from flatbuffer data!
Failed to initialize output tensor 0
AllocateTensors() failed"

Using 54 * 1024 solves this problem.

Plattform: digilent_arty (A7 35T) using Vivado

Only the IMGC model and standard project configuration were used for testing.

Signed-off-by: Julius Friesen <julius.friesen.26@outlook.com>
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.

1 participant