File size: 503 Bytes
5fed0fc |
1 2 3 4 5 6 7 8 9 10 11 |
#!/usr/bin/env bash
set -euo pipefail
# Set up environment for qknorm optimization problem
echo "Setting up environment for qknorm optimization problem..."
# Verify that PyTorch and flashinfer are available
python3 -c "import torch; import flashinfer; print(f'PyTorch version: {torch.__version__}'); print(f'flashinfer available: {flashinfer.__version__ if hasattr(flashinfer, \"__version__\") else \"yes\"}'); print(f'CUDA available: {torch.cuda.is_available()}')"
echo "Environment setup complete"
|