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

Segmentation fault (core dumped) #32

Open
lvdongyuan opened this issue Jun 4, 2023 · 0 comments
Open

Segmentation fault (core dumped) #32

lvdongyuan opened this issue Jun 4, 2023 · 0 comments

Comments

@lvdongyuan
Copy link

Hello,
when I run sample.py on ubuntu wsl of windows, it appears like this:
:~/progen-main/progen2$ python3 sample.py --model ${model} --t 0.8 --p 0.9 --max-length 1024 --num-samples 2 --context "1"
falling back to cpu
falling back to fp32
loading parameters
Segmentation fault (core dumped)
What's wrong with it? I also can't dowload torch==1.9.0. I fixed the requirements.txt as follows and it can be continue.
GNU nano 6.2 requirements.txt --find-links https://download.pytorch.org/whl/torch_stable.html
torch
transformers
tokenizers

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

1 participant