Skip to content

Conversation

airaria
Copy link
Contributor

@airaria airaria commented Jul 17, 2023

Description

Adding --load_in_8bit option to inference_hf.py

Usage
Just add the --load_in_8bit to the launching command. For example:

python scripts/inference/inference_hf.py \
    --base_model path_to_merged_chinese_alpaca_plus \
    --with_prompt --interactive \
    --load_in_8bit

Related issue

#747

@airaria airaria requested a review from ymcui July 17, 2023 08:01
@ymcui ymcui merged commit 01eacec into main Jul 17, 2023
@ymcui ymcui deleted the update_inference_hf branch July 19, 2023 08:49
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

Successfully merging this pull request may close these issues.

2 participants