Skip to content

Move Class CudnnDropout to cudnn_common.h - #1492

Merged
Hector Li (HectorSVC) merged 3 commits into
masterfrom
hecli/cuda
Jul 26, 2019
Merged

Move Class CudnnDropout to cudnn_common.h #1492
Hector Li (HectorSVC) merged 3 commits into
masterfrom
hecli/cuda

Conversation

@HectorSVC

Copy link
Copy Markdown
Contributor
  1. Move Class CudnnDropout to cudnn_common.h so that can share it with other ops. Move the cuda memory allocation part out of CudnnDropout to avoid memory leak.
  2. Move non_max_suppression_test.cc to object_detection folder

@HectorSVC
Hector Li (HectorSVC) requested a review from a team as a code owner July 24, 2019 23:46
Comment thread onnxruntime/core/providers/cuda/cudnn_common.h
@HectorSVC
Hector Li (HectorSVC) merged commit 717e764 into master Jul 26, 2019
@HectorSVC
Hector Li (HectorSVC) deleted the hecli/cuda branch July 26, 2019 17:41
Dmitri Smirnov (yuslepukhin) pushed a commit that referenced this pull request Mar 17, 2026
## Describe your changes

Fix Olive bugs & Add Bert inc examples to example pipeline.

- `batch_size` is needed for Inc dataloader. Set default size to 1.
- Custom eval func doesn't have batch_size as input.
- For `QuantizationAwareTraining` pass, `train_data_config` is not
required if user provides `training_loop_func`.
- Latest transformers package will automatically save trained model as
safetensors format. Add `save_safetensors` as false to train argument.
- Some passes may have nested data_config in its config. Update
auto-fill data_config logic to achieve this.

## Checklist before requesting a review
- [ ] Add unit tests for this change.
- [ ] Make sure all tests can pass.
- [ ] Update documents if necessary.
- [ ] 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