Skip to content

Instantly share code, notes, and snippets.

View litanlitudan's full-sized avatar

Tan Li litanlitudan

View GitHub Profile
@litanlitudan
litanlitudan / data.csv
Created May 26, 2023 23:32
Data Analysis with ChatGPT
We can't make this file beautiful and searchable because it's too large.
,id,name,email,twitter,bio,followers_count,following_count,create_date,github_id,starred_at,github_repo
0,x-mug,,,,,4,0,2021-03-04,x-mug,2008-01-14,litanlitudan/skyagi
1,frankel,Frankel,frankelma@gmail.com,,,114,85,2008-08-12,frankel,2008-01-14,litanlitudan/skyagi
2,D3AdCa7,,,,Hack the Planet~,45,8,2013-09-01,D3AdCa7,2008-01-14,litanlitudan/skyagi
3,keroro824,Beidi Chen,bettychen824@gmail.com,,"Assistant Prof@CMU, Research Scientist@FAIR",256,12,2012-03-20,keroro824,2008-01-14,litanlitudan/skyagi
4,mzhaoshuai,Shuai Zhao,,zhaoshuaimcc,"Good morning, good afternoon, good evening, and good night!",123,646,2016-09-27,mzhaoshuai,2008-01-14,litanlitudan/skyagi
5,lin72h,,,,,42,3019,2021-10-27,lin72h,2008-01-14,litanlitudan/skyagi
6,gaocegege,Ce Gao,cegao@tensorchord.ai,gaocegege,"AI Infrastructure | Co-founder & CEO @TensorChord | Co-chair @kubeflow
",2652,1881,2013-07-27,gaocegege,2008-01-14,litanlitudan/skyagi
7,hxu296,Huan Xu,,,"Senior @ UW-Madison majoring in CS, Math & Stat. Interested in accessible ML infere
@litanlitudan
litanlitudan / pub.gpg
Last active December 11, 2022 01:13
GPG Keys
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGOVG64BEADBFguT2Rm7x6I9RaGL6IKAZh96PcyeMrFVe8lXdITQDPXvlVjS
vUlT3qBDpYCSyOVLkoPceqocEf2Bfyq4kBJ0nXfpFLE0vCgG8ykEO5OtlFH649I+
rBwJrKbgn3AvYlK0BI9n/kg/MKdXHHuu/PhNLUzePQS521QoWKduSgd/e0pG7oXJ
RxoM50ohMd3k/2jnELJnmu33ORHc/t7aoEdzzMSg4eS7cQQIYZjtfrC88VzXtF7l
y1gMSruwULqzLRwJCf0DLlmGujY6r42LgyM9t5QU0SHdvRoUTauyRjhTCObIodQ8
72HviamF7+F8ZE17gZIQ5cixSb5ABU/7sDWXhz7nUGUmMvzMHrswtiIK6lD2VauK
kGGVCEhoVdI7F3Z5x1g9pL3fQe+Q2vgkAMyx5b9wwNS4wU7h3or3tHki4QDVGqoe
BwRUDBEXJrfL88NkXIiVKzCOWakN/3LWoETkQumL8iWY3e1xBRG5RtuVPdDNy9UU
@litanlitudan
litanlitudan / deploy.sh
Last active October 26, 2022 06:47
MLIR-Playground Deployment Script
wget https://github.com/MLIR-China/mlir-playground/releases/latest/download/mlir-playground-static.tar.gz
tar xzvf mlir-playground-static.tar.gz
cd mlir-playground-static
python3 -m http.server
@litanlitudan
litanlitudan / README.md
Last active December 23, 2021 06:46
Automatic git commit

Overview

This gist shows the steps to automatically git commit changes under a folder of interest to your github.

Step 0

Create a repo on github for the folder of interest and intialize the folder as a git repo by git init

Step 1

Create a subfolder (say scripts) and download the aut-commit.sh to that folder.

cd /path/to/the/folder/of/interest
@litanlitudan
litanlitudan / mnist.py
Created March 3, 2021 04:04
XLA-HLO to MLIR-HLO for TF with training
import tensorflow as tf
# Size of each input image, 28 x 28 pixels
IMAGE_SIZE = 28 * 28
# Number of distinct number labels, [0..9]
NUM_CLASSES = 10
# Number of examples in each training batch (step)
TRAIN_BATCH_SIZE = 100
# Number of training steps to run
TRAIN_STEPS = 1000