离线推理 python examples/offline_inference/basic/basic.py # SPDX-License-Identifier: Apache-2.0 from vllm import LLM, SamplingParams if __name__ == '__main__': # Sample prompts. prompts = [ "Hello, my name is"