Skip to content
/ LLM Public

๐Ÿค—LLM, LMM ํ•™์Šต์‹œํ‚ค๊ธฐ ์œ„ํ•œ ์ฝ”๋“œ

Notifications You must be signed in to change notification settings

jp1924/LLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

LLM

LLM๊ณผ LVM์— SFT, GRPO, Pretrainํ•˜๊ณ  ์ „์ฒ˜๋ฆฌํ•˜๋Š” ์ฝ”๋“œ๋ฅผ ์ •๋ฆฌํ•œ github repo

running

git clone https://github.com/jp1924/LLM.git
docker compose up -d 

Docker์™€ Compose Version: 27.3.1-build ce12230, v2.29.7
๊ทผ๋ฐ package ๋ฒ„์ „์ด ๋น ๋ฅด๊ฒŒ ๋ฐ”๋€Œ์–ด์„œ ์‹คํ–‰ ์•ˆ๋˜๋ฉด Dockerfile ์ˆ˜์ •ํ•  ํ•„์š”๊ฐ€ ์žˆ์Œ

Utils

flash-attn์„ pypi์—์„œ ๋‹ค์šด๋ฐ›์•„์„œ ์„ค์น˜ํ•˜๋ฉด ์ปดํŒŒ์ผ ํ•˜๋Š”๋ฐ ๋งŽ์€ ์‹œ๊ฐ„์ด ๊ฑธ๋ฆฌ์ง€๋งŒ
flash-attn repo์—์„œ ์ œ๊ณตํ•˜๋Š” whlํŒŒ์ผ์€ ์ด๋ฏธ ์ปดํŒŒ์ผ์ด ๋˜์–ด ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ์„ค์น˜ํ•˜๋Š”๋ฐ ๋งŽ์€ ์‹œ๊ฐ„์ด ๊ฑธ๋ฆฌ์ง€ ์•Š๋Š”๋‹ค.

whl๋กœ ์„ค์น˜ํ•˜๋Š” ๊ฒฝ์šฐ ๋‹ค์Œ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•ด์„œ ๊ฐœ๋ฐœํ™˜๊ฒฝ์˜ ๋ฒ„์ „์„ ํ™•์ธํ•  ํ•„์š”๊ฐ€ ์žˆ๋”ฐ.

python -c "import torch; print(f'torch version: {torch.version}'); print(f'cuda version: {torch.version.cuda}'); print(f'abi version: {torch.compiled_with_cxx11_abi()}')

์ดํ›„ flash-attn repo๊ฐ€์„œ ๋ณธ์ธ ํ™˜๊ฒฝ์— ๋งž๋Š” flash-attn ์„ค์น˜ํ•˜๋ฉด ๋œ๋‹ค.

About

๐Ÿค—LLM, LMM ํ•™์Šต์‹œํ‚ค๊ธฐ ์œ„ํ•œ ์ฝ”๋“œ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published