| 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" | |