compvis / test /smoke_test.py
Dexter's picture
Upload folder using huggingface_hub
36c95ba verified
import pytest
import torch
@pytest.mark.parametrize("batch_size", [1, 2, 5])
def test_smoke(batch_size):
x = torch.rand(batch_size, 2, 3)
assert x.shape == (batch_size, 2, 3), x.shape