#!/bin/bash
set -e
echo "=========================================="
echo "IndexSDK Dev Container post-create setup..."
echo "=========================================="
if command -v npu-smi &> /dev/null; then
echo "NPU environment detected:"
npu-smi info || true
else
echo "Warning: npu-smi not found. NPU may not be available."
fi
if [ -d "/usr/local/Ascend/mxIndex" ]; then
echo "IndexSDK installed successfully at /usr/local/Ascend/mxIndex"
else
echo "Warning: IndexSDK not found at /usr/local/Ascend/mxIndex"
fi
echo "=========================================="
echo "IndexSDK Dev Container setup completed!"
echo "=========================================="