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/Scripts and Tests/check_repos.sh
T
2026-08-20 00:45:43 +02:00

42 lines
1.1 KiB
Bash

#!/bin/bash
# Check available Z-Image text encoder repos
/home/fabian/ComfyUI/venv/bin/python3 << 'PYEOF'
from huggingface_hub import HfApi, list_repo_files
# Check both found repos
repos = [
"Norby/Z_Image_text_encoders",
"worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF",
]
for repo in repos:
try:
files = list_repo_files(repo)
print(f"\n=== {repo} ===")
for f in files:
print(f" {f}")
except Exception as e:
print(f"\n=== {repo} ===")
print(f" ERROR: {str(e)[:120]}")
# Also try official Tongyi repo
try:
files = list_repo_files("Tongyi-MAI/Z-Image-Turbo")
print(f"\n=== Tongyi-MAI/Z-Image-Turbo ===")
for f in files:
print(f" {f}")
except Exception as e:
print(f"\n=== Tongyi-MAI/Z-Image-Turbo ===")
print(f" ERROR: {str(e)[:120]}")
# Try Qwen3-4B base
try:
files = list_repo_files("Qwen/Qwen3-4B-Base")
print(f"\n=== Qwen/Qwen3-4B-Base ===")
for f in files[:15]:
print(f" {f}")
except Exception as e:
print(f"\n=== Qwen/Qwen3-4B-Base ===")
print(f" ERROR: {str(e)[:120]}")
PYEOF