Expand description
SM-aware engine plan enumeration and counting.
Functionsยง
- count_
engine_ ๐files - Counts every
.enginefile indirregardless of_smXXsuffix. - count_
engine_ ๐files_ for_ sm - Counts
.enginefiles indirthat match the requested SM. - engine_
basenames_ ๐for_ sm - Returns sorted basenames of
.enginefiles underengine_dirthat match the requested SM, or all.enginebasenames whensmisNone. - engine_
basenames_ ๐in_ dir_ sorted - Returns sorted basenames of every
.enginefile underengine_dir, regardless of_smXXsuffix. - engine_
files_ ๐for_ sm - Returns full paths of
.enginefiles underengine_dirthat match the requested SM, or all.enginefiles whensmisNone. - matches_
sm_ ๐suffix - Returns
truewhennameis a TRT engine plan basename whose_smXXsuffix matches the requested SM exactly.