Closed jeremyfowers closed 3 months ago
@danielholanda @ramkrishna2910 @vgodsoe please discuss
This looks like a great option and I honestly can't think of a better alternative.
I also like the idea of formalizing this as you are doing. Maybe there is even a part of the code where we check whether the specific stage in a plugin complies with our requirements.
Closed by #190
Ideally there is a consistent naming scheme, and we can use the sequence in a sentence.
General rules:
Proposal:
load-
load-build
load-onnx
(formerlyonnx-load
)load-llm-checkpoint
export-SOURCE
since the "onnx" part is assumedexport-pytorch
ACTION[-RESULT]
whereRESULT
optionally adds necessary detail to the actionoptimize
(formerlyoptimize-onnx
)convert-fp16
quantize-int8
discover
,benchmark
: no changecompile-TARGET
, likecompile-ryzen-npu
This allows for sequences-as-sentences like the following (with prepositions assumed):
discover
thenexport-[to-]pytorch[-to-onnx]
thenoptimize
thenquantize-[to-]int8
thencompile-[for-]ryzen-npu