#!/bin/bash
cd ~/pytorch-build
echo "=== CMakeLists.txt around aotriton ==="
sed -n '855,900p' CMakeLists.txt

echo ""
echo "=== aotriton.cmake ==="
cat cmake/External/aotriton.cmake

echo ""
echo "=== USE_FLASH_ATTENTION in Dependencies ==="
grep -n "FLASH_ATTENTION\|AOTRITON\|aotriton" cmake/Dependencies.cmake 2>/dev/null | head -20
