NVIDIA / NVIDIA/TensorRT

Does Flux not support int8?

Open
#4,208 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Module:Demo triaged
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

When I use the command "
python demo_txt2img_flux.py prompt
--version "flux.1-dev"
--int8
" run the code, the engine file size is the same with float16, how to solve the problem?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with demo_txt2img_flux.py and reproduce the command using --version "flux.1-dev" with and without --int8. Compare the generated engine files and trace how the precision option is handled; the issue is resolved when int8 support and the differing or unchanged file size are clearly explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.