diff --git a/deepmd/pt/model/model/dp_model.py b/deepmd/pt/model/model/dp_model.py index e872920804..138398539a 100644 --- a/deepmd/pt/model/model/dp_model.py +++ b/deepmd/pt/model/model/dp_model.py @@ -37,7 +37,7 @@ def __new__( cls, descriptor=None, fitting=None, - *, + *args, # disallow positional atomic_model_ atomic_model_: Optional[DPAtomicModel] = None, **kwargs,