Sitemap

A list of all the posts and pages found on the site. For you robots out there, there is an XML version available for digesting as well.

Pages

Posts

LLVM learning note by hands

less than 1 minute read

Published:

Start with tutorial from the official website should be the only route to expertise, things changed up and down.

  1. Servo Book Documentation Update on CanGc

less than 1 minute read

Published:

The Update on the CanGc in the documentation for developers. Some time the borrow hazard could occur when assigning the mutable variable. Looks like this is a long term issue happened repeatedly when CanGc need to pass in as arguments. Several issues here listed.

  1. First Issue from the Servo Team (Update)

1 minute read

Published:

This time is the record for updating again the first issue on line number, because the team official think my solution is not good enough and provide other solution here.

Using Docker within the VS Code

1 minute read

Published:

When trying to include everything, including the environment for development might not be enough, even with the same ubuntu system. Recently, I encountered a bug where display is not properly shown, I have several doubts regarding the scenario.

Tensor Train Decomposition and Training

11 minute read

Published:

High-dimensional data (tensors) appear in many fields such as scientific computing, quantum physics, and machine learning. However, storing and operating on these tensors is challenging due to the exponential growth of parameters with the number of dimensions (the so-called “curse of dimensionality”). Tensor Train (TT) decomposition is one way to represent high-dimensional tensors in a compact format by expressing them as a sequence of smaller 3D tensors (often called TT-cores).

Docker Container Debug with VScode

2 minute read

Published:

When using the docker container, one may want to use the feature in the vscode to remotely work on the code debug. For personal server, this would guarantee a relatively clean environment together with the debug feature.

Utilize the Docker container

4 minute read

Published:

CUDA Docker Container Setup and Usage Guide This tutorial covers how to build, run, attach, and detach a CUDA-enabled Docker container supporting three NVIDIA A6000 GPUs.

Install Miniconda on Server

less than 1 minute read

Published:

Step 1: Download Miniconda Locally

Run the following command to download the latest Miniconda installer for Linux (adjust the link if using macOS):

Python Env for Scientific Experiment

3 minute read

Published:

As we usually need to work on various project, the environment for the experiment some times different from the local environment. Docker is one of the option, to run on the virtual machine. However, Conda or mamba is more like the standard for current academia.

Fine-Tuning LLaMA 2 with torchrun

1 minute read

Published:

Fine-tuning large models like LLaMA 2 is a big task, but with torchrun, you can scale it across multiple GPUs with ease. In this post, I’ll walk you through how to do it step by step.

portfolio

Agent AI Prototype

Published:

A powerful automation platform that leverages Llama 2 language models to understand natural language commands and execute automated tasks. Built with LangChain and FastAPI.

publications

talks