lllyasviel / lllyasviel/FramePack

RTX 5090 via Pinokio - Black Screen Output - RuntimeWarning: invalid value encountered in cast

Open
#159 4 comments 0 reactions 0 assignees View on GitHub
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

![Image](https://github.com/user-attachments/assets/a975079b-b1ce-43a0-a12b-c23e00e691e7)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.