Installation Guide For nVidia 50 Series Card #53
Replies: 14 comments 12 replies
-
|
Great guide! Worked like a charm on my 50-series GPU. Just a small tip for anyone running into issues — if you're using Python 3.13, you might hit compatibility problems with some libraries like sentencepiece or torch. Fix: Install Python 3.12 or 3.11 instead. You don’t need to remove 3.13 — Python supports side-by-side versions. During installation: Then just create a virtual environment using the right version: This uses the compatible Python version without affecting your system setup. Hope that helps |
Beta Was this translation helpful? Give feedback.
-
|
Can you also provide a guide for 30 series GPUs please? My installation crashes when "Loading checkpoint shards" reaches 67% |
Beta Was this translation helpful? Give feedback.
-
|
In my environment, even when using the method described in this thread or after upgrading PyTorch from the One-Click Package (CUDA 12.6 + PyTorch 2.6) to PyTorch 2.7 or 2.8, my PC always crashes with a blue screen when I try to launch it. I've tried both versions of CUDA (12.8 and 12.8.1) and both PyTorch 2.7 and 2.8, but the result is always the same. I've given up for now, but I wanted to report that some users with RTX 5000 series GPUs may experience similar issues. Environment:
Tried versions:
|
Beta Was this translation helpful? Give feedback.
-
|
Previously I was getting a blue-screen at the “Downloading shards:” step, but by allocating at least 51,200 MB of virtual memory, it now starts up without crashing. If you don’t have enough free space on your C: drive, switch your dump type from “Complete memory dump” to “Small memory dump” or “Kernel memory dump,” then set up pagefiles on another drive so that the total virtual memory is at least 51,200 MB—this should allow it to launch. Below is what I did: python -m venv framepack_venv git clone https://github.com/lllyasviel/FramePack.git cd FramePack python.exe -m pip install --upgrade pip pip3 uninstall torch torchvision torchaudio -y pip3 install torch==2.7.0+cu128 torchvision==0.22.0+cu128 torchaudio==2.7.0+cu128 --index-url https://download.pytorch.org/whl/cu128 pip3 install xformers==0.0.30 pip3 install flash-attn sageattention python demo_gradio.py As of 2025-05-03, this appears to be the correct combination. As long as you keep each file at the matching version, you should even be able to update from the One-Click Package. I installed into D:\FramePack, so to simplify future launches I created a run.bat with the following contents. cd /d D:\FramePack When I first tried generating, I only got color-noise videos. 以前は「Downloading shards:」の所でブルースクリーンになっていましたが、仮想メモリを51200以上確保すればブルースクリーンにならずに起動できました。 行ったことの記録を残しておきます。 略 上記が250503時点での正しい組み合わせのようです。 私の場合はD:\FramePackにインストールしたので、次回以降の起動を楽にするために以下の内容でrun.batを作りました。 略 とりあえず生成を試してみた所、カラーノイズ動画しか生成されませんでした。 |
Beta Was this translation helpful? Give feedback.
-
|
I was planning to make the One-Click Package (CUDA 12.6 + PyTorch 2.6) work as well, but in the middle of the process, I realized I had made a mistake. So I redid everything as follows for the One-Click Package (CUDA 12.6 + PyTorch 2.6). In this example, the directory is D:\framepack_cu126_torch26. "D:\framepack_cu126_torch26\system\python\python.exe" -m pip install ^ "D:\framepack_cu126_torch26\system\python\python.exe" -m pip install ^ "D:\framepack_cu126_torch26\system\python\python.exe" -m pip install ^ "D:\framepack_cu126_torch26\system\python\python.exe" -m pip install -U "triton-windows<3.4" Flash Attention doesn’t have a wheel distribution yet, so you have to build it from source, which is such a hassle that I gave up. |
Beta Was this translation helpful? Give feedback.
-
|
this has worked for me! thanks! but how can i installed sage to this? I' haven't had any luck on that so far. |
Beta Was this translation helpful? Give feedback.
-
|
With python 3.10.11 installed, this worked for me on my 5060ti 16GB: Create and activate a virtual environment Clone FramePack Install requirements Install pytorch with cu128, Transformers, Triton and Sage Run FramePack |
Beta Was this translation helpful? Give feedback.
-
|
I got it to load, but when I try the sanity check or other image, I click on start generation, it goes to the "Start Sampling" stage, then it gives me an error of "connection erroed out" I have all drives with more than 60 gb free. |
Beta Was this translation helpful? Give feedback.
-
|
Hello! This installation is a bit of a rock 'n' roll affair. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
I've already been using Fooocus with CUDA 12.8 on Linux Mint 22.2 (Ryzen 9600X, 32GB RAM, 16GB RTX5060Ti), and Python 3.12. I have prior commands to setup/fix whenever driver updates or kernel updates break the Fooocus expected standard, which I applied here. I have had prior issues with cu121-cu126, which is why i found 128 works best in my experience. Downloaded and unpacked to fast NVME drive: |
Beta Was this translation helpful? Give feedback.
-
|
Layman here. alloystorm, i copy your code into windows command prompt and none of them work except for creating/activating the venv. can you help me understand why? i dont have coding knowledge but i really want this to work. |
Beta Was this translation helpful? Give feedback.
-
|
Tks your explain, but I met a trouble on your step 5(Run FramePack): D:\test\FramePack>python demo_gradio.py D:\test\FramePack> |
Beta Was this translation helpful? Give feedback.
-
|
Hi, The Solution Run the following command to install gradio: Bash After the installation successfully completes, try running your script again: Bash Bash This explicitly tells your system to use the pip module associated with the python executable you are running, which avoids confusion if you |
Beta Was this translation helpful? Give feedback.
-
|
I have installed python 3.11 and all other modules. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since this is not mentioned in the readme and 50 series users will run into issues if simply following the "One-CLick" package. I'm listing my installation steps below to help others.
This is assuming you have the required python version installed, the readme suggest 3.10 and my 3.11 works fine too. Use python --version to check your versions.
Beta Was this translation helpful? Give feedback.
All reactions