Open Darustc4 opened 1 year ago
Thank you for submitting this issue. While I can't provide a timeline for resolution as the moment, please know that your feedback is valuable to us. We will follow up once we can review this issue.
I have the same issue.
@fdwr @jstoecker Hi, I am wondering if there has been any improvement whatsoever for Pytorch directml. Using version 0.2.3.dev240715 and the timm_3d library for standard deep learning convolutional networks, I always the get
File ~\AppData\Roaming\Python\Python310\site-packages\torch\nn\modules\conv.py:605 in _conv_forward return F.conv3d( RuntimeError: input must be 4-dimensional
no matter which model I use. But I can readily use the same models run on CPU or image models using 2D convolution with torch-directml. I believe implementing 3D convolutions is much needed. This is one of the main areas of computer vision with large computational requirements and is needed for both 3D volumetric and video processing models.
Hi, I am wondering if there has been any improvement whatsoever for Pytorch directml
@smk2007 and @linnealovespie work on the PyTorch-on-DML fork and would know more (Justin and I are more DirectML.dll experts), but I heard PyTorch-on-DML recently got many updates (release date unknown).
I believe implementing 3D convolutions is much needed.
Sheil might know directly if that was in those pending updates.
If not, could you give me some pointers so that I can try to implement it/fix it and make a PR? I'm happy to help.
Sheil, is the PyTorch fork not open source? Just like https://github.com/microsoft/tensorflow-directml, I'd expect an equivalent https://github.com/microsoft/pytorch-directml repo.
Still very interested in this
@smk2007 and @linnealovespie work on the PyTorch DML fork and would know more (Justin and I are more DirectML.dll experts), but I heard PyTorch recently got many updates to use DML.
'3dConv's were broken from the start. With tensorflow-directml no longer being updated, torch-directml was the only way we could use Radeon/ARC GPU acceleration for model training.
Sheil, is the PyTorch fork not open source? Just like https://github.com/microsoft/tensorflow-directml, I'd expect an equivalent https://github.com/microsoft/pytorch-directml repo.
Quite interesting because we are redirected here for raising issues either way.
I was trying to make 3D convolutions work with DirectML with the following snippet:
But I get the following error: RuntimeError: input must be 4-dimensional
I have tried switching the layer to use 2D operations and removing 1 dimension from the tensor and it works no problem. Is this a bug with the 3D operations? Is it not implemented? If not, could you give me some pointers so that I can try to implement it/fix it and make a PR? I'm happy to help.