80b198c1a5
load_predicted_local now reads predict parquet via a lazy polars scan with column projection pushed into the reader, instead of materializing the whole file as a pandas DataFrame. Also adds marginal_table_pl and constraint_report_pl, polars-native duplicates that read straight from a predict parquet path/LazyFrame and stay lazy per (group, dim) pair, so peak memory is one column slice rather than the whole SampleCollection. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
643 B
TOML
38 lines
643 B
TOML
[project]
|
|
name = "giant"
|
|
version = "0.1.0"
|
|
description = "Geant4 step-function surrogate via conditional flow matching"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"torch>=2.3",
|
|
"numpy>=1.26",
|
|
"pandas>=2.2",
|
|
"pyarrow>=16",
|
|
"typer>=0.12",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8",
|
|
]
|
|
convert = [
|
|
"uproot>=5.3",
|
|
"awkward>=2.6",
|
|
"polars>=1.0",
|
|
]
|
|
analysis = [
|
|
"matplotlib>=3.8",
|
|
"polars>=1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
giant = "giant.cli:app"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["giant"]
|