Distributed Inference,Apply DL to WebRTC Video Frames via Redis Streams
Distributed Inference,Apply DL to WebRTC Video Frames via Redis Streams
Hi HN! I’m so excited to show my another open-source project here. It is a PoC project. Distributed Inference is a project to demonstrate an approach to designing cross-language and distributed pipeline in deep learning/machine learning domain, using WebRTC and Redis Streams. This project consists of multiple services, which are written in Go, Python, and TypeScript, running on Docker. It allows setting up multiple inference services in multiple host machines, in a distributed manner. It does RPC-like calls and service discovery via my other open-source projects, go-inventa and py-inventa, you can find them in my profile too. Also includes a monitoring stack configuration using Grafana, InfluxDB, Telegraf, and Prometheus. The main idea is: - Webcam video will be streamed to the Media Bridge service via WebRTC, - Media Bridge service will capture frame images from the video as JPEG images, pushes them to Redis Streams, - One of available Inference services will pop a JPEG image data from Redis Streams stream, execute YOLOX inference model, push detected objects' name, box coordinates, prediction score, and resolution to other Redis Streams stream, - The Signaling service listens and consumes the Redis Streams stream (predictions), sends the results to relevant participant (by participantId in the JSON) via WebSockets. - Web client will draw boxes for each prediction, and writes results to the browser console. Please check it out and I’d love to read your thoughts! https://github.com/adalkiran/distributed-inference
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Piss off, publisher frames
NeuroFlow 55.8x video inference speedup for Vision Transformers PyTorch
Apply to MuckRock’s Thiel Fellowship
Never Apply Again
Apply for grants, competitions, accelerators, govt funds
Apply and internalize the Qur'an as you memorize it.
Fault-tolerant inference for noisy and imperfect data.
We just launched MegaAI. It's a 4k30fps, 4W, 4TOPS inference powerhouse
AI in-betweening that generate in-between frames between keyframes
LLM Inference Requirements Profiler