GET /api/v1/ports/py38-pytorch/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "py38-pytorch",
    "portdir": "python/py-pytorch",
    "version": "1.12.0",
    "license": "BSD",
    "platforms": "darwin",
    "epoch": 0,
    "replaced_by": null,
    "homepage": "https://pytorch.org/",
    "description": "Tensors and dynamic neural networks in Python with strong GPU acceleration",
    "long_description": "PyTorch is a Python package that provides two high-level features: Tensor computation (like NumPy) with strong GPU acceleration; Deep neural networks built on a tape-based autograd system. You can reuse your favorite Python packages such as NumPy, SciPy and Cython to extend PyTorch when needed.",
    "active": true,
    "categories": [
        "python"
    ],
    "maintainers": [],
    "variants": [
        "clang10",
        "clang11",
        "clang12",
        "clang13",
        "clang14",
        "clang50",
        "clang60",
        "clang70",
        "clang80",
        "clang90",
        "clangdevel",
        "g95",
        "gcc10",
        "gcc11",
        "gcc12",
        "gccdevel",
        "gfortran",
        "mpich",
        "openmpi",
        "mkl",
        "mps"
    ],
    "dependencies": [
        {
            "type": "build",
            "ports": [
                "clang-14",
                "cctools",
                "cmake",
                "git",
                "py38-mkl-include",
                "py38-setuptools",
                "doxygen"
            ]
        },
        {
            "type": "fetch",
            "ports": [
                "git"
            ]
        },
        {
            "type": "lib",
            "ports": [
                "zmq",
                "opencv4",
                "libomp",
                "python38",
                "OpenBLAS",
                "eigen3",
                "py38-cffi",
                "py38-click",
                "py38-future",
                "py38-gmpy",
                "py38-mkl",
                "py38-numpy",
                "py38-pybind11",
                "py38-typing_extensions",
                "py38-yaml",
                "zstd",
                "leveldb",
                "lmdb",
                "gflags",
                "gmp",
                "google-glog",
                "mpfr",
                "tbb"
            ]
        },
        {
            "type": "run",
            "ports": [
                "py38-onnx"
            ]
        },
        {
            "type": "test",
            "ports": [
                "py38-pytest"
            ]
        }
    ],
    "depends_on": [
        {
            "type": "lib",
            "ports": [
                "py38-torchvision",
                "py38-torchaudio",
                "py38-torchtext"
            ]
        },
        {
            "type": "run",
            "ports": [
                "py38-kraken",
                "py38-fairseq",
                "py38-transformers",
                "py38-sentence-transformers",
                "py38-pytorch-lightning",
                "py38-allennlp"
            ]
        },
        {
            "type": "test",
            "ports": [
                "py38-huggingface_hub"
            ]
        }
    ]
}