StreamDiffusion Installation Errors

I have been installing StreamDiffusion a couple of times on Windows 10 over the last week.

Most installation commands went smoothly. However, there were a couple of issues. I figured that I could record them here to help others with similar issues.

python -m streamdiffusion.tools.install-tensorrt

I encountered an error while trying to install TensorRT. I had to install two specific versions of huggingface_hub and transformers.

pip install huggingface_hub==0.25.2
pip install transformers==4.35.2

Also, trying to build the frontend written in TypeScript was not successful.

pnpm run build

The command above produced errors. I had to run the following four commands instead to achieve the same function as the command above.

npm install -g typescript
npm install -g vite
tsc
vite build

KeyError: ‘vision_model.embeddings.position_ids’ Model load has failed. Doesn’t exist.

pip install numpy==1.26.4

Leave a Reply