Setting up Neovim and NvChad
//============================== | |
// ๋ฏธ์ธ๋จผ์ง, ์จ์ต๋ ๊ด์ธก ํ๋ก์ ํธ | |
//============================== | |
#include <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
#include <DHT11.h> | |
#if defined(ARDUINO) && ARDUINO >= 100 | |
#define printByte(args) write(args); | |
#else |
call plug#begin() | |
Plug 'preservim/NERDTree' | |
Plug 'junegunn/fzf' | |
Plug 'catppuccin/nvim', { 'as': 'catppuccin' } | |
Plug 'itchyny/lightline.vim' | |
call plug#end() | |
" Shortcut configs |
documents = https://lgug2z.github.io/komorebi/installation.html
Install the komorebi and whkd packages using winget install
winget install LGUG2Z.komorebi
winget install LGUG2Z.whkd
[project] | |
name = "my-ml-project" | |
description = "A project that does ML stuff" | |
authors = ["Your Name <[email protected]>"] | |
channels = ["conda-forge"] | |
platforms = ["linux-64", "osx-arm64"] | |
[tasks] | |
train-model = "python train.py" | |
evaluate-model = "python test.py" |
NVIDIA ๊ทธ๋ํฝ ์นด๋(ํน์ GPU)์ ์ปดํจํฐ ์ด์ ์ฒด์ (OS) ๊ฐ์ ํต์ ์ ๊ด๋ฆฌํ๊ณ ์ ์ดํ๋ ์ํํธ์จ์ด๋ก NVIDIA GPU๋ฅผ ์ปดํจํฐ์์ ์ฌ๋ฐ๋ฅด๊ฒ ์ธ์ํ๊ณ ์ ์ด, ๋ฆฌ์์ค๋ฅผ ์ต์ ํํ๊ณ , ๊ทธ๋ํฝ ์์ ์ ์ฒ๋ฆฌํ๊ธฐ ์ํด GPU์ ๋ช ๋ น์ ์ ๋ฌํ๋ ์ญํ
CUDA๋ C/C++ ํ๋ก๊ทธ๋๋ฐ ์ธ์ด๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ํ๋ฉฐ, GPU์์ ๋ณ๋ ฌ ์ฝ๋๋ฅผ ์์ฑํ๊ณ ์คํํ ์ ์๋ ํ๋ถํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋๊ตฌ๋ฅผ ์ ๊ณต, CUDA๋ GPU ์ปดํจํ ์์ ์ผ์ข ์ ์ปดํ์ผ๋ฌ ์ญํ ์ ์ํํ๋ค.
CUDA๋ 2๊ฐ์ API๋ฅผ ๊ฐ์ง๊ณ ์๋๋ฐ, ํ๋๋ runtime API์ด๊ณ ๋ค๋ฅธ ํ๋๋ driver API์ด๋ค. ๊ฐ API๊ฐ ๊ฐ์์ version์ ๊ฐ์ง๊ณ ์๋ค.
nvidia-smi
๋ runtime API๋ก GPU ๋๋ผ์ด๋ฒ์ ์ํด ์ค์น๋๋ค. nvcc
๋ CUDA toolkit
์ ์ํด ์ค์น๋๋ค.
import warnings | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
import seaborn as sns | |
from scipy import stats | |
df = pd.read_csv("../input/tumor_growth.csv") | |
df.head() |