Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
f4b1347b
"...git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "2400fdf22fb3279f0a274d4678d13bf547315276"
Commit
f4b1347b
authored
Jul 19, 2022
by
Gustaf Ahdritz
Browse files
Add missing import
parent
9b861808
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
openfold/utils/checkpointing.py
openfold/utils/checkpointing.py
+2
-1
No files found.
openfold/utils/checkpointing.py
View file @
f4b1347b
...
@@ -11,6 +11,8 @@
...
@@ -11,6 +11,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import
importlib
from
typing
import
Any
,
Tuple
,
List
,
Callable
,
Optional
deepspeed_is_installed
=
importlib
.
util
.
find_spec
(
"deepspeed"
)
is
not
None
deepspeed_is_installed
=
importlib
.
util
.
find_spec
(
"deepspeed"
)
is
not
None
if
(
deepspeed_is_installed
):
if
(
deepspeed_is_installed
):
...
@@ -18,7 +20,6 @@ if(deepspeed_is_installed):
...
@@ -18,7 +20,6 @@ if(deepspeed_is_installed):
import
torch
import
torch
import
torch.utils.checkpoint
import
torch.utils.checkpoint
from
typing
import
Any
,
Tuple
,
List
,
Callable
,
Optional
BLOCK_ARG
=
Any
BLOCK_ARG
=
Any
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment