Skip to main content
truss init [OPTIONS] TARGET_DIRECTORY
Creates a new Truss project in the specified directory with the standard file structure.

Options

-b, --backend
TrussServer | TRT_LLM
Server type to create. Default: TrussServer.
-n, --name
TEXT
The value assigned to model_name in config.yaml.

Arguments

TARGET_DIRECTORY
TEXT
required
Directory where the Truss project is created.
Example: To create a new Truss project, use the following:
truss init my-model
To create a Truss with a custom name, use the following:
truss init --name "My Model" my-model
To create a Truss with TRT_LLM backend, use the following:
truss init --backend TRT_LLM my-trt-model