chest2vec_0.6b_cxr / install_deps.sh
lukeingawesome
Update package structure for PyPI: fix setup.py, update README with installation steps, add install script
91c029d
raw
history blame contribute delete
622 Bytes
#!/bin/bash
# Installation script for chest2vec dependencies
# This script installs PyTorch and flash-attention with the correct versions
set -e
echo "Installing PyTorch packages from custom index..."
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu126
echo "Installing flash-attention from GitHub release..."
pip install https://github.com/Dao-AILab/flash-attention/releases/download/v2.8.3/flash_attn-2.8.3+cu12torch2.6cxx11abiTRUE-cp310-cp310-linux_x86_64.whl
echo "Installing chest2vec package..."
pip install chest2vec
echo "Installation complete!"