parallel-prompt-decoding
Efficient LLM Inference Acceleration using Prompting
File Explorer
Download Latest Version (.zip)- accept_length.py
- common.py
- gen_judgment.py
- gen_model_answer_baseline.py
- gen_model_answer_prompt_decoding.py
- get_throughput_results.py
- README.md
- show_result.py
- tree_latency.py
- webui.py
- .DS_Store
- latency.png
- Overview.png
- ppd_demo.gif
- PPD_LOGO.png
- Speed_Mem_Train.png
- generate_dataset.py
- tutorial.ipynb
- __init__.py
- eval.py
- __init__.py
- dynamic_sparse_trees_2_13b.py
- dynamic_sparse_trees_2_7b.py
- dynamic_sparse_trees_3_MobileLLaMA.py
- dynamic_sparse_trees_3_vicuna_13b.py
- dynamic_sparse_trees_3_vicuna_68m.py
- dynamic_sparse_trees_3_vicuna_7b.py
- full_sparse_trees_3_13b.py
- full_sparse_trees_3_7b.py
- random_sparse_trees_3_7b.py
- sparse_tree_builder.py
- __init__.py
- kv_cache.py
- model.py
- modeling_llama_custom.py
- __init__.py
- train.py
- __init__.py
- hf_utils.py
- utils.py
- eval-2-1-ensemble.sh
- optimal-sparse-tree.sh
- vicuna-13b-gen.sh
- vicuna-7b-gen.sh
- train-ensemble-attention-kd.sh
- .gitignore
- LICENSE
- poetry.lock
- pyproject.toml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/hmarkc/parallel-prompt-decoding
Downloads the entire project code from GitHub to your computer.
cd parallel-prompt-decoding
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -e .
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
