Skip to content

error when running workflow: "Failed to convert an input value to a INT value: riflex_freq_index, None, int() argument must be a string, a bytes-like object or a real number, not 'NoneType'" #452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
OnyxMeow opened this issue Mar 13, 2025 · 6 comments

Comments

@OnyxMeow
Copy link

OnyxMeow commented Mar 13, 2025

no idea what this means. I have this workflow set up:

Image
ignore trump hes a placeholder.

and when I try to run it, the HunyuanVideo Sampler node fails with the error in the title.
the following is given in the terminal:

Image

any help? I have an RTX 4070 btw, if thats any help.

@kijai
Copy link
Owner

kijai commented Mar 13, 2025

It's an update issue again, either the nodes are older than the workflow or you haven't refreshed the browser between updates. Try just setting the value it complains about again, the riflex_frew_index, set it to 0 even if it already seems to show that.

If that doesn't help, right click the node and choose "fix node".

@OnyxMeow
Copy link
Author

It's an update issue again, either the nodes are older than the workflow or you haven't refreshed the browser between updates. Try just setting the value it complains about again, the riflex_frew_index, set it to 0 even if it already seems to show that.

If that doesn't help, right click the node and choose "fix node".

alright, I fixed that problem.
another one that I'm encounter are memory issues... sorry for so many questions, I hope it's not too annoying - how could I reduce vram usage? I have about 12gb.

@kijai
Copy link
Owner

kijai commented Mar 14, 2025

It's an update issue again, either the nodes are older than the workflow or you haven't refreshed the browser between updates. Try just setting the value it complains about again, the riflex_frew_index, set it to 0 even if it already seems to show that.
If that doesn't help, right click the node and choose "fix node".

alright, I fixed that problem. another one that I'm encounter are memory issues... sorry for so many questions, I hope it's not too annoying - how could I reduce vram usage? I have about 12gb.

Main way to control that is increasing the number of blocks swapped, maximum is 20 double blocks and 40 single blocks, that's with the block swap node that connects to the model loader.

Alternatively enable the auto_cpu_offload in the model loader.

@OnyxMeow
Copy link
Author

It's an update issue again, either the nodes are older than the workflow or you haven't refreshed the browser between updates. Try just setting the value it complains about again, the riflex_frew_index, set it to 0 even if it already seems to show that.
If that doesn't help, right click the node and choose "fix node".

alright, I fixed that problem. another one that I'm encounter are memory issues... sorry for so many questions, I hope it's not too annoying - how could I reduce vram usage? I have about 12gb.

Main way to control that is increasing the number of blocks swapped, maximum is 20 double blocks and 40 single blocks, that's with the block swap node that connects to the model loader.

Alternatively enable the auto_cpu_offload in the model loader.

I added the blockswap node and enabled auto cpu offload, I'm still getting CUDA out of memory errors. I guess my card just isnt powerful enough?

@kijai
Copy link
Owner

kijai commented Mar 14, 2025

It's an update issue again, either the nodes are older than the workflow or you haven't refreshed the browser between updates. Try just setting the value it complains about again, the riflex_frew_index, set it to 0 even if it already seems to show that.
If that doesn't help, right click the node and choose "fix node".

alright, I fixed that problem. another one that I'm encounter are memory issues... sorry for so many questions, I hope it's not too annoying - how could I reduce vram usage? I have about 12gb.

Main way to control that is increasing the number of blocks swapped, maximum is 20 double blocks and 40 single blocks, that's with the block swap node that connects to the model loader.
Alternatively enable the auto_cpu_offload in the model loader.

I added the blockswap node and enabled auto cpu offload, I'm still getting CUDA out of memory errors. I guess my card just isnt powerful enough?

Depends on the error, if it's allocation error it's about VRAM, if not then it's about RAM.

@OnyxMeow
Copy link
Author

It's an update issue again, either the nodes are older than the workflow or you haven't refreshed the browser between updates. Try just setting the value it complains about again, the riflex_frew_index, set it to 0 even if it already seems to show that.
If that doesn't help, right click the node and choose "fix node".

alright, I fixed that problem. another one that I'm encounter are memory issues... sorry for so many questions, I hope it's not too annoying - how could I reduce vram usage? I have about 12gb.

Main way to control that is increasing the number of blocks swapped, maximum is 20 double blocks and 40 single blocks, that's with the block swap node that connects to the model loader.
Alternatively enable the auto_cpu_offload in the model loader.

I added the blockswap node and enabled auto cpu offload, I'm still getting CUDA out of memory errors. I guess my card just isnt powerful enough?

Depends on the error, if it's allocation error it's about VRAM, if not then it's about RAM.

It says "AllocationError: CUDA out of memory"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants