Skip to content

Conversation

prathikr
Copy link
Contributor

Resolves the following issue affecting the patchtst model:

Non-zero status code returned while running Concat node. Name:'/patching/Concat' 
Status Message: The number of storage buffer (input=32, output=1) exceeds the limit 
(8) of the device.

@prathikr prathikr changed the title [WebGPU EP] extend concat to handle >maxStorageBuffersPerShaderStage inputs [WebGPU EP] extend concat to handle large number of inputs Jun 25, 2025
@prathikr prathikr requested review from fs-eire and guschmue June 26, 2025 20:37
Comment on lines 151 to 152
// Create intermediate tensor to store result of this pass
auto intermediate = context.CreateGPUTensor(current_inputs[0]->DataType(), std::move(pass_shape));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to always use prepare.output_tensor as output so that creating intermediate buffers can be avoided?

@guschmue guschmue added the ep:WebGPU ort-web webgpu provider label Jul 1, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can commit the suggested changes from lintrunner.

@prathikr prathikr marked this pull request as draft July 7, 2025 22:32
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can commit the suggested changes from lintrunner.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can commit the suggested changes from lintrunner.

@prathikr
Copy link
Contributor Author

Continued in #25390

@prathikr prathikr closed this Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ep:WebGPU ort-web webgpu provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants