Skip to content

Small update to GraphLoadedFromModelFile check#1083

Merged
skottmckay merged 2 commits into
masterfrom
skottmckay/TweakCheckOnWhetherGraphInstanceWasLoadedFromFile
Sep 11, 2019
Merged

Small update to GraphLoadedFromModelFile check#1083
skottmckay merged 2 commits into
masterfrom
skottmckay/TweakCheckOnWhetherGraphInstanceWasLoadedFromFile

Conversation

@skottmckay
Copy link
Copy Markdown
Contributor

A subgraph may have no inputs (e.g. subgraph in If has no explicit inputs) or value infos (e.g. a subgraph with just an If node in it).

It should always have outputs but in case it doesn't (nothing fails currently if it doesn't even though that makes it meaningless) make sure it has a node if there are no outputs.

…puts) or value infos (e.g. a subgraph with just an If node in it).

It should always have outputs but in case it doesn't (nothing fails currently if it doesn't even though that makes it meaningless) make sure it also has a node.
@skottmckay skottmckay requested a review from a team as a code owner May 22, 2019 21:28
@yuslepukhin yuslepukhin closed this Aug 6, 2019
@yuslepukhin yuslepukhin deleted the skottmckay/TweakCheckOnWhetherGraphInstanceWasLoadedFromFile branch August 6, 2019 17:03
@yuslepukhin yuslepukhin restored the skottmckay/TweakCheckOnWhetherGraphInstanceWasLoadedFromFile branch August 6, 2019 17:19
@yuslepukhin yuslepukhin reopened this Aug 6, 2019
@skottmckay skottmckay merged commit 35c5c4d into master Sep 11, 2019
@skottmckay skottmckay deleted the skottmckay/TweakCheckOnWhetherGraphInstanceWasLoadedFromFile branch September 11, 2019 01:04
yuslepukhin pushed a commit that referenced this pull request Mar 17, 2026
## Describe your changes
- `ExtractAdapters` pass supports int4 quantized models. 
- Previously output models were always saved with external data.
External data config options are exposed to the user.
- `export_adapters` script also supports quantizing the weights to int4.

## Checklist before requesting a review
- [x] Add unit tests for this change.
- [x] Make sure all tests can pass.
- [ ] Update documents if necessary.
- [x] Lint and apply fixes to your code by running `lintrunner -a`
- [ ] Is this a user-facing change? If yes, give a description of this
change to be included in the release notes.
- [ ] Is this PR including examples changes? If yes, please remember to
update [example
documentation](https://github.com/microsoft/Olive/blob/main/docs/source/examples.md)
in a follow-up PR.

## (Optional) Issue link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants