Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vllm/profiler/layerwise_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def export_summary_stats_table_csv(self, filename: str):
])
df.to_csv(filename)

def convert_stats_to_dict(self) -> str:
def convert_stats_to_dict(self) -> dict:
return {
"metadata": {
"num_running_seqs": self.num_running_seqs
Expand Down Expand Up @@ -227,7 +227,7 @@ def _total_cuda_time(self):
[self._cumulative_cuda_time(root) for root in self._module_tree])

def _build_stats_trees(self):
summary_dict: Dict[str, self.StatsTreeNode] = {}
summary_dict: Dict[str, _StatsTreeNode] = {}
total_cuda_time = self._total_cuda_time()

def pct_cuda_time(cuda_time_us):
Expand Down
Loading