Skip to content

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

Merged
fracape merged 3 commits into
InterDigitalInc:mainfrom
sarhakor:fctmv120_runtime_by_module
Jul 27, 2026
Merged

Improve runtime measurement and fix memory leak in MAC calculation#34
fracape merged 3 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
@fracape fracape self-assigned this Jul 27, 2026
@fracape
fracape force-pushed the fctmv120_runtime_by_module branch from e673c9c to 8811da9 Compare July 27, 2026 22:10
@fracape
fracape force-pushed the fctmv120_runtime_by_module branch from 8811da9 to d7a9208 Compare July 27, 2026 22:13
@fracape
fracape self-requested a review July 27, 2026 22:15
@fracape
fracape merged commit 9c24960 into InterDigitalInc:main Jul 27, 2026
7 checks passed
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