From 275052d85874147e61aa9172333b7db3d1ac576b Mon Sep 17 00:00:00 2001 From: b_rookie Date: Tue, 19 Aug 2025 16:31:49 +0800 Subject: [PATCH 1/3] ddd --- mindscience/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mindscience/__init__.py b/mindscience/__init__.py index 056989625..eade48007 100644 --- a/mindscience/__init__.py +++ b/mindscience/__init__.py @@ -68,7 +68,6 @@ def _mindspore_version_check(): f"Please pay attention to the above warning, countdown: {i}") time.sleep(1) - _mindspore_version_check() __all__ = [] -- Gitee From b6b55dc07dd906e7bc7e55b37e323f75714034ad Mon Sep 17 00:00:00 2001 From: b_rookie Date: Tue, 19 Aug 2025 17:07:55 +0800 Subject: [PATCH 2/3] fuck --- mindscience/__init__.py | 2 ++ mindscience/diffuser/__init__.py | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 mindscience/diffuser/__init__.py diff --git a/mindscience/__init__.py b/mindscience/__init__.py index eade48007..56339b02d 100644 --- a/mindscience/__init__.py +++ b/mindscience/__init__.py @@ -28,6 +28,7 @@ from .pde import * from .sciops import * from .solvers import * from .utils import * +from .diffuser import * def _mindspore_version_check(): @@ -81,3 +82,4 @@ __all__.extend(pde.__all__) __all__.extend(sciops.__all__) __all__.extend(solvers.__all__) __all__.extend(utils.__all__) +__all__.extend(diffuser.__all__) diff --git a/mindscience/diffuser/__init__.py b/mindscience/diffuser/__init__.py new file mode 100644 index 000000000..69a14b29e --- /dev/null +++ b/mindscience/diffuser/__init__.py @@ -0,0 +1,19 @@ +# Copyright 2025 Huawei Technologies Co., Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================ +""" +init +""" + +__all__ = [] \ No newline at end of file -- Gitee From 9399c03874fc28f8459aa2a8a137d1e494a62e38 Mon Sep 17 00:00:00 2001 From: b_rookie Date: Tue, 19 Aug 2025 17:10:11 +0800 Subject: [PATCH 3/3] dddd --- mindscience/diffuser/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindscience/diffuser/__init__.py b/mindscience/diffuser/__init__.py index 69a14b29e..733e4a2c2 100644 --- a/mindscience/diffuser/__init__.py +++ b/mindscience/diffuser/__init__.py @@ -16,4 +16,4 @@ init """ -__all__ = [] \ No newline at end of file +__all__ = [] -- Gitee