Skip to content

Commit

Permalink
add fix for older pydantic versions (microsoft#2611)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwyattii authored Dec 15, 2022
1 parent 384f17b commit 2e596e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepspeed/runtime/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class Config:
use_enum_values = True
allow_population_by_field_name = True
extra = "forbid"
arbitrary_types_allowed = True


class pp_int(int):
Expand Down

0 comments on commit 2e596e6

Please sign in to comment.