Samrat Man Singh

Samrat Man Singh

@samrat.me

Software engineer; climber; #ElixirLang Website: https://samrat.me Building https://octocut.com

953 followers171 following94 posts

Samrat Man Singh reposted

Introducing Tidewave: tidewave.ai While working on our web apps, we run code, query the database, read logs, search docs… but our AI tools are limited to reading code. Tidewave closes this gap by introducing Runtime Intelligence, for Phoenix and Rails. More coming soon, check out the website!

tidewave.aiTidewave

Testing Voice AI flows can become tedious fast But... you can just simulate conversations using another voice agent. Then, evaluate how the conversation went.

OpenAI's new TTS looks(and sounds) pretty great for the price. Also, I hope this pushes other providers to just price API usage by minute. Every other TTS provider(ElevenLabs, Cartesia, etc) currently have monthly credits pricing.

OpenAI's new TTS looks(and sounds) pretty great for the price. Also, I hope this pushes other providers to just price API usage by minute. Every other TTS provider(ElevenLabs, Cartesia, etc) currently have monthly credits pricing.

Samrat Man Singh reposted

We did it! Kokoro TTS (v1.0) can now run 100% locally in your browser w/ WebGPU acceleration. Real-time text-to-speech without a server. ⚡️ Generate 10 seconds of speech in ~1 second for $0. What will you build? 🔥

Samrat Man Singh reposted

Interested in how to build voice AI apps in Elixir? Here's a blog post I wrote about building a Membrane pipeline that orchestrates audio/video communication between a browser and Google Gemini #ElixirLang blog.swmansion.com/building-a-m...

blog.swmansion.comBuilding a Membrane Pipeline to Talk to Google GeminiElixir, together with the Membrane framework, is great for building pipelines that enable seamless communication between users and LLMs.

Samrat Man Singh reposted

Reworking the Livebook for Kokoro(🔊 text-to-speech model). Now, you get a text input to input text you want read out loud(or whispered) to you. #MyElixirStatus #ElixirLang

Elixir bindings for Kokoro TTS github.com/samrat/kokoro #ElixirLang

github.comGitHub - samrat/kokoro: Elixir bindings to Kokoro-82M text-to-speech modelElixir bindings to Kokoro-82M text-to-speech model - samrat/kokoro

More voice AI exploration: Bumblebee doesn't currently support text-to-speech models, but managed to get Kokoro TTS working with Ortex Demo 👇 youtu.be/VFKX6Af9gs4

I've been building a small voice AI app. So far, both OpenAI Realtime and Gemini Multimodal Live seem very unreliable with function calling. And Gemini insists that it did the function call😅

Trying to add interruption support to github.com/membranefram... (the API already returns events for when it detects it got interrupted, but I'm having trouble stopping playback 🤔) Currently trying to wrap my head around Membrane's manual demand mode. #ElixirLang

github.commembrane_demo/livebooks/openai_realtime_with_membrane_webrtc/openai_realtime_with_membrane_webrtc.livemd at master · membraneframework/membrane_demoExamples of using the Membrane Framework. Contribute to membraneframework/membrane_demo development by creating an account on GitHub.

Samrat Man Singh reposted

This also makes use of MLX's lazy evaluation to provide JIT compilation of Nx functions. The README says this, but just set it as your Nx backend and compiler, and it just works!

The MLX(Apple Silicon) backend for Nx is now public on Github: #ElixirLang

Samrat Man Singh reposted

The homepage example from Bumblebee on using BERT is now running on EMLX! We should hopefully be releasing the library in the next few days. We're just missing a really small set of Nx.Backend calbacks and some housekeeping stuff

Samrat Man Singh reposted

Looking for my next job! - Based in Berlin 🇩🇪, but also open to remote. - I've been most excited about #ElixirLang lately, but also open to other tech stacks(I've worked with Clojure, Rust, JS/TS) Some stuff I've worked on recently below👇. (And I'd appreciate a repost :))

Samrat Man Singh reposted

Ok, so I took this Axon example (hexdocs.pm/axon/your_fi...) for a spin on EMLX! A bit slower than Nx.BinaryBackend (runs the loop in 5s), but this is a simple model which really doesn't take advantage of a native platform. Next target is to get full Nx API coverage so we can run Bumblebee on it.

Samrat Man Singh reposted

That's funny... I could swear we started this endeavor 3 days ago, not 3 weeks! Jokes aside, big shout out to @samrat.me and @uwucocoa.moe who are taking MLX coverage by stride. We're almost at a point where we can run an Axon model! Bonus: this will be plug and play with Sharding

I also recently started working on a new backend for Nx, building NIF bindings to Apple's MLX framework bsky.app/profile/samr...