Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>zelos-engine-viewerNew to Visual Studio Code? Get it now.
zelos-engine-viewer

zelos-engine-viewer

seel.xu

| (0) | Free
在 VS Code / Cursor 中查看 TensorRT .engine 文件内嵌的计算图、性能耗时与层详情
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

zelos-engine-viewer

在 VS Code / Cursor 中直接打开 .engine 文件,可视化查看其中内嵌的 TensorRT 计算图、性能数据和层详情,无需启动 TensorRT 或加载 plan。

主要功能

  • 可视化展示层与 tensor 之间的连接关系
  • 按层类型着色,并显示 profile 中记录的平均耗时
  • 搜索层名、tensor 或 tactic,按耗时、名称、类型排序
  • 拖拽平移、滚轮缩放,点击节点查看输入、输出和参数
  • 使用耗时热力图快速定位性能热点

安装

从扩展市场安装 zelos-engine-viewer,或在 VS Code / Cursor 中通过「从 VSIX 安装」选择获得的 .vsix 文件。

要求 VS Code 或 Cursor 1.80.0 及以上版本。

使用方法

  1. 在资源管理器中打开 .engine 文件。
  2. 等待扩展读取文件内嵌的 graph 和 profile 数据。
  3. 在左侧搜索或排序层,在中间查看计算图,在右侧查看选中层详情。
  4. 使用鼠标拖拽和滚轮浏览大型计算图,或切换耗时热力图观察性能分布。

支持范围

本扩展支持包含 GGUF metadata,并在 graph_json 和 profile_json 中内嵌计算图及性能数据的 TensorRT engine。读取时不会加载后面的 TensorRT plan。

以下文件无法生成计算图:

  • 未内嵌 graph/profile 的裸 TensorRT plan
  • 不包含对应 metadata 的旧版 engine
  • ONNX Runtime engine

遇到这些文件时,扩展会提示「该 engine 未内嵌 graph/profile」,不会将其误报为文件损坏。

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft