Skip to content

提供一个跑通的 pyproject.toml #43

@p3psi-boo

Description

@p3psi-boo

用 uv sync 可以使用,在 autodl 测试成功

  • Python 3.8
  • Cuda 11.8
  • Ubuntu 22.04
[project]
name = "heygem-linux-python-hack"
version = "0.1.0"
description = "A docker free offline version for HeyGem; Python and Linux is all you need!"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
    "appdirs==1.4.4",
    "apstone==0.0.8",
    "audioread==2.1.9",
    "cffi==1.15.0",
    "charset-normalizer==2.0.12",
    "click==8.1.3",
    "colorama==0.4.4",
    "cv2box==0.5.9",
    "cycler==0.11.0",
    "decorator==5.1.1",
    "einops>=0.8.1",
    "filelock==3.7.1",
    "flask>=3.0.3",
    "flatbuffers==2.0",
    "fonttools==4.36.0",
    "freetype-py==2.3.0",
    "huggingface-hub==0.0.8",
    "idna==3.3",
    "imageio==2.19.3",
    "importlib-metadata==4.11.4",
    "joblib==1.1.0",
    "kiwisolver==1.4.4",
    "kornia==0.6.6",
    "librosa==0.8.1",
    "matplotlib==3.5.3",
    "networkx==2.6.3",
    "numba==0.55.2",
    "numexpr==2.8.6",
    "onnxruntime-gpu==1.18.0",
    "opencv-python==4.7.0.72",
    "packaging==21.3",
    "pillow==9.1.1",
    "pooch==1.6.0",
    "protobuf==4.21.5",
    "psutil==5.9.1",
    "pycparser==2.21",
    "pyglet==1.5.26",
    "pyopengl==3.1.0",
    "pyparsing==3.0.9",
    "pyrender==0.1.45",
    "python-dateutil==2.8.2",
    "pywavelets==1.3.0",
    "pyyaml==6.0",
    "regex==2022.6.2",
    "requests==2.27.1",
    "resampy==0.2.2",
    "sacremoses==0.0.53",
    "scikit-image==0.19.3",
    "scikit-learn==1.0.2",
    "scipy==1.10.1",
    "six==1.16.0",
    "soundfile==0.10.3.post1",
    "threadpoolctl==3.1.0",
    "tifffile==2021.11.2",
    "tokenizers==0.10.3",
    "torch==2.1.2+cu118",
    "torchaudio==2.1.2",
    "torchvision==0.16.2",
    "tqdm==4.64.0",
    "transformers==4.6.1",
    "trimesh==3.12.7",
    "typeguard==2.13.3",
    "typing-extensions==4.2.0",
    "urllib3==1.26.9",
    "zipp==3.8.0",
]


[tool.uv.sources]
torch = [
  { index = "pytorch-cu118" }
]
torchvision = [
  { index = "pytorch-cu118" }
]
torchaudio = [
  { index = "pytorch-cu118" }
]


[[tool.uv.index]]
name = "pytorch-cu118"
url = "https://mirror.nju.edu.cn/pytorch/whl/cu118"
explicit = true

[[tool.uv.index]]
url = "https://mirrors.aliyun.com/pypi/web/simple"
default = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions