OpenCompass/opencompass/__init__.py

18 lines
535 B
Python
Raw Normal View History

2024-11-18 20:24:50 +08:00
__version__ = '0.3.6'
def _warn_about_config_migration():
import warnings
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
stacklevel=2)
# Trigger the warning
_warn_about_config_migration()