Install TensorFlow GPU on Windows – A complete guide

TensorFlow is an end-to-end open-source platform for machine learning from Google. If you want to study AI or work on an AI project, setting up a development environment with TensorFlow on a local machine will help you have smooth sailing. GPU (Graphics processing unit) is a specialized processor originally designed to …

Continue reading

Install PyTorch GPU on Windows – A complete guide

pytorch feature

PyTorch is an open-source machine learning framework originally from Meta Ai. If you want to study AI or work on AI projects, setting up a development environment with PyTorch on a local machine is essential for many projects. GPU (Graphics processing unit) is a specialized processor originally designed to process …

Continue reading

TikTok System Design – Architecture illustrated

Tiktok feature

TikTok is a video-sharing app that lets users create and share short videos. It impresses users with its personalized recommendations just “for you” precisely. It is highly addictive and very popular among young people. Behind it, it is powered by artificial intelligence technologies. This post is an overview of TikTok …

Continue reading

Eclipse settings you must know

eclipse feature

Eclipse is one of the most popular IDEs for Java development. Some of the settings are “hidden” and take time for you to find out. Some problems, such as Eclipse removing red marks on projects, are annoying. Here I list some eclipse java settings that will help you save time. …

Continue reading

Big O notation cheat sheet – leetcode cheat sheet

Big O notation cheat sheets

Big O notation cheat sheet provides the Big O notations for data structures and algorithm, including arrays, linked list, trees, hash tables, graphs, sorting, search, recursion, DFS and BFS, and memoization, Dynamic programming etc. It also includes leetcode Big O cheat sheet for common interview questions. The links are provided …

Continue reading

Zoom Architecture illustrated

zoom feature

Table of Content Zoom Architecture Distributed cloud-native infrastructure Network technologies Security Back-of-the-envelope calculation 1. Zoom Architecture The key components are Zoom client, Data Centers, Public Cloud, and Web infrastructure. 1. The Zoom Client is the software on computers and devices to access the Zoom servers. It performs video content processing, …

Continue reading

Google Translate Architecture illustrated

Google translate

Google Translate is an application to translate one language to another in real time. The Google Translate App can translate from handwriting, voice, and camera, and outputs speech and text-over-image. Google Translate uses Google neural machine translation. This post explains Google Translate architecture and technologies, especially how Google Translate uses …

Continue reading

ChatGPT Architecture illustrated

OpenAI LLM models

In this post, OpenAI’s ChatGPT architecture and its Large language models GPT-3, InstructGPT, ChatGPT, and GPT-4 are explained. Table of Content GPT-3: Introduce Large Language Model InstructGPT: Reinforcement learning with human feedback ChatGPT: Utilization is the king GPT-4: Introduce Artificial Generative Intelligence (AGI) OpenAI Timeline and FAQ 1. GPT-3: Introduce …

Continue reading

Install ComfyUI on Windows

comfyui feature

ComfyUi is a web-based application to generate images and videos using Stable Diffusion technology.  It is a framework to integrate modules such as ControlNet, IP-Adapters, AnimateDiff to work together in one workflow. It allows you save and re-use the workflows that carry out complicated tasks. ComfyUI consists of connected nodes. …

Continue reading

Stable Diffusion Webui ControlNet

ControlNet is a group of neural networks that can control the artistic and structural aspects of image generation. The popular ControlNet models include canny, depth, openpose, etc. It gives you more controls over images created by Stable Diffusion. This post provides use cases and step-by-step guide on how to use ControlNet …

Continue reading