mkdir AI
cd AI
mkdir grok2
cd grok2
conda create -n grok2 -y python==3.11.3
pip install timm>=1.0.17
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu124
pip install pandas pydantic
pip install xformers==0.0.29.post3 --index-url=https://download.pytorch.org/whl/cu124
pip install https://github.com/woct0rdho/triton-windows/releases/download/v3.1.0-windows.post9/triton-3.1.0-cp311-cp311-win_amd64.whl
pip install diffusers transformers accelerate safetensors
pip install https://github.com/kingbri1/flash-attention/releases/download/v2.7.4.post1/flash_attn-2.7.4.post1+cu124torch2.6.0cxx11abiFALSE-cp311-cp311-win_amd64.whl
pip install "huggingface_hub[cli]"
hf download xai-org/grok-2 --local-dir .
다만 모델의 크기는 500gb 정도로 절대로 나는 구동할 수 없다. 따라서 향후에 사용하게 될지도 모르니 남김