Skip to content

Enable FP8 Parallel LM Head - #833

Open
R3hankhan123 wants to merge 1 commit into
torch-spyre:mainfrom
R3hankhan123:fp8-parallel-lm-head
Open

Enable FP8 Parallel LM Head#833
R3hankhan123 wants to merge 1 commit into
torch-spyre:mainfrom
R3hankhan123:fp8-parallel-lm-head

Conversation

@R3hankhan123

Copy link
Copy Markdown
Contributor

Description

Enable FP8 Quantization for Parallel LM Head

Related Issues

Fixes #255

Test Result

Request

curl http://localhost:8002/v1/chat/completions   -H "Content-Type: application/json"   -d '{
    "model": "ibm-granite/granite-4.1-8b-fp8",
    "messages": [
      {
        "role": "user",
        "content": "Hello! Explain what a transformer model is in one paragraph."
      }
    ],
    "max_tokens": 20,
    "temperature": 0.7
  }'

Output

 "content": "A transformer model is a type of deep learning architecture designed to process and generate sequential data, such as",

Checklist

  • I have read the contributing guidelines
  • My code follows the project's code style (run bash format.sh)
  • I have added tests for my changes (if applicable)
  • I have updated the documentation (if applicable)
  • My commits include a Signed-off-by: line (DCO compliance)

@R3hankhan123
R3hankhan123 requested review from a team, dilipgb and yannicks1 as code owners September 10, 2026 07:46
@github-actions

Copy link
Copy Markdown
Contributor

👋 Hi! Thank you for contributing.
Just a reminder: Make sure that your code passes all the linting checks, otherwise your PR won't be able to be merged. To do so, run ./format.sh.
Now you are good to go 🚀.

We also recommend installing prek and configuring it to check your code before every local commit.

@R3hankhan123
R3hankhan123 force-pushed the fp8-parallel-lm-head branch 5 times, most recently from b9e1a7e to a08223c Compare September 10, 2026 11:41
Signed-off-by: Rehan Khan <Rehan.Khan7@ibm.com>
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.

[FP8] Add FP8 support to ParallelLMHead

1 participant