8000 Interoperation between JIT and QuantTensor · Issue #1266 · Xilinx/brevitas · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Interoperation between JIT and QuantTensor #1266
Open
@nickfraser

Description

@nickfraser

Relates to #1163 & #1042. Several functions were updated with a Union[bool, Tensor] in #1042 to support receiving a signed: Tensor parameter from IntQuantTensor and passing it to all necessary downstream functions while compiling them all with the JIT. However, when considered in the context of #1163, it would be much better to not create an IntQuantTensor with a Tensor, but rather as a bool, but PyTorch's JIT doesn't allow us to do that.

Currently, requirements from the JIT require Tensor creation, which creates additional complexity in #1042, at the cost of slow QuantTensor creation (#1163). This should be revisited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or p 2B3B ull requests

    Issue actions

      0