flux model engine_from_bytes(bytes_from_path(self.engine_path)) OutOfMemory
Open
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
from polygraphy.backend.trt import engine_from_bytes;
when run engine_from_bytes(bytes_from_path(self.engine_path)) OutOfMemory on L40 with 1gpu with flux-dev,how to solve
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported Python calls to engine_from_bytes and bytes_from_path using the Flux-dev engine on an L40 with one GPU. Reproduce the OutOfMemory failure and inspect the available TensorRT and Polygraphy diagnostics; done means identifying the memory stage and documenting a verified way to load the engine without the failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100