microsoft / microsoft/onnxruntime-genai

Performance

Open
#1,382 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
1.1k
Forks
354
Avg merge
2d 16h
Merged PRs (30d)
85

Description

Hello Community,
I'm using onnxruntime-genai for creating my application using phi3.5 onnx.
I have noticed that the genrator.append_tokens() function is taking around 1-1.5s to process. I wanna learn how to solve this issue as every milli second of latency is important for my application. I'm using python. Please let me know you need any further logs to solve this issue, i'm very happy to provide them

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names the Python generator.append_tokens() call and Phi-3.5 ONNX usage, but no source files or tests. Start by reproducing the reported 1–1.5 second latency with profiling and the requested logs; done means identifying the bottleneck and documenting or validating a measurable improvement.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.