Skip to content
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

python: tpp.c:83: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed. #10

Open
shanghailiwei opened this issue Mar 16, 2024 · 1 comment

Comments

@shanghailiwei
Copy link

(vlogger_backup) root@ubuntu-vm01:/sdb/github/Vlogger# python sample_scripts/vlog_read_script_sample.py

Seed set to 3407

pretrained/stable-diffusion-v1-4/unet/config.json

Warnning: using half percision for inferencing!

model ready!

protagonists ready!

video script ready!

reference script ready!

zh script ready!

time script ready!

Generating the (Teddy bear in a kid's room.) prompt

python: tpp.c:83: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed.

Aborted (core dumped)

@zhuangshaobin
Copy link
Collaborator

The error message you've encountered indicates that there's a failed assertion within the C library that handles thread priority (tpp.c). The assertion failure is related to thread priority values, where new_prio should either be -1 or within the range defined by fifo_min_prio and fifo_max_prio.

Here are some steps to troubleshoot and potentially resolve the issue:

· pip install --upgrade pip

· pip install --upgrade setuptools

· pip install --upgrade [package-name]

Hope the above can help you.

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