Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jul 3, 2024
1 parent 18b5c45 commit d055289
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions benchmarks/distributed/dataloading.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
import torch
import tqdm

from tensordict import MemoryMappedTensor
from tensordict.prototype import tensorclass
from tensordict import MemoryMappedTensor, tensorclass
from torch import multiprocessing as mp, nn
from torch.distributed import rpc
from torch.utils.data import DataLoader
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/tensorclass/test_tensorclass_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import pytest
import torch

from tensordict.prototype import tensorclass
from tensordict import tensorclass


@tensorclass
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/tensorclass/test_torch_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
import torch

from tensordict.prototype import tensorclass
from tensordict import tensorclass


@tensorclass
Expand Down

0 comments on commit d055289

Please sign in to comment.