Views
No views yet
1
2# Make sure you have git-lfs installed (https://git-lfs.com)
3git lfs install
4
5git clone https://huggingface.co/muhtasham/llama3-ins-8b-int4-trt-llm
6
7git clone https://github.com/NVIDIA/TensorRT-LLM.git
8
9python ./TensorRT-LLM/examples/run.py --engine_dir=./ \
10 --max_output_len 5 \
11 --tokenizer_dir llama3-hf \
12 --input_text "How do I count to nine in French?" \
13 --run_profiling
14
152024-04-25 19:35:59.062455: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
16Input [Text 0]: "<|begin_of_text|>How do I count to nine in French?"
17Output [Text 0 Beam 0]: " Counting in French is"
18batch_size: 1, avg latency of 10 iterations: : 0.0999948501586914 sec