lllyasviel / lllyasviel/FramePack
RTX 5090 via Pinokio - Black Screen Output - RuntimeWarning: invalid value encountered in cast
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
The model runs without error after a clean install of FramePack via Pinokio on Windows. Still, the final video output is a black screen, and no useful preview or "next latents" are shown in the interface.
The CLI does not crash, and inference completes, but the preview rendering fails silently, resulting in either:
1. A blank .mp4
2. An empty or black preview window
3. No video output at all
Logs (partial):
preview = (preview * 255.0).detach().cpu().numpy().clip(0, 255).astype(np.uint8)
RuntimeWarning: invalid value encountered in cast
System:
OS: Windows 11
Installed via: Pinokio
GPU: ZOTAC NVIDIA RTX 5090 32GB

Contributor guide
No contributing guide indexed for this repository
Research direction
Start from the preview rendering line shown in the log and reproduce the issue through the CLI inference path on Windows with the RTX 5090 setup described. Trace why invalid values reach the NumPy cast and verify that inference produces a non-black preview and a playable video output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100