Skip to content

Commit

Permalink
7713 Update TRT parameter (#7714)
Browse files Browse the repository at this point in the history
Fixes #7713  .

### Description

A few sentences describing the changes proposed in this pull request.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [x] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: binliu <binliu@nvidia.com>
  • Loading branch information
binliunls committed Apr 26, 2024
1 parent 8c709de commit 6a130cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions monai/networks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,7 @@ def scale_batch_size(input_shape: Sequence[int], scale_num: int):
inputs=input_placeholder,
enabled_precisions=convert_precision,
device=target_device,
ir="torchscript",
**kwargs,
)

Expand Down

0 comments on commit 6a130cc

Please sign in to comment.