Skip to content

[feature request] sparse x dense bmm #5672

@juniorrojas

Description

@juniorrojas

I'm working on a model that requires computing what's currently implemented in torch.bmm, with the difference that the first argument is a batch of sparse matrices rather than dense matrices. Since torch.bmm has nice autodiff and gpu support, it's the closest operation I found in pytorch that fits my current needs and I'm converting my sparse tensors to dense tensors to use it, but it's not optimal and it'd be very useful to have a sparse x dense bmm.

cc @ezyang @gchanan @zou3519 @jerryzh168 @vincentqb

Metadata

Metadata

Assignees

Labels

featureA request for a proper, new feature.high prioritymodule: sparseRelated to torch.sparseproposal acceptedThe core team has reviewed the feature request and agreed it would be a useful addition to PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions