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

inference OOM #154

Open
PharMolix opened this issue Dec 9, 2023 · 0 comments
Open

inference OOM #154

PharMolix opened this issue Dec 9, 2023 · 0 comments

Comments

@PharMolix
Copy link

你好!
我使用repo提供的环境和inference.py代码,在4*80G A100上进行inference,结果遇到了OOM的问题

python inference.py  \
        --base_model merge_model/7b \
        --question "介绍一下这本书的内容" \
        --context_size 32768 \
        --max_gen_len 512 \
        --flash_attn True \
        --material "materials/chinese_medical_long.txt"

请问可能是什么原因呢?

@PharMolix PharMolix closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2023
@PharMolix PharMolix reopened this Dec 9, 2023
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