Samrat Man Singh
Samrat Man Singh
@samrat.me
Software engineer; climber; #ElixirLang Website: https://samrat.me Building https://octocut.com
953 followers171 following94 posts
2/ @maciej.gryka.net walked us through an Elixir version of @thorstenball.com 's coding agent tutorial
Demo: Making phone calls from Elixir I'm working on a Twilio plugin for the Membrane multimedia framework. The demo shows an outbound call, but receiving calls works too. #ElixirLang www.youtube.com/watch?v=4dhl...
Samrat Man Singh reposted
I've just released Handoff, a new Elixir library for distributed function graph execution. hexdocs.pm/handoff Among other things, the library enables distributed Nx computations (anyone said distributed inference?) A huge part of this was sponsored by tvlabs.ai!
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!
Got a small, standalone Python script working to use the new OpenAI transcription models(`gpt-4o-transcribe` and `gpt-4o-mini-transcribe`) using the Realtime WebSocket connection: samrat.me/standalone-o...
New #ElixirLang tool LivebookTools lets you work on Livebook in your own editor and opens MCP access to cell outputs(so Cursor, etc) can automatically iterate on the code if the cell has errors github.com/thmsmlr/live...
There's a video here if you still have a Twitter account x.com/thmsmlr/stat...
Samrat Man Singh reposted
What does talk-prep look like? Bug-fixin' mostly @samrat.me darling, you have a PR :D github.com/samrat/kokor...
Pushed my first @replicate.com model, SmolVLM2 by @hf.co (@pcuenq.hf.co et al.) Will push the 500M and 2.2B models soon as well.
Voice models are getting scary good. This one feels very human: www.sesame.com/research/cro...
I wrote up a post on how you can run AI models on Elixir that aren't yet supported by Bumblebee samrat.me/running-ml-m... #MyElixirStatus #ElixirLang
Wow, this looks super useful for running models that aren't yet supported in Bumblebee(among other things) #ElixirLang github.com/livebook-dev...
Samrat Man Singh reposted
Holy smokes this is awesome, a new debugger for Phoenix LiveView. Think React devtools, but not a chrome extension. github.com/software-man... #ElixirLang
Samrat Man Singh reposted
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...
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...
Thanks to @swmansion.com for publishing the post. Their team also build and maintain the incredible Membrane framework.
Samrat Man Singh reposted
Had some fun generating speech using the Elixir Kokoro implementation by @samrat.me. Made a script for typing stuff and getting the talky-talk. github.com/samrat/kokor... So a bit of ONNX, some Erlang Ports, Membrane :D #elixirlang
Elixir bindings for Kokoro TTS github.com/samrat/kokoro #ElixirLang
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
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
Samrat Man Singh reposted
Got Gemini Multimodal Live API working with Membrane WebRTC. Here's me having a short chat with it #ElixirLang youtu.be/JxWE3pxyGqA
Boring title, but this is a delightful read on China, travel and life www.dwarkeshpatel.com/p/notes-on-c...
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
Samrat Man Singh reposted
Huge shoutout to @polvalente.social and @uwucocoa.moe who speedran through implementing most of the callbacks required by Nx.
Samrat Man Singh reposted
Samrat Man Singh reposted
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.
Finished reading "The MANIAC" by Benjamín Labatut. Wrote a short review: samrat.me/book-review-... #booksky
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...