Join us in Singapore for a free community evening about Linux, AI agents, Docker, developer tools, and personal computing. The evening will feature a series of Lightning Talks, including a DHH livestream (time TBD), Michael Yuan (Docker Captain) on Docker Sandboxes on Omarchy, and community talks from Varun Bakshi, Dragon, Jia Huang, and other local builders.
Michael Yuan
As seen in:
Medium,
Nature,
ESPN,
Journal of Medical Case Reports,
VentureBeat,
HackerNoon,
PetaPixel,
CIO,
freeCodeCamp,
InfoQ
and
Local AI -- run open LLMs on your own computer: www.manning.com/liveprojectseries/open-llms-on-your-own-computer
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Michael Yuan
Open LLMs on Your Own Computer
Socratic liveProjects pair you with an AI tutor to help you learn by doing, in real time. You are an IT engineer at a midsize company where AI adoption is growing rapidly. But as the cloud AI bill climbs and confidential information leaves the company through API calls, management asks you to bring everyday AI work in-house.
Develop and Deploy Voice AI Apps with Docker
Voice is the next frontier of conversational AI. It is the most natural modality for people to chat and interact with another intelligent being. However, the voice AI software stack is complex, with many moving parts. Docker has emerged as one of the most useful tools for AI agent deployment.
How to Build a Voice AI Agent Using Open-Source Tools
Voice is the next frontier of conversational AI. It is the most natural modality for people to chat and interact with another intelligent being. In the past year, frontier AI labs such as OpenAI, xAI, Anthropic, Meta, and Google have all released real-time voice services. Yet voice apps also have the highest requirements for latency, privacy, and customization. It’s difficult to have a one-size-fits-all voice AI solution.
Observing character displacement from process to pattern in a novel vertebrate community - Nature Communications
Abstract Ecological character displacement, whereby shifts in resource use in the presence of competing species leads to adaptive evolutionary divergence, is widely considered an important process in community assembly and adaptive radiation. However, most evidence for character displacement has been inferred from macro-scale geographic or phylogenetic patterns; direct tests of the underlying hypothesis of divergent natural selection driving character displacement in the wild are rare.
A 27-year-old Caucasian female inpatient at a regional hospital began reporting chest and flank pain four hours after a normal vaginal delivery of her first child. The chest x-ray, CT pulmonary angiogram, and renal ultrasound performed prior to discharge following an emergency department (ED) presentation that did not detect any abnormalities.
Open Source LLMs on Your Own Computer
Three-Project Series prerequisites Intermediate Linux • Intermediate ChatGPT • Basic Git • Basic compilers • Basic Python skills learned Building LLM chatbot apps • Building a RAG vector store for external knowledge • Fine-tuning an LLM access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks! choose one free eBook per month to keep exclusive 50% discount on all purchases access to all Manning books, including MEAPs! 5, 10 or 20 seats+ for your team - Your school district...
Fine-Tune the Llama Model
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks! choose one free eBook per month to keep exclusive 50% discount on all purchases access to all Manning books, including MEAPs! 5, 10 or 20 seats+ for your team - Look inside Your local school district has a basic LLM chatbot based on Llama—now it needs fine-tuning! That’s where you come in.
Add Knowledge to the Chatbot
prerequisites Intermediate Linux • Basics of LLMs skills learned Create embeddings from a body of text • store embeddings in a vector database • build a RAG LLM application • create a Discord chatbot access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks! choose one free eBook per month to keep exclusive 50% discount on all purchases access to all Manning books, including MEAPs! 5, 10 or 20 seats+ for your team - Look inside Fine-tuning an LLM is time-consuming and...
Chatbot with Llama
prerequisites Intermediate Linux • Basic git • Basic compilers skills learned Quantize an open-source LLM • build and use prompts and prompt templates for a chatbot LLM • build a web UI for the chatbot access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks! choose one free eBook per month to keep exclusive 50% discount on all purchases access to all Manning books, including MEAPs! 5, 10 or 20 seats+ for your team - Look inside In this liveProject, you’ll take on the role...
The Sidecar Pattern
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks! share your subscription with another person choose one free eBook per month to keep exclusive 50% discount on all purchases access to all Manning books, including MEAPs! 5, 10 or 20 seats+ for your team - Look inside UMET Inc.’s mission to modernize its software infrastructure has been a great success.
A Stateful Microservice
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks! share your subscription with another person choose one free eBook per month to keep exclusive 50% discount on all purchases access to all Manning books, including MEAPs! 5, 10 or 20 seats+ for your team - Look inside To support its rapid growth, e-commerce company UMET Inc. relies on lightweight, interdependent, cloud-native microservices written in Rust that can compute sales tax rates and e-commerce order totals.
A First Business Microservice
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks! share your subscription with another person choose one free eBook per month to keep exclusive 50% discount on all purchases access to all Manning books, including MEAPs! 5, 10 or 20 seats+ for your team - Look inside You’re a new developer at UMET Inc., an e-commerce platform that’s modernizing its backend technology stack with Rust.
HTTP Server
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks! share your subscription with another person choose one free eBook per month to keep exclusive 50% discount on all purchases access to all Manning books, including MEAPs! 5, 10 or 20 seats+ for your team - Look inside UMET Inc.
Rust and WebAssembly Microservices
Congratulations! You’re the new developer at UMET Inc. UMET is a successful U.S.-based e-commerce startup that lets social media influencers offer time-limited deals. It is crucial that the UMET web app can quickly scale up to handle large spikes of traffic while remaining nimble to orchestrate those deals with influencers. When UMET was started, it was built on a classic 3-tier stack with a web server, a Java application server, and a relational database.
How to set up your Jetson device for LLM inference and fine-tuning
by Tony Yuan and Michael Yuan When it comes to large language model (LLM, e.g. llama2) inference and fine-tuning, GPUs are critical resources. Those computations are simply too slow on CPUs. In particular, the GPU needs a large amount of RAM to fit the entire model in it. For example, even after quantization, the llama2 70b model requires at least 48GB of GPU RAM. Yet, those high-end GPUs are very expensive.
Fast and Portable Llama2 Inference on the Heterogeneous Edge
The Rust+Wasm stack provides a strong alternative to Python in AI inference. Compared with Python, Rust+Wasm apps could be 1/100 of the size, 100x the speed, and most importantly securely run everywhere at full hardware acceleration without any change to the binary code. Rust is the language of AGI. We created a very simple Rust program (40 lines of code) to run inference on llama2 models at native speed.
Introducing the Wasm landscape
By Chris Aniszczyk, Vivian Hu and Michael Yuan “Containers are the new normal, and WebAssembly is the future.” — CNCF Annual Survey 2022 key findings. Originally created as a secure sandbox to run compiled C/C++ code in web browsers, WebAssembly (Wasm) has been gaining traction and momentum on the server-side. In the cloud, Wasm provides a lightweight, fast, secure, language-agnostic, and cross-platform application runtime for diverse user-submit workloads.
Running llama2.c in WasmEdge
llama2.c runs Llama 2 models without the bloated & pesky Python dependencies. That means that we can get it running in WasmEdge too. Compiling C to Wasm provides safety, isolation & portability. The lightweight and super-fast WasmEdge sandboxes can be managed by Docker / k8s like Linux containers and VMs. Here are how. Install and get started with the WasmEdge Runtime.
How to Create a Serverless ChatGPT App in 10 Minutes
Since OpenAI released an official API for ChatGPT in March 2023, many developers and entrepreneurs are interested in integrating it into their own business operations. But some significant barriers remain that make it difficult for them to do this: OpenAI provides a simple stateless API for ChatGPT. The developer needs to keep track of the history and context of each conversation in a cache or database managed by the application. The developer also needs to manage and safeguard the API keys.
WebAssembly on the Server-side
This article on WebAssembly (Wasm) on the server-side brings great value to readers highlighting the benefits of using Wasm for your projects. Wasm is a secure, cross-platform, and high-performance application runtime that gained popularity in the browser and is now being used for server-side applications as well. Learn about the value propositions of Wasm on the server-side, and how it is becoming a great choice for the next-generation edge cloud-based microservices and customizing SaaS products.
WebAssembly on the server-side
Cloud-native platforms need to support untrusted and high-performance applications. Wasm containers are great choices for these use cases. Microservices As microservices grow popular, the infrastructure costs associated with their management are exploding. That is especially problematic for a new generation of microservice applications that are computationally intensive (i.e., AI) and performance critical (i.e., edge cloud applications). Wasm is a secure sandbox for compiled applications.
A Lightweight, Safe, Portable, and High-Performance Runtime for Dapr
Since its release in 2019, Dapr (Distributed Application Runtime) has quickly become a very popular open-source framework for building microservices. It provides building blocks and pre-packaged services that are commonly used in distributed applications, such as service invocation, state management, message queues, resource bindings and triggers, mTLS secure connections, and service monitoring.
Edge Cloud Microservices - How to Build High Performance & Secure Apps with WasmEdge and Rust
The edge cloud allows developers to deploy microservices (that is, fine-grained web services) close to their users. This gives them a better user experience (and very fast response times), security, and high availability. It also leverages local or even private data centers, CDN networks, and telecomm data centers (for example 5G MECs) to provide compute services. Successful examples of edge clouds include Cloudflare, Fastly, Akamai, fly.io, Vercel, Netlify, and many others.
Confirmed presence of Sphaerodactylus sputator on Saba, Caribbean Netherlands
Keywords: Range extension, Gecko, Lesser Antilles, Cryptogenic species Published 2023-01-05 License This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Rust Microservices in Server-side WebAssembly
The Rust programming language has gained mainstream adoption in the past several years. It is consistently ranked as the most beloved programming language by developers and has been accepted into the Linux kernel. Rust enables developers to write correct and memory-safe programs that are as fast and as small as C programs. It is ideally suited for infrastructure software, including server-side applications, that require high reliability and performance.
Rust microservices in server-side WebAssembly
The Rust programming language has gained mainstream adoption in the past several years. It is consistently ranked as the most beloved programming language by developers and has been accepted into the Linux kernel. Rust enables developers to write correct and memory-safe programs that are as fast and as small as C programs. It is ideally suited for infrastructure software, including server-side applications, that require high reliability and performance.
Cloud Native Wasm Day North America 2022
Speakers Chris Crone Director of Engineering at Docker Inc., Docker Chris Crone is a Director of Engineering at Docker, based on the US East Coast. He is responsible for a group of teams that provide low-level functionality (Build, Engine, Registry) as well as Content (Official Images, Verified Publishers, Extensions) at Docker. Previously, he worked... Read More → Michael Yuan Founder, Second State Dr. Michael Yuan is a maintainer of the WasmEdge project and a co-founder of Second State.
Developer-led growth at SaaStr
By Michael Yuan, Founder of WasmEdge Runtime The SaaStr conference is one of the most influential conferences on SaaS. In 2022, it came back from the pandemic with a vengeance. Despite the dramatic raise and fall of SaaS valuations, SaaS companies and products are growing revenue at an unprecedented pace even in the supposed economic depression. Software is eating the world. But it is made by developers. How do the dramas in SaaS affect developers?
WasmEdge and OpenYurt bring cloud computing to the edge
Posted on February 7, 2022 By Vivian Hu, Michael Yuan, and Chen Jin Guest post by Vivian Hu and Michael Yuan from Second State with the help from Chen Jin from the OpenYurt project. Edge computing is a distributed application architecture that places computational resources (eg, CPU and storage) close to the source of the data. By doing so, it offers the advantages of low latency, high performance, and security for a wide range of applications.
[nysbirds-l] Results of the 2021 Brooklyn Christmas Bird Count
The *Brooklyn Christmas Bird Count (CBC)*, one of the most urban of counts in the state, was conducted on Saturday, December 18th, 2021, and compiled on Zoom. The count circle includes most of the borough of Brooklyn, western Jamaica Bay, and the western end of the Rockaway peninsula. On a gray and occasionally spitting day that turned out much nicer than feared, over 100 participants in 12 areas within the count circle recorded *49,961 individuals,* representing *129 species.
Infiltration of bone marrow space with chondromas mimicking progression of polycythemia vera
Skip Nav Destination BLOOD WORK| December 2, 2021
Cloud Native WebAssembly Applications Are Already Here
Michael Yuan Michael Yuan is the founder and maintainer of WasmEdge, an open source WebAssembly runtime hosted by the CNCF for edge computing, service mesh, and embedded functions. Dr. Yuan is the author of six books on software engineering, and a long-time open source contributor. He is the co-founder of Second State, a venture-funded startup that supports and commercializes enterprise applications in the WebAssembly and Rust ecosystem.
Create High-Performance JavaScript APIs using Rust
WasmEdge brings together Rust’s performance and JavaScript’s ease of use Photo by Kevin Ku on Unsplash In my previous article, I discussed how to embed JavaScript code into a Rust program. However, for JavaScript developers, the need is often the opposite — to incorporate Rust functions into JavaScript APIs. That enables developers to write programs in “pure JavaScript” and yet still take advantage of the high-performance Rust functions. With the WasmEdge Runtime, you can do exactly that.
A Lightweight, Safe, Portable, and High-Performance Runtime for Dapr
Key Takeaways Dapr is a versatile framework for building microservices. WebAssembly VMs, such as WasmEdge, provide high-performance and secure runtimes for microservice applications. WebAssembly-based microservices can be written in a number of programming languages, including Rust, C/C++, Swift, and JavaScript. WebAssembly programs are embedded into Dapr sidecar applications, and hence can be portable and agnostic to the Dapr host environment.
WebAssembly Serverless Functions in Netlify
Netlify is a leading platform for developing and hosting Jamstack applications. In fact, the term Jamstack was coined by Netlify founder Mathias Biilmann in 2015. Netlify also hosts the annual Jamstack Conf. A Jamstack application consists of a static UI (in HTML and JavaScript) and a set of serverless functions to support dynamic UI elements via JavaScript. There are many benefits to the Jamstack approach. But perhaps one of the most significant benefits is performance.
Cloud Native WebAssembly
Guest post originally published on Medium by Michael Yuan WebAssembly was originally created for the browser. But like Java and JavaScript before it, once it gained support from the community (esp standardization and toolchain support), WebAssembly has become increasingly popular on the server and on the edge as well. In 2021, WebAssembly won the prestigious Programming Languages Software Award from the ACM SIGPLAN.
Rust and WebAssembly Serverless Functions in Vercel
Michael Yuan Michael Yuan is the founder and maintainer of WasmEdge, an open-source WebAssembly runtime hosted by the CNCF for edge computing, service mesh, and embedded functions. Dr. Yuan is the author of six books on software engineering, and a long-time open source contributor. He is the co-founder of Second State, a venture-funded startup that supports and commercializes enterprise applications in the WebAssembly and Rust ecosystem.
Cloud Native WebAssembly
WebAssembly was originally created for the browser. But like Java and JavaScript before it, once it gained support from the community (esp standardization and toolchain support), WebAssembly has become increasingly popular on the server and on the edge as well. In 2021, WebAssembly won the prestigious Programming Languages Software Award from the ACM SIGPLAN. In the age of cloud-native computing, the boundary of hardware and software is blurred. Everything is abstracted into “the cloud”.
Running Ethereum smart contracts in a Substrate blockchain
As the Substrate (and Polkadot) gains popularity, there is increasing demand for running Ethereum smart contracts and Dapps on Substrate-based blockchains. Ethereum developers benefit by having a faster, more stable, and more versatile infrastructure to deploy their applications. Substrate blockchains benefit from a rich decentralized application ecosystem. The ParaState (and Second State) team develops software that enables Ethereum smart contracts on Substrate blockchains.
How to Create a Serverless Meme-as-a-Service
The “meme economy” is apparently the next big thing. It is a natural extension of the Internet’s “attention economy”. Among many others, even Elon Musk is doing it. By some estimate, the meme economy is already worth $250 million USD. The meme economy is where FOMO meets YOLO. — Felix Salmon from AXIOS However, it takes time to create a meme. How about a web app that allows anyone to customize a meme and generate a new one? That is a meme-as-a-service (MaaS)! Why Serverless?
Performance Analysis for Arm vs x86 CPUs in the Cloud
Key Takeaways Arm-based systems and instances are readily available in public clouds such as AWS. The computational performance of AWS’s Arm EC2 instances is similar to that of the x86_64 instances. Considering that Arm instances are significantly cheaper, the cost effectiveness of Arm instances are better than x86_64 instances. Arm instances perform better with “close to metal” applications.
O Deno ama WebAssembly
Pontos Principais O Deno e o Node.js executam JavaScript em tempo de execução baseados em C/C++ para ter alto desempenho; O Deno é uma aplicação binária incompatível com módulos NPM, e que não tem uma maneira fácil de incorporar módulos nativos nas aplicações; O WebAssembly fornece uma maneira de executar código de alto desempenho nas aplicações Deno; O WebAssembly é um container seguro, portátil e leve para aplicações do lado servidor; As ferramentas do compilador Rust oferecem excelente...
Learn Rust and Jamstack web apps through serverless functions
Rust has maintained the position of Stackoverflow’s most beloved programming language for the past 5 years in row. Rust is known to have a steep learning curve and many Rust tutorials essentially start out by teaching developers how to create Linux command line programs. Another fantastic and exciting way to help entice new developers into the Rust ecosystem is to allow developers to create web applications that can be shared and showcased.
Server-Side Wasm - Q&A with Michael Yuan, Second State CEO
Key Takeaways WebAssembly is increasingly used server-side for its security model, portability and performance. WebAssembly is however a work in progress with a number of proposals being refined and implemented in WebAssembly runtimes. Second State recently implemented the reference types proposal and bulk memory operations proposal in its SSVM WebAssembly runtime.
Listening to the scientists
A review of Dr. Nicholas Christakis’s new book Apollo’s Arrow from my quarantine hotel in Shanghai. I give it 5 stars. Scientists are mortal humans with their own values, biases, and politics. We should listen to the scientists, but science matters more than its messengers. Educate yourself, read this book. The COVID pandemic has forced all of us to become self-taught virologists and epidemiologists. I had formal training in science, but found myself lost in all the noise about “pandemic science”.
Deno Introduction with Practical Examples
Key Takeaways Deno is a JavaScript runtime built with security in mind. Deno provides many helper functions to streamline frequent operations. Deno supports non-transpiled TypeScript Deno strives to address some challenges with Node.js It’s incredibly easy to create web servers and manage files with Deno What is Deno?
The Bridge, Reconstructed: A Different Perspective of the Golden Gate Bridge
I wanted to challenge the perceptions of the Golden Gate Bridge. In solid red-orange and spanning 1.7 miles long, the Golden Gate Bridge is an icon of San Francisco. Though it is visibly massive, people often chase after the same handful of popular perspectives that garner significant social media engagement, which can become repetitive. They’re often taken at similar spots, edited in similar ways, and all showing the grandeur of the bridge.
High-performance serverless functions for Rust & WebAssembly
Second State FaaS is high-performance and supports the Rust language as a first class citizen. With WebAssembly on the server, it starts and runs much faster than VM or container-based alternatives. It excels in compute intensive media, data, and edge AI apps.
Second State Launches Oasis Ethereum ParaTime on the Oasis Network
Includes support for eth Dapp developers, Uniswap, and more As DeFi takes off and poses to revolutionize the world’s financial infrastructure, the current public blockchains fall short in performance and privacy protection. The Oasis Network is designed and developed by world-renowned leaders in privacy computing and distributed systems.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Michael
Contact Michael, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack