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

Add a pyproject.toml #150

Open
noctrog opened this issue Jan 31, 2025 · 0 comments
Open

Add a pyproject.toml #150

noctrog opened this issue Jan 31, 2025 · 0 comments

Comments

@noctrog
Copy link

noctrog commented Jan 31, 2025

Hi,

I found it non-trivial to set up a vanilla python environment to work with big_vision. Would including a pyproject.toml in the root be valuable for the project? If so I could open a PR.

Here's the config that works for me:

[project]
name = "big-vision"
version = "0.1.0"
requires-python = ">=3.10,<3.11"
dependencies = [
    "absl-py>=2.1.0",
    "clu",
    "distrax>=0.1.5",
    "editdistance>=0.8.1",
    "einops>=0.8.0",
    "flax>=0.10.2",
    "flaxformer",
    "numpy<2.0.0",
    "optax>=0.2.4",
    "overrides>=7.7.0",
    "protobuf<3.21.0",
    "psutil>=6.1.1",
    "pycocoevalcap>=1.2",
    "sentencepiece>=0.2.0",
    "tensorflow-cpu>=2.10.0",
    "tensorflow-gan>=2.1.0",
    "tensorflow-text>=2.9.0",
    "tfds-nightly>=4.9.0.dev202304110044",
    "keras<3.0.0",
    "jax[cuda]>=0.4.34",
]

[tool.uv.sources]
flaxformer = { git = "https://github.com/google/flaxformer" }
clu = { git = "https://github.com/google/CommonLoopUtils" }
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

No branches or pull requests

1 participant