Skip to content
Open
Changes from all commits
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
2 changes: 1 addition & 1 deletion examples/Qwen2-VL_Demo/export/export_vision.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def tmp (hidden_states, grid_thw=None):

return self.merger(hidden_states)
return tmp

# 导出 Vison 部分所对应的 onnx 模型,假设输入是2x3x392x392->(28x28)x(3x2x14x14)
# pixel_values = torch.randn(784, 1176, device="cuda", dtype=torch.float32)
pixel_values = torch.randn(N, channel, H, W, device="cpu", dtype=torch.float32)
Expand Down