OpenCompass/opencompass/__init__.py

20 lines
542 B
Python
Raw Normal View History

2024-12-31 16:52:47 +08:00
__version__ = '0.3.9'
def _warn_about_config_migration():
import warnings
2024-12-03 19:34:57 +08:00
warnings.warn(
'Starting from v0.4.0, all AMOTIC configuration files currently '
'located in `./configs/datasets`, `./configs/models`, and '
'`./configs/summarizers` will be migrated to the '
'`opencompass/configs/` package. Please update your configuration '
'file paths accordingly.',
UserWarning, # Changed to UserWarning
2024-12-03 19:34:57 +08:00
stacklevel=2,
)
# Trigger the warning
_warn_about_config_migration()