shulin16's picture
Archive pi05-button-order-baseline-lora-gbs4-pgb1-gpu4-r2-step2000
4707307 verified
Raw History Blame Contribute Delete
3.89 kB
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "picmem-dev"
version = "0.2.0"
description = "Bounded contract memory for long-horizon robot policies"
readme = "README.md"
requires-python = ">=3.10,<3.14"
license = { file = "LICENSE" }
dependencies = [
"cryptography==45.0.7",
"numpy>=1.26",
]
[project.optional-dependencies]
hdf5 = ["h5py>=3.13"]
lerobot = ["polars>=1.30"]
semantic-annotation = [
"h5py>=3.13",
"openai>=2,<3",
"Pillow>=10.4",
"polars>=1.30",
]
model = [
"flax==0.10.2",
"jax==0.5.3",
"jaxtyping==0.2.36",
]
counterfactual = ["jax==0.5.3"]
samplers = ["torch>=2.8,<2.9"]
training = [
"jax==0.5.3",
"torch>=2.8,<2.9",
]
dev = [
"flax==0.10.2",
"h5py>=3.13",
"jax==0.5.3",
"jaxtyping==0.2.36",
"omegaconf>=2.3",
"polars>=1.30",
"pytest>=8.3",
"ruff>=0.8",
"torch>=2.8,<2.9",
]
[project.scripts]
picmem-audit = "picmem.cli.audit:main"
picmem-crosswalk-receipt = "picmem.cli.crosswalk_receipt:main"
picmem-dense-caption = "picmem.cli.dense_caption_v7:main"
picmem-dense-caption-all = "picmem.cli.dense_caption_v7_all:main"
picmem-semantic-annotate = "picmem.cli.semantic_annotate:main"
picmem-semantic-calibration = "picmem.cli.semantic_calibration:main"
picmem-stage1-archive = "picmem.cli.stage1_archive:main"
picmem-stage1-refine = "picmem.cli.stage1_refine:main"
picmem-stage2-task-semantics = "picmem.cli.stage2_task_semantics_v7:main"
picmem-stage3-temporal-mapping = "picmem.cli.stage3_temporal_mapping:main"
picmem-stage4-semantic-memory = "picmem.cli.stage4_semantic_memory:main"
picmem-vllm-server = "picmem.cli.vllm_server:main"
picmem-admit = "picmem.ops.admission:main"
picmem-amlt = "picmem.ops.amlt:main"
picmem-cadence = "picmem.ops.cadence:main"
picmem-checkpoint = "picmem.ops.checkpoint:main"
picmem-formal-runtime = "picmem.ops.formal_runtime:main"
picmem-ledger = "picmem.ops.scheduler:main"
picmem-registry = "picmem.ops.registry:main"
picmem-runtime-profile = "picmem.ops.runtime_profiles:main"
picmem-run084-order = "picmem.sampling.run084_sample_order:main"
picmem-sku-smoke-evidence = "picmem.ops.sku_smoke_evidence:main"
picmem-submit = "picmem.ops.submit:main"
picmem-supervisor = "picmem.ops.supervisor:main"
picmem-uv-cache = "picmem.ops.uv_cache:main"
picmem-watchdog = "picmem.ops.watchdog:main"
[tool.hatch.build.targets.wheel]
packages = ["src/picmem"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src", "."]
[tool.ruff]
line-length = 120
target-version = "py310"
# robomme/ is the vendored upstream RoboMME workspace, carried here so an
# experiment needs no second checkout. It ships its own ruff configuration and
# its own style history; linting it under PIC-Mem's rules would report ~1.5k
# pre-existing upstream findings that nobody here is entitled to "fix".
extend-exclude = ["robomme"]
[tool.ruff.lint]
select = ["B", "E", "F", "I", "RUF", "SIM", "UP"]
ignore = ["F722"]
# These two files are hash-pinned mirrors of the upstream RoboMME host. Keep
# its existing style debt isolated here instead of reformatting the reviewed
# overlay preimages; all PIC-Mem additions and the rest of the repository stay
# under the normal rule set.
[tool.ruff.lint.per-file-ignores]
"integrations/robomme/src/mme_vla_suite/shared/mem_buffer.py" = [
"E401",
"E501",
"F403",
"F405",
"F541",
"I001",
"SIM108",
"UP035",
]
"integrations/robomme/src/mme_vla_suite/training/dataset.py" = [
"B905",
"E501",
"RUF013",
"RUF046",
"SIM115",
]
# The reviewed AzureML image is CUDA 12.6, so torch must come from the matching
# PyTorch index instead of the PyPI default, which publishes a cu128 build.
[[tool.uv.index]]
name = "pytorch-cu126"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cu126" }