-
Notifications
You must be signed in to change notification settings - Fork 197
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
Causal LM text generation example errors out #406
Comments
|
@Wovchena thanks for your response and apologies for the delay in my reply. I separated the environments this time and ensured the right packages are used in each. The pipeline now runs without errors on both While inference on More info
To get this to work, I had to remove [UPDATE] I just checked Auto-GPTQ's repo and noticed an issue from last year discussing lack of CPU-only support for their package. If this is the cause of the installation issue, I'm still not sure why it worked on |
@allnes, @alvoron, please take a look at
and
@wgzintel, @eaidova, can |
Maybe this one is the solution https://stackoverflow.com/questions/29222269/is-there-a-way-to-have-a-conditional-requirements-txt-file-for-my-python-applica |
Hi @Wovchena
However, skipping its installation doesn't seem to affect the quality of generated text. In general, the output quality degrades significantly as the model is compressed to lower precisions. That, however, is an issue for another day. Thank you for your support. Marking this issue as closed. |
I am trying to run text generation using
text_generaion/causal_lm/cpp/greedy_causal_lm.cpp
without any modifications. I followed the build instructions in the README and ran this command, after which I was shown the following error.I have limited knowledge of the toolkit's internal processes, and would like to get some indication of where this issue might be arising from (and how it could be resolved).
System information
gcc
andg++
versions 11.4.0The python environment has the following packages among others:
Other things to note
aarch64
andx86
processors and a shared file system. The tokenizer conversion usingopenvino-tokenizers
(command below) runs successfully every time on theaarch64
machine but often results in a seg fault on thex86
machine. I could not find any pattern in the occurrence of seg faults.aarch64
machine, trying to buildgreedy_causal_lm.cpp
along with other files usingcmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/ && cmake --build ./build/ -j
results in the following error. This never occurs on thex86
machine.I've had to switch between the two machines to execute specific commands that run on those machines successfully. This could have resulted in some issues as well.
The text was updated successfully, but these errors were encountered: