This repository has been archived on 2026-08-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ROCm-Research-Archive/_TestScripts/Scripts and Tests/scan_imports.py
T
2026-08-20 00:45:43 +02:00

14 lines
471 B
Python

#!/usr/bin/env python3
"""Scan all imports in qwen3-tts to find missing pip packages."""
import subprocess, sys
result = subprocess.run(
["docker", "run", "--rm", "--entrypoint", "bash", "sudx/qwen3-tts:latest", "-c",
"grep -rh '^import\\|^from' /opt/qwen3-tts/qwen3_tts_gguf/ 2>/dev/null | "
"grep -v __pycache__ | sort -u"],
capture_output=True, text=True
)
print(result.stdout)
if result.stderr:
print("STDERR:", result.stderr, file=sys.stderr)