Added supervision library support, batch processing, optimised ONNX with io_binding and memory managment#70
Open
hidara2000 wants to merge 12 commits intoIntellindust-AI-Lab:mainfrom
Open
Conversation
- fixed error with newer transforms package missing defs - added supervision for varied annotations and tracking - added optimised onnx inference with relevant operations moved to GPU (cupy). IO binding to improve performance and GPUMemoryPool to better manage mem # IO Binding Benefits for Multiprocessing Reduces contention for CPU-GPU data transfer pathways when multiple processes share GPU resources Enables more efficient process-per-GPU distribution by minimizing transfer overhead Improves scalability across multiple GPUs by optimizing each process-GPU communication Supports pipeline parallelism by keeping intermediate data on GPU between processing stages Allows for better load balancing across processes by reducing data movement bottlenecks Enables higher GPU utilization when distributing work across multiple processes Minimizes IPC (inter-process communication) overhead for inference workloads Helps maintain consistent performance when scaling to multiple workers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IO Binding Benefits for Multiprocessing
Reduces contention for CPU-GPU data transfer pathways when multiple processes share GPU resources Enables more efficient process-per-GPU distribution by minimizing transfer overhead Improves scalability across multiple GPUs by optimizing each process-GPU communication Supports pipeline parallelism by keeping intermediate data on GPU between processing stages Allows for better load balancing across processes by reducing data movement bottlenecks Enables higher GPU utilization when distributing work across multiple processes Minimizes IPC (inter-process communication) overhead for inference workloads Helps maintain consistent performance when scaling to multiple workers
Couldn't test on a multiGPU setup
Results on the same 30s video
I have this table testing 1 video at a time