mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-23 14:10:29 +00:00
[doc] add doc
This commit is contained in:
parent
9dec66fad6
commit
633e95b301
@ -94,6 +94,7 @@ inference_config = InferenceConfig(
|
|||||||
max_batch_size=4,
|
max_batch_size=4,
|
||||||
max_input_len=1024,
|
max_input_len=1024,
|
||||||
max_output_len=512,
|
max_output_len=512,
|
||||||
|
use_cuda_graph=False, # Turn on if you want to use CUDA Graph to accelerate inference
|
||||||
)
|
)
|
||||||
|
|
||||||
# Step 3: create an engine with model and config
|
# Step 3: create an engine with model and config
|
||||||
|
Loading…
Reference in New Issue
Block a user