|
git config --global safe.directory '*' |
|
git config --global core.editor "code --wait" |
|
git config --global pager.branch false |
|
|
|
|
|
echo "export AZCOPY_CONCURRENCY_VALUE=AUTO" >> ~/.zshrc |
|
echo "export AZCOPY_CONCURRENCY_VALUE=AUTO" >> ~/.bashrc |
|
|
|
|
|
echo ". /home/vscode/miniconda3/bin/activate" >> ~/.zshrc |
|
echo ". /home/vscode/miniconda3/bin/activate" >> ~/.bashrc |
|
|
|
|
|
echo "conda activate llava" >> ~/.zshrc |
|
echo "conda activate llava" >> ~/.bashrc |
|
|
|
|
|
echo 'export PATH="$PATH:$HOME/.dotnet"' >> ~/.bashrc |
|
echo 'export PATH="$PATH:$HOME/.dotnet"' >> ~/.zshrc |
|
|
|
|
|
source /home/vscode/miniconda3/bin/activate |
|
conda create -y -q -n llava python=3.10 |
|
conda activate llava |
|
|
|
|
|
conda install -y -c nvidia cuda-compiler |
|
|
|
pip install pre-commit==3.0.2 |
|
|
|
|
|
pip install --upgrade pip |
|
pip install -e . |
|
|
|
|
|
pip install -e ".[train]" |
|
pip install flash-attn --no-build-isolation |
|
|
|
|
|
git clone https://huggingface.co/liuhaotian/llava-v1.5-7b ~/llava-v1.5-7b |
|
|
|
|
|
|
|
|
|
echo "postCreateCommand.sh COMPLETE!" |
|
|