Skip to content

Fixed the CI problem #3680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion py/torch_tensorrt/dynamo/_refit.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def construct_refit_mapping_from_weight_name_map(
params[w.split(".")[-1]] = state_dict[w].cuda()
# Batch norm constant folding

scale, shift = batch_norm_constant_folding(**params, eps=1e-7)
scale, shift = batch_norm_constant_folding(**params, eps=1e-5)
# Set scale to scale or shift to shift
engine_weight_map[engine_weight_name] = eval(
engine_weight_name.split(" ")[-1].lower()
Expand Down
2 changes: 1 addition & 1 deletion tests/py/dynamo/runtime/test_mutable_torchtrt_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def test_resnet18_modify_attribute():
"immutable_weights": False,
}

model = models.resnet18(pretrained=True).eval().to("cuda")
model = models.resnet18(pretrained=False).eval().to("cuda")
mutable_module = torch_trt.MutableTorchTensorRTModule(model, **compile_spec)
mutable_module(*inputs)

Expand Down
Loading