Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
| """ | |
| 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) | |