Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaking: move deepmd to deepmd.tf #3177

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Jan 25, 2024

No description provided.

Signed-off-by: Jinzhe Zeng <[email protected]>
Signed-off-by: Jinzhe Zeng <[email protected]>
@njzjz njzjz added the breaking change Breaking changes that should notify users. label Jan 25, 2024
@@ -7,26 +7,26 @@

import numpy as np

import deepmd.op # noqa: F401
from deepmd.common import (
import deepmd.tf.op # noqa: F401

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'deepmd' is not used.
@@ -21,22 +21,22 @@
import google.protobuf.message

# load grad of force module
import deepmd.op # noqa: F401
from deepmd.env import (
import deepmd.tf.op # noqa: F401

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'deepmd' is not used.
@@ -15,12 +15,12 @@
)

# load grad of force module
import deepmd.op # noqa: F401
from deepmd.env import (
import deepmd.tf.op # noqa: F401

Check notice

Code scanning / CodeQL

Unused import Note test

Import of 'deepmd' is not used.
@@ -21,52 +21,52 @@
)

# load grad of force module
import deepmd.op # noqa: F401
from deepmd.common import (
import deepmd.tf.op # noqa: F401

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'deepmd' is not used.
@@ -52,7 +52,7 @@
if cls is DeepPot:
backend = detect_backend(model_file)
if backend == DPBackend.TensorFlow:
from deepmd.infer.deep_pot import DeepPot as DeepPotTF
from deepmd.tf.infer.deep_pot import DeepPot as DeepPotTF

Check notice

Code scanning / CodeQL

Cyclic import Note

Import of module
deepmd.tf.infer.deep_pot
begins an import cycle.
@@ -651,6 +651,6 @@
if no command was input
"""
args = parse_args()
from deepmd.entrypoints.main import main as deepmd_main
from deepmd.tf.entrypoints.main import main as deepmd_main

Check notice

Code scanning / CodeQL

Cyclic import Note

Import of module
deepmd.tf.entrypoints.main
begins an import cycle.
Signed-off-by: Jinzhe Zeng <[email protected]>
@wanghan-iapcm wanghan-iapcm enabled auto-merge (squash) January 25, 2024 04:53
@wanghan-iapcm wanghan-iapcm merged commit 5b9dd3d into deepmodeling:devel Jan 25, 2024
37 checks passed
@njzjz njzjz mentioned this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Breaking changes that should notify users. Docs i-PI LAMMPS Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants