mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 06:26:03 +00:00
16 lines
269 B
Python
16 lines
269 B
Python
import random as rand
|
|
|
|
import numpy
|
|
import pytest
|
|
|
|
|
|
def pytest_configure(config):
|
|
config.addinivalue_line("markers", "requires_cuda")
|
|
config.addinivalue_line("markers", "requires_hpu")
|
|
|
|
|
|
@pytest.fixture
|
|
def random():
|
|
rand.seed(42)
|
|
numpy.random.seed(42)
|