tensorflow / tensorflow/datasets

Cannot import `tfds` on Apple Silicon since the `array-record` dependency was added

Open
#4,814 2 comments 8 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

Short description
Cannot import tfds on Apple Silicon since the array-record dependency was added.

Environment information

  • Operating System: macOS 13.2.1 (Apple M2 Chip)

  • Python version: 3.9.16

  • tensorflow-datasets/tfds-nightly version: tfds-nightly>=4.8.3.dev202303030205

  • tensorflow/tf-nightly version: N/A

  • Does the issue still exists with the last tfds-nightly package (pip install --upgrade tfds-nightly) ?
    Yes

Reproduction instructions

import tensorflow_datasets as tfds

Link to logs
See the logs in this issue: https://github.com/google/array_record/issues/44#issue-1635566727

Expected behavior
Import successful.

Additional context
This is caused by the introduction of the array-record dependency. The shared library files cannot be loaded on Apple Silicon. See https://github.com/google/array_record/issues/44#issue-1635566727.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.