Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install torchbench, got missing the mandatory requires key #2548

Closed
shink opened this issue Nov 25, 2024 · 0 comments
Closed

Failed to install torchbench, got missing the mandatory requires key #2548

shink opened this issue Nov 25, 2024 · 0 comments

Comments

@shink
Copy link
Contributor

shink commented Nov 25, 2024

When I install torchbench as a library, it says pyproject.toml is invalid:

$ pip install .
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing /Users/shenke/workspace/benchmark
error: missing-pyproject-build-system-requires

× Can not process file:///Users/shenke/workspace/benchmark
╰─> This package has an invalid pyproject.toml file.
    The [build-system] table is missing the mandatory `requires` key.

note: This is an issue with the package mentioned above, not pip.
hint: See PEP 518 for the detailed specification.

Environment

$ python torch/utils/collect_env.py
Collecting environment information...
PyTorch version: 2.6.0.dev20241120
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 14.5 (arm64)
GCC version: Could not collect
Clang version: 15.0.0 (clang-1500.3.9.4)
CMake version: Could not collect
Libc version: N/A

Python version: 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:49:36) [Clang 16.0.6 ] (64-bit runtime)
Python platform: macOS-14.5-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Apple M3 Pro

Versions of relevant libraries:
[pip3] bert_pytorch==0.0.1a4
[pip3] functorch==1.14.0a0+b71aa0b
[pip3] mypy==1.11.2
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.24.4
[pip3] numpytorch==0.1.2
[pip3] onnx==1.16.2
[pip3] pytorch-labs-segment-anything-fast==0.2
[pip3] pytorch_sphinx_theme==0.0.24
[pip3] torch==2.6.0.dev20241120
[pip3] torch_geometric==2.4.0
[pip3] torchao==0.5.0
[pip3] torchaudio==2.5.0.dev20241120
[pip3] torchdata==0.8.0
[pip3] torchmetrics==1.4.2
[pip3] torchmultimodal==0.1.0b0
[pip3] torchtext==0.18.0
[pip3] torchvision==0.20.0.dev20241120
[conda] bert-pytorch              0.0.1a4                   dev_0    <develop>
[conda] functorch                 1.14.0a0+b71aa0b          pypi_0    pypi
[conda] numpy                     1.24.4                   pypi_0    pypi
[conda] numpytorch                0.1.2                    pypi_0    pypi
[conda] pytorch-labs-segment-anything-fast 0.2                      pypi_0    pypi
[conda] pytorch-sphinx-theme      0.0.24                    dev_0    <develop>
[conda] torch                     2.6.0.dev20241120          pypi_0    pypi
[conda] torch-geometric           2.4.0                    pypi_0    pypi
[conda] torchao                   0.5.0                    pypi_0    pypi
[conda] torchaudio                2.5.0.dev20241120          pypi_0    pypi
[conda] torchdata                 0.8.0                    pypi_0    pypi
[conda] torchmetrics              1.4.2                    pypi_0    pypi
[conda] torchmultimodal           0.1.0b0                  pypi_0    pypi
[conda] torchtext                 0.18.0                   pypi_0    pypi
[conda] torchvision               0.20.0.dev20241120          pypi_0    pypi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant