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

Not found in ast index file #24

Open
StarLuckLee opened this issue Jan 3, 2024 · 5 comments
Open

Not found in ast index file #24

StarLuckLee opened this issue Jan 3, 2024 · 5 comments

Comments

@StarLuckLee
Copy link

对这个项目很感兴趣,但我是一个靠GPT4来指导我部署anytext的新新手,请问我这是碰到什么问题了?(GPT貌似都有些束手无策了)

(anytext) C:\Windows\System32\Anytext>python inference.py
2024-01-03 14:23:34,487 - modelscope - INFO - PyTorch version 2.1.2+cu118 Found.
2024-01-03 14:23:34,489 - modelscope - INFO - TensorFlow version 2.13.0 Found.
2024-01-03 14:23:34,489 - modelscope - INFO - Loading ast index from C:\Users\HP.cache\modelscope\ast_indexer
2024-01-03 14:23:34,572 - modelscope - INFO - Loading done! Current index file version is 1.10.0, with md5 026f7c772a5d4e347142d024af000099 and a total number of 946 components indexed
2024-01-03 14:23:35,808 - modelscope - INFO - Use user-specified model revision: v1.1.0
2024-01-03 14:23:38,550 - modelscope - WARNING - ('PIPELINES', 'my-anytext-task', 'my-custom-pipeline') not found in ast index file
2024-01-03 14:23:38,551 - modelscope - INFO - initiate model from C:\Users\HP.cache\modelscope\hub\damo\cv_anytext_text_generation_editing
2024-01-03 14:23:38,552 - modelscope - INFO - initiate model from location C:\Users\HP.cache\modelscope\hub\damo\cv_anytext_text_generation_editing.
2024-01-03 14:23:38,555 - modelscope - INFO - initialize model from C:\Users\HP.cache\modelscope\hub\damo\cv_anytext_text_generation_editing
2024-01-03 14:23:38,559 - modelscope - WARNING - ('MODELS', 'my-anytext-task', 'my-custom-model') not found in ast index file
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.

(anytext) C:\Windows\System32\Anytext>

@StarLuckLee StarLuckLee changed the title Not found in sat index file Not found in ast index file Jan 3, 2024
@tyxsspa
Copy link
Owner

tyxsspa commented Jan 3, 2024

�Hi, maybe try this:

pip install triton==2.0.0

@StarLuckLee
Copy link
Author

嗨,也许试试这个:

pip install triton==2.0.0

C:\Windows\system32>pip install triton==2.0.0
ERROR: Could not find a version that satisfies the requirement triton==2.0.0 (from versions: none)
ERROR: No matching distribution found for triton==2.0.0

我意识到这可能是个很简单的错误,但我没有任何基础,有点无从下手,如果您能继续指点我,我将万分感激

@brianyuastri
Copy link

Brief research suggests that pip install triton is not possible on Windows

@StarLuckLee
Copy link
Author

简短的研究表明 pip install tr​​iton 在 Windows 上是不可能的

我在triton的github上也看到相关的内容

@tyxsspa
Copy link
Owner

tyxsspa commented Jan 3, 2024

看起来#22 @AhBumm 在windows是跑成功的,能否帮看看?

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

3 participants