Content-Length: 279648 | pFad | http://github.com/pytorch/pytorch/pull/146756/commits/1e3b6b0c50d357420699cb302743ae60683a7689

47 [Inductor][CPU] Add GEMM templates for _weight_int4pack_mm_for_cpu with AVX512 by Xia-Weiwen · Pull Request #146756 · pytorch/pytorch · GitHub
Skip to content

[Inductor][CPU] Add GEMM templates for _weight_int4pack_mm_for_cpu with AVX512 #146756

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

Closed
wants to merge 14 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update
[ghstack-poisoned]
  • Loading branch information
Xia-Weiwen committed Feb 28, 2025
commit 1e3b6b0c50d357420699cb302743ae60683a7689
1 change: 1 addition & 0 deletions torch/_inductor/quantized_lowerings.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def int4pack_mm_cpu(
# define functions to generate example inputs for weight and group size
# otherwise, autotuner generates example inputs of all zeros for them
def get_example_weight(x: torch._inductor.ir.IRNode) -> torch.Tensor:
assert x.get_layout().is_contiguous()
shape = x.get_size()
device = x.get_device()
return torch.randint(0, 255, shape, dtype=torch.uint8, device=device)
Expand Down
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/pytorch/pytorch/pull/146756/commits/1e3b6b0c50d357420699cb302743ae60683a7689

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy