Skip to content

Commit

Permalink
Put link to ref.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Jan 30, 2025
1 parent 51bc8a4 commit c174142
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/text_generation_server/layers/fp8.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ def get_shared_device_identity(cls, device):

def forward(self, input: torch.Tensor) -> torch.Tensor:
if self.weight_block_size is not None:
# https://arxiv.org/pdf/2412.19437
# At a more granular level. As illustrated in Figure 7 (a), (1) for activations, we group and
# scale elements on a 1x128 tile basis (i.e., per token per 128 channels); and (2) for weights, we
# group and scale elements on a 128x128 block basis (i.e., per 128 input channels per 128 output
Expand Down

0 comments on commit c174142

Please sign in to comment.