Skip to content

builtins.AssertionError: Unresolvable type None #1269

Closed
@flytair

Description

@flytair

hi,
when i run static_quantization_tutorial.py, it assert error at:

torch.jit.save(torch.jit.script(per_channel_quantized_model), saved_model_dir + scripted_quantized_model_file)

the error message is:
assert base is not None, "Unresolvable type {}".format(expr[:i])
builtins.AssertionError: Unresolvable type None

cc @jerryzh168 @jianyuh @sekyondaMeta @svekars @carljparker @NicolasHug @kit1980 @subramen

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions