Skip to content

Commit aced11d

Browse files
Merge pull request #33423 from jakevdp:dlpack-imports
PiperOrigin-RevId: 834466701
2 parents 0f37117 + 55f094f commit aced11d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

jax/dlpack.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
16-
import jax._src.dlpack
17-
1815
from jax._src.dlpack import (
1916
from_dlpack as from_dlpack,
2017
is_supported_dtype as is_supported_dtype,
@@ -33,5 +30,5 @@
3330

3431

3532
from jax._src.deprecations import deprecation_getattr as _deprecation_getattr
36-
__getattr__ = jax._src.deprecations.deprecation_getattr(__name__, _deprecations)
33+
__getattr__ = _deprecation_getattr(__name__, _deprecations)
3734
del _deprecation_getattr

tests/documentation_coverage_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def jax_docs_dir() -> str:
5757
'jax.custom_transpose': ['custom_transpose'],
5858
'jax.debug': ['DebugEffect', 'log'],
5959
'jax.distributed': ['is_initialized'],
60-
'jax.dlpack': ['jax'],
6160
'jax.dtypes': ['extended', 'finfo', 'iinfo'],
6261
'jax.errors': ['JAXIndexError', 'JAXTypeError'],
6362
'jax.ffi': ['build_ffi_lowering_function', 'include_dir', 'register_ffi_target_as_batch_partitionable', 'register_ffi_type_id'],

0 commit comments

Comments
 (0)