LEMON / pyproject.toml
aliceb's picture
Simplify model loading and trim dependencies
a5f8ebc
Raw
History Blame Contribute Delete
566 Bytes
[project]
name = "lemon"
version = "0.1.0"
description = "LEMON: a foundation model for single-cell histology images."
readme = "README.md"
requires-python = ">=3.11,<3.13"
dependencies = [
"torch==2.7.1",
"torchvision==0.22.1",
"timm",
]
[tool.uv]
package = false
[[tool.uv.index]]
name = "pytorch-gpu-src"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch-gpu-src", marker = "sys_platform == 'linux'" },
]
torchvision = [
{ index = "pytorch-gpu-src", marker = "sys_platform == 'linux'" },
]