You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using Orbax for checkpointing in my project, which is being developed on an ARM64 architecture (Apple Silicon). Orbax has a transitive dependency on array-record through etils. However, array-record does not provide a version compatible with ARM64, leading to installation issues when using Poetry.
Include orbax as a dependency in a Python project managed with Poetry.
Run poetry install on an ARM64 Mac.
• Installing array-record (0.5.0): Failed
RuntimeError
Unable to find installation candidates for array-record (0.5.0)
at ~/Library/Application Support/pypoetry/venv/lib/python3.8/site-packages/poetry/installation/chooser.py:73 in choose_for
69│
70│ links.append(link)
71│
72│ if not links:
→ 73│ raise RuntimeError(f"Unable to find installation candidates for {package}")
74│
75│ # Get the best link
76│ chosen = max(links, key=lambda link: self._sort_key(package, link))
77│
Cannot install array-record.
Observe that the installation fails due to array-record not being available for ARM64.
Connection between Orbax and array-record
> poetry show array-record --tree
array-record 0.5.0 A file format that achieves a new frontier of IO efficiency
├── absl-py *
└── etils *
├── absl-py *
├── fsspec *
├── importlib-resources *
│ └── zipp >=3.1.0
├── numpy *
├── tqdm *
│ └── colorama *
├── typing-extensions *
└── zipp * (circular dependency aborted here)
I understand that this may be more appropriate over at the etils codebase but I was wondering how essential etils is. Would it be enough to use the built in pathlib library and use Path() when a directory is needed?
Issue
I am currently using Orbax for checkpointing in my project, which is being developed on an ARM64 architecture (Apple Silicon). Orbax has a transitive dependency on array-record through etils. However, array-record does not provide a version compatible with ARM64, leading to installation issues when using Poetry.
Environment
Orbax version: [0.1.9]
Python version: [3.9.13]
Operating System: macOS on ARM64 (Apple Silicon)
Dependency management: Poetry
Steps to Reproduce
Connection between Orbax and array-record
Extra
The issue lies within etils using array-record and array-record doesnt have a distribution for the ARM64 architecture so it fails,
https://pypi.org/project/array-record/#files
Poetry
Here is my
.toml
for reproducability:The text was updated successfully, but these errors were encountered: