torch icon indicating copy to clipboard operation
torch copied to clipboard

TensorLy-Torch: Deep Tensor Learning with TensorLy and PyTorch

Results 8 torch issues
Sort by recently updated
recently updated
newest added

Hi, Thanks for creating and maintaining this library. I had a couple of basic questions, would be great if you could answer: 1. What is the difference between the files...

Thank you for the library. Have you considered adding support for exporting factorized layers (`FactorizedConv`) to ONNX?

Minimal Code to reproduce the error: ```python import torch import tltorch test_conv3d = torch.nn.Conv3d(1024, 512, (3,3,3), padding=(3,1,1)) print(tltorch.FactorizedConv.from_conv(test_conv3d, rank='same', factorization='cp')) ``` Error: ``` RuntimeError: [enforce fail at alloc_cpu.cpp:83] err ==...

``` import tltorch import torch from torch.profiler import profile, record_function, ProfilerActivity data = torch.randn((4, 16), dtype=torch.float32) linear = torch.nn.Linear(16, 10) fact_linear = tltorch.FactorizedLinear.from_linear(linear, auto_tensorize=False, in_tensorized_features=(4, 4), out_tensorized_features=(2, 5), rank=0.1, factorization="tucker")...

Minimal Code: ```python import torch from torch.nn import Module from tltorch import FactorizedConv class Test(Module): def __init__(self): super(Test, self).__init__() self.layer = FactorizedConv(3, 4, 3, factorization='tucker', order=3) def main(): # Instantiate...

I have tried to make a 3D convolutional layer with the following parameters: `padding='same'` and `groups='in_channels' ` and l get an `AssertionError.` Either with `tltorch.FactorizedConv()` or `tltorch.FactorizedConv.from_conv()` It seems that...