Publish 2/11695 BPNet WGSL folds without parity gating
Browse filesFiles changed (15)
- BPNET-LITE-SOFTWARE-LICENSEAdded+21
- BPNET-SOFTWARE-LICENSEAdded+21
- LICENSEAdded+21
- NOTICEAdded+8
- README.mdAdded+85
- SHA256SUMSAdded+14
- conversion-summary.jsonAdded+13
- intermediate-inventory.jsonAdded
- manifest.jsonAdded+121
- models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_0/d5baa6165b332396b0894382976ba8488743ee1286e7d438a5c6fc967808a9d3.binAdded+3
- models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_1/260e0395c821c616df3242d16db563e31fa6507d9c4f09e2c8ae54254b166ba5.binAdded+3
- original-metadata-index.jsonAdded
- original-metadata.tar.gzAdded+3
- provenance.jsonAdded+11
- source-inventory.jsonAdded
123456789101112131415161718192021MIT License
Copyright (c) 2020 Jacob Schreiber
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.123456789101112131415161718192021MIT License
Copyright (c) 2023 Kundaje Lab
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.123456789101112131415161718192021MIT License
Copyright (c) 2023 Kundaje Lab
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.12345678Original BPNet models: Kundaje Lab and the original ENCODE contributors.Weight license: MIT; exact source repositories/revisions/hashes in source-inventory.json.Original per-repository config.json, model-info.json and README files are preservedunchanged in original-metadata.tar.gz, including original attribution and metrics.The pinned ONNX exports are an intermediate source of exact learned fp32 tensors.No training, quantization, inference, backward graph or parity test is performedby this repack. ChromBPNet convolution chunks are concatenated without arithmetic.This weight/data release supplies no shader source or public standalone JS runtime.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485---license: mitpipeline_tag: othertags:- genomics- dna- webgpu- wgsl- genome-spy- bpnet---
# BPNet browser WebGPU weight packs
**Upload in progress: 2 / 11,695 folds published**, across 2,339original experiment repositories. The complete atlas is being published withoutnumerical parity exclusions. These are prediction-only `GSCNNv1` weight containersfor the matching `bpnet-wgsl@1` browser engine; **they are not ONNX files**.
## Inputs and outputs
Full input width is 2,114 bp, fp32 ACGT `[1,4,2114]`. Raw profile logits are`[1,2,1000]` and raw log counts `[1,1]`. Outputs correspondto central input `[557,1557)` (zero-based, half-open). Count features span 1,074positions starting at input offset 520. All native learned heads are retained.
BPNet retains separate matched profile controls `[1,2,1000]` and log-count controls`[1,2]`, including both learned mixing heads. The app uses explicit zeros;logsumexp of two zero log-count controls is `log(2)`, not zero. Both strand profilesshare one softmax over all 2,000 positions and one `exp(log_count)` total. TheseChIP-seq models are control-aware; zero controls do not establish an unbiased assay.
## Conversion and validation status
**No per-fold numerical parity tests or inference runs are performed for thispublication**, as explicitly requested. Publication is not a claim of numericalor biological validation. Existing prototype/runtime comparisons remain separate.
Source tensors come from the existing pinned [BPNet ONNX release](https://huggingface.co/genome-spy/BPNet-ONNX).Every intermediate file is checked against its exact recorded size and SHA-256.Its fp32 initializers are copied without quantization or arithmetic; splitChromBPNet convolution weights are reassembled by exact channel concatenation.The native repository/revision/path/hash, intermediate artifact identity and tensorhashes remain recorded. All source identities are preserved, including distinctrepositories that happen to contain identical learned weights.
Packing verifies fixed tensor shapes, finite weights, container bounds and hashes.All uploaded weight files are downloaded and size/SHA-256 checked at their pinnedpublication commits before local staging files are evicted. During upload thisverification may still be in progress. `manifest.json` distinguishes upload status.
## Runtime and use
This repository contains weights and metadata, **not a public standalone JavaScriptlibrary or shader source**. Execution requires the matching `bpnet-wgsl@1` engine inGenomeSpy Sequence Designer. This does not qualify ensembles, backward graphs,Ledidi, attribution or PISA. The existing ONNX repositories remain unchanged.No new app backend or visible preview is deployed by this publication.
```pythonimport hashlib, jsonfrom pathlib import Pathfrom huggingface_hub import HfApi, hf_hub_downloadrepo = "genome-spy/BPNet-WebGPU"revision = HfApi().model_info(repo).sha # Pin the exact revision.manifest = json.loads(Path(hf_hub_download(repo, "manifest.json", revision=revision)).read_text())model = manifest["models"][0]a = model["artifact"]p = Path(hf_hub_download(repo, a["path"], revision=revision))assert p.stat().st_size == a["bytes"]assert hashlib.sha256(p.read_bytes()).hexdigest() == a["sha256"]```
## License, original metadata and integrity
Native weights and this repack are MIT; see `LICENSE` and `NOTICE`. The originalper-repository configs, model-info, cards and scientific metrics are archivedunchanged in `original-metadata.tar.gz`, with per-file hashes in its index.Software license notices are retained separately. The original ONNX model cardin that archive is historical, not validation evidence for these WGSL packs.
Each container embeds its complete native identity and individual tensor shapes,layouts, byte ranges and SHA-256 values. `SHA256SUMS` covers all published weightfiles and declared release metadata except itself. Downloads and browser memorycosts vary: approximately 0.47 MB per fold.1234567891011121314ec83645e2f2e35186e21e71a838470ae29e109098ff8fea9016a0ae943b18b55 BPNET-LITE-SOFTWARE-LICENSE07cc7fd1890c0f369dfc2d35bfd5fc5bc8bde189401c35ae0f4e4ef63f088a96 BPNET-SOFTWARE-LICENSE07cc7fd1890c0f369dfc2d35bfd5fc5bc8bde189401c35ae0f4e4ef63f088a96 LICENSEe4784a32b65d9ac7f0caa0c03be50d64c8e4b6c2510fb01215a43397568130fe NOTICE81940614d6ffd04e09c4cbad1d1b2aa361ec90e1f96a657e7e36721a930bed1f README.md60c91bc571fc7a01059846119c00113d4b5decaf53e2ee175b2b712d94e6d1dd conversion-summary.json2b7c77959c9c8e52728a7c98487a5c7cda67178a9cb656a261d95b75ad764530 intermediate-inventory.jsonb06ff8c877e1db35aaf5e0c4c0979b2f272b05486ae4f063ef2f20b6af454a08 manifest.jsond5baa6165b332396b0894382976ba8488743ee1286e7d438a5c6fc967808a9d3 models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_0/d5baa6165b332396b0894382976ba8488743ee1286e7d438a5c6fc967808a9d3.bin260e0395c821c616df3242d16db563e31fa6507d9c4f09e2c8ae54254b166ba5 models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_1/260e0395c821c616df3242d16db563e31fa6507d9c4f09e2c8ae54254b166ba5.bin91c2d3c3973c75284154781a38020c8ac25e7513ac57f9cb202e0d2163ce0bc2 original-metadata-index.json4f49ad8136b941e014627493c485908878226bd7e956207035565e8d7da228af original-metadata.tar.gz617c3cb2822cd8906ff95161e6d3c7725eb62736191ff6df3aeda27f705a3f0b provenance.json1b6931033fbdc823c956a5f42c5b4b8e425458cd885d93ac53a5694162b4783f source-inventory.json12345678910111213{ "published_checkpoint_count": 2, "source_checkpoint_count": 11695, "publication_complete": false, "parity_tests_run": 0, "native_inference_run": false, "browser_inference_run": false, "conversion": "Exact fp32 initializer repack from size/SHA-256-verified pinned ONNX files; original native identities retained", "chunk_reconstruction": "Concatenate original input-channel slices without arithmetic", "source_identities_collapsed": false, "cooling": "10 seconds after approximately 20 active seconds", "coverage_note": "Earlier representative runtime prototypes are separate evidence and do not qualify the full atlas"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121{ "schema_version": 1, "family": "BPNet", "format": "gscnn-v1", "runtime": "bpnet-wgsl@1", "license": "mit", "source_checkpoint_count": 11695, "source_experiment_count": 2339, "published_checkpoint_count": 2, "publication_complete": false, "parity_status": "not_tested", "publication_policy": "Numerical parity is not a publication gate; per-fold parity tests skipped by user request", "contract": { "input_shape": [ 1, 4, 2114 ], "input_layout": "NCL", "encoding": "ACGT", "output_shape": [ 1, 2, 1000 ], "output_offset": 557, "raw_count_shape": [ 1, 1 ], "count_transform": "log", "controls": { "profile_shape": [ 1, 2, 1000 ], "count_shape": [ 1, 2 ], "count_encoding": "natural log inputs, combined by native logsumexp", "app_policy": "explicit zero controls; count control total is log(2)" }, "profile_normalization": "one joint softmax over all positions and strands" }, "models": [ { "source": { "repository": "kundajelab/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW", "revision": "c83ec2a3286bb9e5fb8b87358d2a9c75a5c18a28", "path": "fold_0/model.h5", "sha256": "28e1051e0cc610d0c711505f3abb0acbe2ece06bd8143deecae1d2326aee36df", "bytes": 561784, "destination": "models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_0/model.onnx", "license": "mit", "url": "https://huggingface.co/kundajelab/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/resolve/c83ec2a3286bb9e5fb8b87358d2a9c75a5c18a28/fold_0/model.h5" }, "experiment": { "id": "encode:ENCSR981BHT:hg38", "accession": "ENCSR981BHT", "biosample": "HepG2", "assay": "ChIP-seq", "target": "ADNP", "assembly": "hg38", "species": "Homo sapiens", "conditions": "genetically modified (insertion) using CRISPR targeting H. sapiens ADNP", "evidence": "https://huggingface.co/programmable-genomics/BATv1/resolve/c631ebd86b46d78c2e239ee06f3fce5ff15f4ad9/BATv1-metadata.tsv" }, "fold": 0, "runtime": "bpnet-wgsl@1", "artifact": { "path": "models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_0/d5baa6165b332396b0894382976ba8488743ee1286e7d438a5c6fc967808a9d3.bin", "sha256": "d5baa6165b332396b0894382976ba8488743ee1286e7d438a5c6fc967808a9d3", "bytes": 461176 }, "intermediate_onnx": { "path": "models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_0/model.onnx", "sha256": "b275df5cd4544447710e99f93119dc8ccd43ff2fc987e487790cf4cff8691afc", "bytes": 464595 }, "parity_status": "not_tested" }, { "source": { "repository": "kundajelab/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW", "revision": "c83ec2a3286bb9e5fb8b87358d2a9c75a5c18a28", "path": "fold_1/model.h5", "sha256": "6aae63ae7c20ae5533337a664aaf72c6a960c0fda5fed430b16c516f4f0a7ad0", "bytes": 561784, "destination": "models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_1/model.onnx", "license": "mit", "url": "https://huggingface.co/kundajelab/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/resolve/c83ec2a3286bb9e5fb8b87358d2a9c75a5c18a28/fold_1/model.h5" }, "experiment": { "id": "encode:ENCSR981BHT:hg38", "accession": "ENCSR981BHT", "biosample": "HepG2", "assay": "ChIP-seq", "target": "ADNP", "assembly": "hg38", "species": "Homo sapiens", "conditions": "genetically modified (insertion) using CRISPR targeting H. sapiens ADNP", "evidence": "https://huggingface.co/programmable-genomics/BATv1/resolve/c631ebd86b46d78c2e239ee06f3fce5ff15f4ad9/BATv1-metadata.tsv" }, "fold": 1, "runtime": "bpnet-wgsl@1", "artifact": { "path": "models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_1/260e0395c821c616df3242d16db563e31fa6507d9c4f09e2c8ae54254b166ba5.bin", "sha256": "260e0395c821c616df3242d16db563e31fa6507d9c4f09e2c8ae54254b166ba5", "bytes": 461176 }, "intermediate_onnx": { "path": "models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_1/model.onnx", "sha256": "bca40038aea54d105c233c57e9804d403587e5c63c2b09ac9334bab4bba6539e", "bytes": 464595 }, "parity_status": "not_tested" } ]}123version https://git-lfs.github.com/spec/v1oid sha256:d5baa6165b332396b0894382976ba8488743ee1286e7d438a5c6fc967808a9d3size 461176123version https://git-lfs.github.com/spec/v1oid sha256:260e0395c821c616df3242d16db563e31fa6507d9c4f09e2c8ae54254b166ba5size 461176123version https://git-lfs.github.com/spec/v1oid sha256:4f49ad8136b941e014627493c485908878226bd7e956207035565e8d7da228afsize 38578371234567891011{ "native_sources": "source-inventory.json", "intermediate_sources": "intermediate-inventory.json", "original_metadata_archive": "original-metadata.tar.gz", "original_metadata_index": "original-metadata-index.json", "container_reference": "GSCNNv1 little-endian fp32; 8-byte magic, uint32 JSON header length, header padded to 4-byte boundary, tensors", "private_implementation_commit": "3d784542", "conversion_script_sha256": "a311e24e7ec7302588dba0a2ddda5f73d0dbd3fb3f68e303b31dae7a136ea518", "weights_unchanged": true, "inference_tests": "Not run for this publication, by user request"}BPNET-LITE-SOFTWARE-LICENSEAdded+21
BPNET-SOFTWARE-LICENSEAdded+21
LICENSEAdded+21
NOTICEAdded+8
README.mdAdded+85
SHA256SUMSAdded+14
conversion-summary.jsonAdded+13
intermediate-inventory.jsonAdded
manifest.jsonAdded+121
models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_0/d5baa6165b332396b0894382976ba8488743ee1286e7d438a5c6fc967808a9d3.binAdded+3
models/encode-bpnet-ADNP-ChIP-seq-HepG2-ENCSR981BHT-ENCSR554XIW/fold_1/260e0395c821c616df3242d16db563e31fa6507d9c4f09e2c8ae54254b166ba5.binAdded+3
original-metadata-index.jsonAdded
original-metadata.tar.gzAdded+3
provenance.jsonAdded+11
source-inventory.jsonAdded