Skip to content

Commit

Permalink
ywt/fix: memory leak and precision error (#764)
Browse files Browse the repository at this point in the history
* fix: memory leak and precision error

* fix: mock is_initialized
  • Loading branch information
yewentao256 authored Apr 7, 2024
1 parent 8542a62 commit aea639a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dipu/torch_dipu/dipu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
# as "gpu" or "cuda" (mock cuda is another problem)
# only partially aligned now,
__all__ = [
# resume initialize flag after random generator ready
# "is_initialized",
# device
"can_device_access_peer",
"current_device",
Expand All @@ -42,6 +40,7 @@
"get_device_properties",
"get_device_capability",
"is_available",
"is_initialized",
"set_device",
"GetDeviceProxy",
"GetDeviceStaticProxy",
Expand Down

0 comments on commit aea639a

Please sign in to comment.