Naphula commited on
Commit
c38f701
·
verified ·
1 Parent(s): 4868b25

Upload base_v2.py

Browse files
Files changed (1) hide show
  1. base_v2.py +1 -0
base_v2.py CHANGED
@@ -153,6 +153,7 @@ class ConfiguredModelArchitecture(BaseModel, frozen=True, arbitrary_types_allowe
153
  weight_prefix=self.info.modules[module_name].weight_prefix,
154
  )
155
 
 
156
  # Manually rebuild Pydantic models to resolve forward references
157
  # This fixes the "not fully defined" error with Pydantic v2
158
  ConfiguredModuleArchitecture.model_rebuild()
 
153
  weight_prefix=self.info.modules[module_name].weight_prefix,
154
  )
155
 
156
+ # Runpod Fix
157
  # Manually rebuild Pydantic models to resolve forward references
158
  # This fixes the "not fully defined" error with Pydantic v2
159
  ConfiguredModuleArchitecture.model_rebuild()