ffasr / evaluation /__init__.py
whojavumusic's picture
no torch fix
f4c550a
Raw
History Blame Contribute Delete
484 Bytes
"""
Evaluation package.
Do not import the orchestrator eagerly here: the Space imports
``evaluation.remote_artifact`` while collecting Hub Job artifacts, and the
orchestrator imports torch. The Space intentionally does not install torch.
"""
from __future__ import annotations
__all__ = ["run_evaluation"]
def __getattr__(name: str):
if name == "run_evaluation":
from .orchestrator import run_evaluation
return run_evaluation
raise AttributeError(name)