Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion backends/arm/test/runner_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@
import shutil
import subprocess
import tempfile

from pathlib import Path

from typing import cast, Dict, List, Literal, Optional, Tuple

import numpy as np
import torch
import tosa_reference_model

logger = logging.getLogger(__name__)
try:
import tosa_reference_model
except ImportError:
logger.warning("tosa_reference_model not found, can't run reference model tests")
tosa_reference_model = None
from executorch.backends.arm.arm_backend import get_tosa_version, is_tosa

from executorch.backends.arm.test.conftest import is_option_enabled
Expand Down
Loading