Skip to content

Improve runtime measurement and fix memory leak in MAC calculation#34

Open
sarhakor wants to merge 2 commits into
InterDigitalInc:mainfrom
sarhakor:fctmv120_runtime_by_module
Open

Improve runtime measurement and fix memory leak in MAC calculation#34
sarhakor wants to merge 2 commits into
InterDigitalInc:mainfrom
sarhakor:fctmv120_runtime_by_module

Conversation

@sarhakor

@sarhakor sarhakor commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

[Regarding Runtime Measurement:]
The total runtime of FCTM is now measured as the sum of the runtimes of each module.
Added a fallback to use elapsed_enc_time when the FCTM total runtime is zero.

modified:   compressai_vision/pipelines/split_inference/image_split_inference.py
modified:   compressai_vision/pipelines/split_inference/video_split_inference.py

[Regarding FCTM Issue#40]
Resolve memory leak issue in MAC calculation.
https://git.mpeg.expert/MPEG/Video/fcm/fctm/-/issues/40

modified:   compressai_vision/compressai_vision/utils/measure_complexity.py

sarhakor added 2 commits July 24, 2026 21:36
	modified:   compressai_vision/pipelines/split_inference/image_split_inference.py
	modified:   compressai_vision/pipelines/split_inference/video_split_inference.py
@sarhakor sarhakor changed the title [feat] update total runtime as the sum of module runtimes Improve runtime measurement and fix memory leak in MAC calculation Jul 24, 2026
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