my-gradio-momask / GET_ERROR_LOGS.md
nocapdev's picture
Upload folder using huggingface_hub
9bad583 verified

A newer version of the Gradio SDK is available: 6.1.0

Upgrade

πŸ“‹ How to Get Your Error Logs

Since you saw an error, here's how to get the details:

Step 1: Visit Your Space Logs

Click this link: https://huggingface.co/spaces/nocapdev/my-gradio-momask/logs

Step 2: What to Look For

Scroll through the logs and find:

A. Startup Messages

Look for:

Using device: cpu
Loading models...
Models loaded successfully!

OR error messages like:

ERROR: Model checkpoints not found!
FileNotFoundError: ...

B. When You Submitted the Prompt

Look for:

Generating motion for: 'your prompt here'
[1/4] Generating motion tokens...

What happened after this?

  • Did it get stuck?
  • Did it show an error?
  • Did it say "Killed"?

C. Any ERROR Lines

Search for (Ctrl+F):

  • ERROR
  • Exception
  • Traceback
  • Killed
  • SIGKILL

Step 3: Copy These Sections

Copy and share:

  1. Lines showing device and model loading (first 20 lines)
  2. Lines when you submitted your prompt (around your text)
  3. Any ERROR or Exception messages (full traceback)
  4. The last 20 lines of the log

Quick Copy Template

Share this format:

=== STARTUP ===
[First 20 lines from logs showing "Using device" and "Loading models"]

=== WHEN I SUBMITTED PROMPT ===
[Lines showing "Generating motion for: 'your prompt'"]
[What happened next]

=== ERROR (if any) ===
[Any ERROR or Exception messages]

=== LAST 20 LINES ===
[Last 20 lines from the bottom]

Common Patterns to Look For

Pattern 1: Models Missing

ERROR: Model checkpoints not found!
Looking for: ./checkpoints
FileNotFoundError: [Errno 2] No such file or directory

β†’ Models weren't uploaded to HF Space

Pattern 2: Using CPU (Slow but Normal)

Using device: cpu
[1/4] Generating motion tokens...
[stuck here for 20 minutes]

β†’ CPU is slow, wait 30 mins OR upgrade to GPU

Pattern 3: Out of Memory

Killed
Process finished with exit code 137

β†’ Ran out of RAM

Pattern 4: Import Error

ModuleNotFoundError: No module named 'xxx'
ImportError: cannot import name 'xxx'

β†’ Missing dependency


Fast Way (if token is set)

If you have HUGGINGFACE_TOKEN set:

python simple_check.py

This shows:

  • Space status (Running/Stopped)
  • Hardware (CPU/GPU)
  • If checkpoints exist

What to Share

Just copy the logs and share them here. I'll identify the exact issue and give you the fix!

Direct link to logs: https://huggingface.co/spaces/nocapdev/my-gradio-momask/logs