Skip to content

Add BuildError for --gen_doc and --enable_training#12630

Merged
thiagocrepaldi merged 1 commit into
mainfrom
thiagofc/prevent-gen-doc-for-training
Aug 17, 2022
Merged

Add BuildError for --gen_doc and --enable_training#12630
thiagocrepaldi merged 1 commit into
mainfrom
thiagofc/prevent-gen-doc-for-training

Conversation

@thiagocrepaldi
Copy link
Copy Markdown
Contributor

Currently, when building ORT with both --gen_doc --enable_training, the document generation fails with missing schemadef definition.

That happens because only inference builds add python bindings for it. #10980 tried to address sch limitation, but it wasn't accepted

This PR adds a build validation error to warn the user about such limitation in the hope of saving debug time for an unsupported scenario

@thiagocrepaldi thiagocrepaldi requested review from pengwa and snnn August 17, 2022 15:08
@thiagocrepaldi thiagocrepaldi added documentation improvements or additions to documentation; typically submitted using template training issues related to ONNX Runtime training; typically submitted using template build build issues; typically submitted using template labels Aug 17, 2022
@thiagocrepaldi thiagocrepaldi merged commit d1ba801 into main Aug 17, 2022
@thiagocrepaldi thiagocrepaldi deleted the thiagofc/prevent-gen-doc-for-training branch August 17, 2022 18:18
@natke natke removed the documentation improvements or additions to documentation; typically submitted using template label Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build build issues; typically submitted using template training issues related to ONNX Runtime training; typically submitted using template

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants