Skip to content
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

Feat: functionalize QuantTensor #878

Merged
merged 3 commits into from
Apr 18, 2024

Conversation

Giuseppe5
Copy link
Collaborator

@Giuseppe5 Giuseppe5 commented Feb 26, 2024

Depends on #839, #880, #847, #883

Outstanding layers:

  • Avgpool
  • QuantScaleBias
  • HadamardClassifier -> Left for another PR
  • QuantRNN and QuantLSTM (this might be challenging to abstract considering that we deal with proxys directly) -> Delayed indefinitely

@Giuseppe5 Giuseppe5 force-pushed the torch_function_support branch 4 times, most recently from f32ecaf to 0176483 Compare February 28, 2024 13:02
@Giuseppe5 Giuseppe5 self-assigned this Feb 28, 2024
@Giuseppe5 Giuseppe5 force-pushed the torch_function_support branch 4 times, most recently from c6f5216 to 368d0a3 Compare March 20, 2024 14:10
@Giuseppe5 Giuseppe5 force-pushed the torch_function_support branch 5 times, most recently from d84ad1f to dbdb7e3 Compare March 28, 2024 12:36
bit_width=output_bit_width,
signed=output_signed,
training=output_training)
else:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nickfraser I would like your opinion here

@Giuseppe5 Giuseppe5 force-pushed the torch_function_support branch 2 times, most recently from 40ea5b4 to 1365296 Compare April 9, 2024 12:39
@Giuseppe5
Copy link
Collaborator Author

Remove all max_acc_bit_width implementations from brevitas/nn

@nickfraser
Copy link
Collaborator

Once your above changes have been done, this LGTM

Copy link
Collaborator

@nickfraser nickfraser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, conditional on the changes we discussed.

@Giuseppe5 Giuseppe5 merged commit 29ed408 into Xilinx:dev Apr 18, 2024
22 checks passed
@Giuseppe5 Giuseppe5 deleted the torch_function_support branch April 18, 2024 17:05
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.

2 participants