Facing issues when i run Train_dolly.py

#91
by Nagesh - opened

Can anyone give me workaround for below issue. Thanks in advance!

Traceback (most recent call last):
File "/home/cdsw/.local/bin/deepspeed", line 3, in
from deepspeed.launcher.runner import main
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/init.py", line 15, in
from . import module_inject
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/module_inject/init.py", line 3, in
from .replace_module import replace_transformer_layer, revert_transformer_layer, ReplaceWithTensorSlicing, GroupQuantizer, generic_injection
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/module_inject/replace_module.py", line 803, in
from ..pipe import PipelineModule
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/pipe/init.py", line 3, in
from ..runtime.pipe import PipelineModule, LayerSpec, TiedLayerSpec
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/runtime/pipe/init.py", line 3, in
from .module import PipelineModule, LayerSpec, TiedLayerSpec
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/runtime/pipe/module.py", line 16, in
from ..activation_checkpointing import checkpointing
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/runtime/activation_checkpointing/checkpointing.py", line 25, in
from deepspeed.runtime.config import DeepSpeedConfig
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/runtime/config.py", line 30, in
from ..monitor.config import get_monitor_config
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/monitor/config.py", line 70, in
class DeepSpeedMonitorConfig(DeepSpeedConfigModel):
File "/home/cdsw/.local/lib/python3.9/site-packages/deepspeed/monitor/config.py", line 82, in DeepSpeedMonitorConfig
def check_enabled(cls, values):
File "/home/cdsw/.local/lib/python3.9/site-packages/pydantic/deprecated/class_validators.py", line 222, in root_validator
return root_validator()(*__args) # type: ignore
File "/home/cdsw/.local/lib/python3.9/site-packages/pydantic/deprecated/class_validators.py", line 228, in root_validator
raise PydanticUserError(
pydantic.errors.PydanticUserError: If you use @root_validator with pre=False (the default) you MUST specify skip_on_failure=True. Note that @root_validator is deprecated and should be replaced with @model_validator.

Which version of pydantic library works for Dolly?

Databricks org

Not sure what you're doing here, but the working versions of libraries are in the repo's requirements.txt

Sign up or log in to comment