Run this model with HF Jobs
Run jpata/particleflow on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/jpata/particleflow. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/jpata/particleflow on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use jpata/particleflow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLPF
How to use jpata/particleflow with MLPF:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload Key4hep full-input model cld_track_calohit_seed12345_20261127_165204_499353
Browse filesFiles changed (19)
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/checkpoints/best.pthAdded+3
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/checkpoints/checkpoint-100000.pthAdded+3
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/history.tar.gzAdded+3
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/hyperparameters.jsonAdded+1
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/model_kwargs.pklAdded+3
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/particleflow_spec.yamlAdded
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/runs/train/events.out.tfevents.1795793548.nid006973.110527.0Added+3
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/runs/valid/events.out.tfevents.1795793548.nid006973.110527.1Added+3
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/scenario-manifest.jsonAdded+894
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train-config.yamlAdded+366
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.logAdded+10
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.0Added
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.1Added
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.2Added
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.3Added
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.4Added
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.5Added
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.6Added
- cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.7Added
123version https://git-lfs.github.com/spec/v1oid sha256:2cd00d6dbae0d337ff732a404a0bc2c61531f571b54831852b9a937b81065cddsize 137665402123version https://git-lfs.github.com/spec/v1oid sha256:8d06c78766ea47bbd9f3ece2bd3c1f31036cc2f436897df85c1dced914492122size 137716019123version https://git-lfs.github.com/spec/v1oid sha256:f16a37a1d233e5d52c21dfabe62072fd4211c8bd0fab6c6cbcb8db4acb5b69bcsize 44109391{"num_mlpf_params": 11449620, "dataset": "cld_hits", "data_dir": "/scratch/project_465001293/joosep/mlpf/cld/", "model": {"type": "heptv2", "input_encoding": "split", "learned_representation_mode": "last", "pt_mode": "direct-elemtype-split", "eta_mode": "linear", "sin_phi_mode": "linear", "cos_phi_mode": "linear", "energy_mode": "direct-elemtype-split", "trainable": "all", "task_queries": false, "output_mode": "set", "binary_classification_focal_gamma": 2.0, "backbone": {"mode": "shared", "num_convs": 6, "num_tracker_layers": null, "num_calo_layers": null, "num_common_layers": null}, "hit_feature_engineering": {"enabled": true, "geometry": true, "tracker_neighborhood": true, "tracker_momentum": false, "tracker_doublets": false, "calorimeter_neighborhood": true}, "set_decoder": {"num_slots": 256, "num_layers": 4, "num_heads": 8, "ffn_multiplier": 4.0, "dropout": 0.0, "query_init": "input-conditioned", "local_attention_radius": 0.4, "attention_mode": "global-flash", "num_sectors": 32, "sector_neighbors": 1, "tracker_query_fraction": 0.6, "proposal_mode": "grid-diverse", "proposal_grid_size": 0.1, "use_aggregate_anchors": true, "aggregate_grid_size": 0.1, "presence_threshold": 0.5, "no_object_weight": 1.0, "cardinality_loss_weight": 0.05, "auxiliary_loss_weight": 0.25, "momentum_loss": "mse", "momentum_huber_delta": 0.2, "hit_grouping": true, "hit_grouping_dim": 32, "hit_grouping_chunk_size": 1024, "hit_grouping_loss_weight": 0.1, "hit_grouping_background_weight": 0.1, "hit_grouping_detector_balanced": false, "hit_grouping_tracker_particle_balanced": false, "hit_grouping_origins": null, "hit_grouping_excluded_as": "ignore", "tracker_overlap_loss_weight": 0.0, "hit_grouping_sparse": false, "hit_grouping_topk": 4, "hit_grouping_temperature": 1.0, "tracker_momentum_readout": true, "tracker_momentum_max_log_correction": 0.4054651081081644, "tracker_geometry_loss_weight": 0.0, "tracker_curvature_loss_weight": 0.0, "tracker_loss_max_hits": 64, "tracker_group_readout": false, "tracker_fit_correction": false, "tracker_fit_max_log_correction": 0.4054651081081644, "tracker_group_magnetic_field": 2.0, "event_consistency_loss_weight": 0.0, "matcher": {"presence": 1.0, "pid": 1.0, "geometry": 2.0, "pt": 1.0, "energy": 0.0, "dr_scale": 0.1, "log_pt_scale": 0.6931471805599453, "log_energy_scale": 0.6931471805599453}}, "input_normalization": false, "feature_bag": false, "gnnlsh": null, "attention": {"num_convs": 3, "dropout_ff": 0.0, "activation": "elu", "layernorm": true, "num_heads": 16, "head_dim": 16, "attention_type": "flash", "dropout_conv_reg_mha": 0.0, "dropout_conv_reg_ff": 0.0, "dropout_conv_id_mha": 0.0, "dropout_conv_id_ff": 0.0, "use_pre_layernorm": true, "use_jagged_attention": false, "use_flash_attn_varlen": true, "export_onnx_fused": false, "save_attention": false}, "litept": null, "hept": null, "heptv2": {"activation_checkpointing": false, "pack_padding": true, "embedding_dim": 256, "width": 256, "num_convs": 6, "num_heads": 16, "dropout_ff": 0.0, "activation": "elu", "pe_type": "learned", "share_position_embedding": true, "block_size": 128, "n_hashes": 3, "num_regions": 140, "deterministic_hashing": true, "num_w_per_dist": 10, "mlp_ratio": 4.0, "track_hash_at_calo": true, "track_hash_calo_radius_mm": null, "track_hash_calo_endcap_z_mm": null, "cluster_hash_at_centroid": false}}, "conv_type": "heptv2", "batch_size": 1, "hyperparameters": {"batch_size": 1, "lr": 0.001}, "backend": "pytorch", "threads": 16, "gpu_type": "l40", "mem_per_gpu_mb": 40000, "slurm_partition": "gpu", "slurm_runtime": "168h", "input_dim": 16, "num_classes": 6, "elemtypes_nonzero": [1, 2], "seed": 12345, "num_steps": 100000, "patience": 100000, "checkpoint_freq": 1000, "val_freq": 1000, "num_workers": 2, "prefetch_factor": 2, "max_open_readers": 64, "gpu_batch_multiplier": 4, "dtype": "bfloat16", "lr": 0.001, "weight_decay": 0.01, "optimizer": "lamb", "lr_schedule": "onecycle", "lr_schedule_config": {"onecycle": {"pct_start": 0.3}}, "task_loss_weights": {"calibration_steps": 100, "epsilon": 1e-08, "min_weight": 0.01, "max_weight": 1000.0}, "lr_finder": {"start_lr": 1e-07, "end_lr": 0.1, "num_steps": 1000, "smoothing": 0.98, "divergence_factor": 4.0}, "pad_to_multiple_elements": 128, "full_elements": ["track", "hit_calo"], "validation_diagnostics_batches": 4, "validation_linear_probe": true, "validation_linear_probe_max_events": 16, "validation_particle_metrics": true, "validation_particle_metrics_max_events": 128, "train": true, "lr_find": false, "test": true, "compile": false, "make_plots": true, "sort_data": false, "sampler_mode": "interleaved-shards", "load": null, "relaxed_load": false, "load_weights_only": false, "reset_task_loss_weights": false, "sampler_from_scratch": false, "comet": false, "comet_offline": false, "comet_name": "particleflow", "tensorboard_step_freq": 100, "benchmark": {"enabled": true, "sample_interval_seconds": 1.0, "warmup_steps": 100, "gpu_timing_interval": 0}, "raytune": {"local_dir": null, "sched": "asha", "search_alg": null, "default_metric": "val_loss", "default_mode": "min", "asha": {"max_t": 200, "reduction_factor": 4, "brackets": 1, "grace_period": 10}, "hyperband": {"max_t": 200, "reduction_factor": 4}, "hyperopt": {"n_random_steps": 10}, "nevergrad": {"n_random_steps": 10}}, "train_dataset": {"cld_hits": {"physical": {"batch_size": 1, "weight": null, "samples": {"cld_edm_ttbar_full": {"version": "1.0.0", "splits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "batch_size": null}, "cld_edm_ww_fullhad_full": {"version": "1.0.0", "splits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "batch_size": null}, "cld_edm_qq_full": {"version": "1.0.0", "splits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "batch_size": null}}}}}, "valid_dataset": {"cld_hits": {"physical": {"batch_size": 1, "weight": null, "samples": {"cld_edm_ttbar_full": {"version": "1.0.0", "splits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "batch_size": null}, "cld_edm_ww_fullhad_full": {"version": "1.0.0", "splits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "batch_size": null}, "cld_edm_qq_full": {"version": "1.0.0", "splits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "batch_size": null}}}}}, "test_dataset": {"cld_edm_ttbar_full": {"version": "1.0.0", "splits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "batch_size": 1}, "cld_edm_ww_fullhad_full": {"version": "1.0.0", "splits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "batch_size": 1}, "cld_edm_qq_full": {"version": "1.0.0", "splits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "batch_size": 1}}, "enabled_test_datasets": ["cld_edm_ttbar_full", "cld_edm_ww_fullhad_full", "cld_edm_qq_full"], "ntrain": null, "train_fraction": 1.0, "nvalid": 512, "ntest": 512, "data_config": null, "gpus": 8}123version https://git-lfs.github.com/spec/v1oid sha256:939ed728f5078da7826148340248b720ca05859a28e8d06c9f8c06759f2ff234size 7564123version https://git-lfs.github.com/spec/v1oid sha256:4caac60776e71f87ae446d691ef42336492a4f982201a39eb100eca95689249asize 103536304123version https://git-lfs.github.com/spec/v1oid sha256:13d359bd5359b824f03a87c199ec49801583fbed9ee009e1e67a93253c709544size 18770676123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894{ "scenario": { "name": "key4hep_full_inputs_100k", "spec_file": "particleflow_spec.yaml", "production_name": "cld", "variants": { "cld_hits": { "model_name": "pyg-cld-hits-heptv2-set-v1", "production_name": null, "gpus": null, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "hit_tracker", "hit_calo" ] } }, "cld_track_calohit": { "model_name": "pyg-cld-hits-heptv2-set-v1", "production_name": null, "gpus": null, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "track", "hit_calo" ], "model.heptv2.track_hash_at_calo": true } }, "cld_track_cluster": { "model_name": "pyg-cld-hits-heptv2-set-v1", "production_name": null, "gpus": 1, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "track", "cluster" ], "model.heptv2.track_hash_at_calo": true } }, "clic_hits": { "model_name": "pyg-clic-hits-heptv2-set-v1", "production_name": "clic", "gpus": null, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "hit_tracker", "hit_calo" ] } }, "clic_track_calohit": { "model_name": "pyg-clic-hits-heptv2-set-v1", "production_name": "clic", "gpus": null, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "track", "hit_calo" ], "model.heptv2.track_hash_at_calo": true } }, "clic_track_cluster": { "model_name": "pyg-clic-hits-heptv2-set-v1", "production_name": "clic", "gpus": 1, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "track", "cluster" ], "model.heptv2.track_hash_at_calo": true } }, "idea_hits": { "model_name": "pyg-idea-hits-heptv2-set-v1", "production_name": "idea", "gpus": null, "data_root": null, "data_subdir": null, "global_batch_size": 8, "overrides": { "full_elements": [ "hit_tracker", "hit_calo" ] } }, "idea_track_calohit": { "model_name": "pyg-idea-hits-heptv2-set-v1", "production_name": "idea", "gpus": null, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "track", "hit_calo" ], "model.heptv2.track_hash_at_calo": true } }, "idea_track_cluster": { "model_name": "pyg-idea-hits-heptv2-set-v1", "production_name": "idea", "gpus": 1, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "track", "cluster" ], "model.heptv2.track_hash_at_calo": true } }, "ild_hits": { "model_name": "pyg-ild-hits-heptv2-set-v1", "production_name": "ild", "gpus": null, "data_root": null, "data_subdir": null, "global_batch_size": 16, "overrides": { "full_elements": [ "hit_tracker", "hit_calo" ] } }, "ild_track_calohit": { "model_name": "pyg-ild-hits-heptv2-set-v1", "production_name": "ild", "gpus": null, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "track", "hit_calo" ], "model.heptv2.track_hash_at_calo": true } }, "ild_track_cluster": { "model_name": "pyg-ild-hits-heptv2-set-v1", "production_name": "ild", "gpus": 1, "data_root": null, "data_subdir": null, "global_batch_size": null, "overrides": { "full_elements": [ "track", "cluster" ], "model.heptv2.track_hash_at_calo": true } } }, "seeds": [ 12345 ], "training": { "global_batch_size": 32, "parameters": { "optimizer": "lamb", "lr": 0.001, "lr_schedule": "onecycle", "lr_schedule_config.onecycle.pct_start": 0.3, "num_steps": 100000, "patience": 100000, "val_freq": 1000, "checkpoint_freq": 1000, "nvalid": 512, "ntest": 512, "sampler_mode": "interleaved-shards", "validation_diagnostics_batches": 4, "validation_linear_probe": true, "validation_linear_probe_max_events": 16, "pad_to_multiple_elements": 128, "make_plots": true, "load": null, "benchmark.enabled": true, "benchmark.sample_interval_seconds": 1.0, "benchmark.warmup_steps": 100, "benchmark.gpu_timing_interval": 0 } }, "common_overrides": { "model.heptv2.n_hashes": 3, "model.heptv2.deterministic_hashing": true, "model.heptv2.pack_padding": true, "model.heptv2.share_position_embedding": true, "model.heptv2.activation_checkpointing": false, "model.set_decoder.hit_grouping_background_weight": 0.1, "model.set_decoder.hit_grouping_sparse": false, "model.set_decoder.hit_grouping_tracker_particle_balanced": false, "model.set_decoder.tracker_momentum_readout": true, "model.set_decoder.tracker_overlap_loss_weight": 0.0, "model.set_decoder.tracker_geometry_loss_weight": 0.0, "model.set_decoder.tracker_curvature_loss_weight": 0.0, "model.hit_feature_engineering.enabled": true, "model.hit_feature_engineering.geometry": true, "model.hit_feature_engineering.calorimeter_neighborhood": true, "model.hit_feature_engineering.tracker_neighborhood": true, "model.hit_feature_engineering.tracker_momentum": false, "model.hit_feature_engineering.tracker_doublets": false }, "allowed_variant_differences": [ "data_dir", "dataset", "enabled_test_datasets", "full_elements", "input_dim", "model.heptv2.track_hash_at_calo", "model.set_decoder.tracker_group_magnetic_field", "train_dataset", "valid_dataset", "test_dataset" ] }, "platform": { "name": "lumi_mi250x", "gpus": 8, "python_command": [ "python3" ], "data_dir": { "cld": "/scratch/project_465001293/joosep/mlpf/cld/", "clic": "/scratch/project_465001293/joosep/mlpf/clic/", "cms_run3": "/scratch/project_465001293/joosep/mlpf/cms/2.8.0/", "colliderml": "/scratch/project_465001293/joosep/mlpf/colliderml/", "idea": "/scratch/project_465001293/joosep/mlpf/idea/", "ild": "/scratch/project_465001293/joosep/mlpf/ild/" }, "experiments_dir": "/scratch/project_465001293/patajoos/particleflow/experiments", "environment": { "MLPF_SHARING_STRATEGY": "file_descriptor", "MIOPEN_USER_DB_PATH": "/tmp/patajoos-${SLURM_JOB_ID}-miopen-cache", "MIOPEN_CUSTOM_CACHE_DIR": "/tmp/patajoos-${SLURM_JOB_ID}-miopen-cache", "ROCM_PATH": "/opt/rocm", "KERAS_BACKEND": "torch", "OMP_NUM_THREADS": "4", "PYTHONUNBUFFERED": "1", "NCCL_SOCKET_IFNAME": "hsn", "NCCL_NET_GDR_LEVEL": "3" }, "runtime_overrides": { "compile": false, "dtype": "bfloat16", "num_workers": 2, "prefetch_factor": 2, "model.attention.use_flash_attn_varlen": true }, "slurm": { "partition": "standard-g", "constraint": null, "account": "project_465001293", "qos": null, "reservation": null, "time": "2-00:00:00", "nodes": 1, "tasks_per_node": 1, "cpus_per_task": 32, "cpus_per_gpu": null, "gpu_request": "gpus-per-task", "gpu_type": null, "memory": "480G", "memory_per_gpu": null, "no_requeue": true, "partial_node": { "partition": "small-g", "cpus_per_gpu": 7, "memory": null, "memory_per_gpu": "60G" } } }, "job": { "scenario_name": "key4hep_full_inputs_100k", "platform_name": "lumi_mi250x", "variant_name": "cld_track_calohit", "model_name": "pyg-cld-hits-heptv2-set-v1", "production_name": "cld", "data_dir": "/scratch/project_465001293/joosep/mlpf/cld/", "seed": 12345, "global_batch_size": 32, "per_gpu_batch_size": 4, "gpu_batch_multiplier": 4, "settings": { "optimizer": "lamb", "lr": 0.001, "lr_schedule": "onecycle", "lr_schedule_config.onecycle.pct_start": 0.3, "num_steps": 100000, "patience": 100000, "val_freq": 1000, "checkpoint_freq": 1000, "nvalid": 512, "ntest": 512, "sampler_mode": "interleaved-shards", "validation_diagnostics_batches": 4, "validation_linear_probe": true, "validation_linear_probe_max_events": 16, "pad_to_multiple_elements": 128, "make_plots": true, "load": null, "benchmark.enabled": true, "benchmark.sample_interval_seconds": 1.0, "benchmark.warmup_steps": 100, "benchmark.gpu_timing_interval": 0, "model.heptv2.n_hashes": 3, "model.heptv2.deterministic_hashing": true, "model.heptv2.pack_padding": true, "model.heptv2.share_position_embedding": true, "model.heptv2.activation_checkpointing": false, "model.set_decoder.hit_grouping_background_weight": 0.1, "model.set_decoder.hit_grouping_sparse": false, "model.set_decoder.hit_grouping_tracker_particle_balanced": false, "model.set_decoder.tracker_momentum_readout": true, "model.set_decoder.tracker_overlap_loss_weight": 0.0, "model.set_decoder.tracker_geometry_loss_weight": 0.0, "model.set_decoder.tracker_curvature_loss_weight": 0.0, "model.hit_feature_engineering.enabled": true, "model.hit_feature_engineering.geometry": true, "model.hit_feature_engineering.calorimeter_neighborhood": true, "model.hit_feature_engineering.tracker_neighborhood": true, "model.hit_feature_engineering.tracker_momentum": false, "model.hit_feature_engineering.tracker_doublets": false, "compile": false, "dtype": "bfloat16", "num_workers": 2, "prefetch_factor": 2, "model.attention.use_flash_attn_varlen": true, "full_elements": [ "track", "hit_calo" ], "model.heptv2.track_hash_at_calo": true, "seed": 12345, "gpu_batch_multiplier": 4 } }, "resolved_config": { "dataset": "cld_hits", "data_dir": "/scratch/project_465001293/joosep/mlpf/cld/", "model": { "type": "heptv2", "input_encoding": "split", "learned_representation_mode": "last", "pt_mode": "direct-elemtype-split", "eta_mode": "linear", "sin_phi_mode": "linear", "cos_phi_mode": "linear", "energy_mode": "direct-elemtype-split", "trainable": "all", "task_queries": false, "output_mode": "set", "binary_classification_focal_gamma": 2.0, "backbone": { "mode": "shared", "num_convs": 6, "num_tracker_layers": null, "num_calo_layers": null, "num_common_layers": null }, "hit_feature_engineering": { "enabled": true, "geometry": true, "tracker_neighborhood": true, "tracker_momentum": false, "tracker_doublets": false, "calorimeter_neighborhood": true }, "set_decoder": { "num_slots": 256, "num_layers": 4, "num_heads": 8, "ffn_multiplier": 4.0, "dropout": 0.0, "query_init": "input-conditioned", "local_attention_radius": 0.4, "attention_mode": "global-flash", "num_sectors": 32, "sector_neighbors": 1, "tracker_query_fraction": 0.6, "proposal_mode": "grid-diverse", "proposal_grid_size": 0.1, "use_aggregate_anchors": true, "aggregate_grid_size": 0.1, "presence_threshold": 0.5, "no_object_weight": 1.0, "cardinality_loss_weight": 0.05, "auxiliary_loss_weight": 0.25, "momentum_loss": "mse", "momentum_huber_delta": 0.2, "hit_grouping": true, "hit_grouping_dim": 32, "hit_grouping_chunk_size": 1024, "hit_grouping_loss_weight": 0.1, "hit_grouping_background_weight": 0.1, "hit_grouping_detector_balanced": false, "hit_grouping_tracker_particle_balanced": false, "hit_grouping_origins": null, "hit_grouping_excluded_as": "ignore", "tracker_overlap_loss_weight": 0.0, "hit_grouping_sparse": false, "hit_grouping_topk": 4, "hit_grouping_temperature": 1.0, "tracker_momentum_readout": true, "tracker_momentum_max_log_correction": 0.4054651081081644, "tracker_geometry_loss_weight": 0.0, "tracker_curvature_loss_weight": 0.0, "tracker_loss_max_hits": 64, "tracker_group_readout": false, "tracker_fit_correction": false, "tracker_fit_max_log_correction": 0.4054651081081644, "tracker_group_magnetic_field": 2.0, "event_consistency_loss_weight": 0.0, "matcher": { "presence": 1.0, "pid": 1.0, "geometry": 2.0, "pt": 1.0, "energy": 0.0, "dr_scale": 0.1, "log_pt_scale": 0.6931471805599453, "log_energy_scale": 0.6931471805599453 } }, "input_normalization": false, "feature_bag": false, "gnnlsh": null, "attention": { "num_convs": 3, "dropout_ff": 0.0, "activation": "elu", "layernorm": true, "num_heads": 16, "head_dim": 16, "attention_type": "flash", "dropout_conv_reg_mha": 0.0, "dropout_conv_reg_ff": 0.0, "dropout_conv_id_mha": 0.0, "dropout_conv_id_ff": 0.0, "use_pre_layernorm": true, "use_jagged_attention": false, "use_flash_attn_varlen": true, "export_onnx_fused": false, "save_attention": false }, "litept": null, "hept": null, "heptv2": { "activation_checkpointing": false, "pack_padding": true, "embedding_dim": 256, "width": 256, "num_convs": 6, "num_heads": 16, "dropout_ff": 0.0, "activation": "elu", "pe_type": "learned", "share_position_embedding": true, "block_size": 128, "n_hashes": 3, "num_regions": 140, "deterministic_hashing": true, "num_w_per_dist": 10, "mlp_ratio": 4.0, "track_hash_at_calo": true, "track_hash_calo_radius_mm": null, "track_hash_calo_endcap_z_mm": null, "cluster_hash_at_centroid": false } }, "conv_type": "heptv2", "batch_size": 1, "hyperparameters": { "batch_size": 1, "lr": 0.001 }, "backend": "pytorch", "threads": 16, "gpu_type": "l40", "mem_per_gpu_mb": 40000, "slurm_partition": "gpu", "slurm_runtime": "168h", "input_dim": 16, "num_classes": 6, "elemtypes_nonzero": [ 1, 2 ], "seed": 12345, "num_steps": 100000, "patience": 100000, "checkpoint_freq": 1000, "val_freq": 1000, "num_workers": 2, "prefetch_factor": 2, "max_open_readers": 64, "gpu_batch_multiplier": 4, "dtype": "bfloat16", "lr": 0.001, "weight_decay": 0.01, "optimizer": "lamb", "lr_schedule": "onecycle", "lr_schedule_config": { "onecycle": { "pct_start": 0.3 } }, "task_loss_weights": { "calibration_steps": 100, "epsilon": 1e-08, "min_weight": 0.01, "max_weight": 1000.0 }, "lr_finder": { "start_lr": 1e-07, "end_lr": 0.1, "num_steps": 1000, "smoothing": 0.98, "divergence_factor": 4.0 }, "pad_to_multiple_elements": 128, "full_elements": [ "track", "hit_calo" ], "validation_diagnostics_batches": 4, "validation_linear_probe": true, "validation_linear_probe_max_events": 16, "validation_particle_metrics": true, "validation_particle_metrics_max_events": 128, "train": true, "lr_find": false, "test": true, "compile": false, "make_plots": true, "sort_data": false, "sampler_mode": "interleaved-shards", "load": null, "relaxed_load": false, "load_weights_only": false, "reset_task_loss_weights": false, "sampler_from_scratch": false, "comet": false, "comet_offline": false, "comet_name": "particleflow", "tensorboard_step_freq": 100, "benchmark": { "enabled": true, "sample_interval_seconds": 1.0, "warmup_steps": 100, "gpu_timing_interval": 0 }, "raytune": { "local_dir": null, "sched": "asha", "search_alg": null, "default_metric": "val_loss", "default_mode": "min", "asha": { "max_t": 200, "reduction_factor": 4, "brackets": 1, "grace_period": 10 }, "hyperband": { "max_t": 200, "reduction_factor": 4 }, "hyperopt": { "n_random_steps": 10 }, "nevergrad": { "n_random_steps": 10 } }, "train_dataset": { "cld_hits": { "physical": { "batch_size": 1, "weight": null, "samples": { "cld_edm_ttbar_full": { "version": "1.0.0", "splits": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "batch_size": null }, "cld_edm_ww_fullhad_full": { "version": "1.0.0", "splits": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "batch_size": null }, "cld_edm_qq_full": { "version": "1.0.0", "splits": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "batch_size": null } } } } }, "valid_dataset": { "cld_hits": { "physical": { "batch_size": 1, "weight": null, "samples": { "cld_edm_ttbar_full": { "version": "1.0.0", "splits": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "batch_size": null }, "cld_edm_ww_fullhad_full": { "version": "1.0.0", "splits": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "batch_size": null }, "cld_edm_qq_full": { "version": "1.0.0", "splits": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "batch_size": null } } } } }, "test_dataset": { "cld_edm_ttbar_full": { "version": "1.0.0", "splits": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "batch_size": 1 }, "cld_edm_ww_fullhad_full": { "version": "1.0.0", "splits": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "batch_size": 1 }, "cld_edm_qq_full": { "version": "1.0.0", "splits": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "batch_size": 1 } }, "enabled_test_datasets": [ "cld_edm_ttbar_full", "cld_edm_ww_fullhad_full", "cld_edm_qq_full" ], "ntrain": null, "train_fraction": 1.0, "nvalid": 512, "ntest": 512, "data_config": null, "gpus": 8 }, "command": [ "python3", "-u", "mlpf/pipeline.py", "--spec-file", "/pfs/lustrep2/scratch/project_465001293/joosep/particleflow/logs_slurm/submissions/key4hep_full_inputs_100k_20261127_165204_386929/particleflow_spec.yaml", "--model-name", "pyg-cld-hits-heptv2-set-v1", "--production-name", "cld", "--data-dir", "/scratch/project_465001293/joosep/mlpf/cld/", "--experiment-dir", "/pfs/lustrep2/scratch/project_465001293/patajoos/particleflow/experiments/key4hep_full_inputs_100k/cld_track_calohit_seed12345_20261127_165204_499353", "train", "--gpus", "8", "--dtype", "bfloat16", "--make-plots", "--optimizer", "lamb", "--lr", "0.001", "--lr_schedule", "onecycle", "--lr_schedule_config.onecycle.pct_start", "0.3", "--num_steps", "100000", "--patience", "100000", "--val_freq", "1000", "--checkpoint_freq", "1000", "--nvalid", "512", "--ntest", "512", "--sampler_mode", "interleaved-shards", "--validation_diagnostics_batches", "4", "--validation_linear_probe", "true", "--validation_linear_probe_max_events", "16", "--pad_to_multiple_elements", "128", "--benchmark.enabled", "true", "--benchmark.sample_interval_seconds", "1.0", "--benchmark.warmup_steps", "100", "--benchmark.gpu_timing_interval", "0", "--model.heptv2.n_hashes", "3", "--model.heptv2.deterministic_hashing", "true", "--model.heptv2.pack_padding", "true", "--model.heptv2.share_position_embedding", "true", "--model.heptv2.activation_checkpointing", "false", "--model.set_decoder.hit_grouping_background_weight", "0.1", "--model.set_decoder.hit_grouping_sparse", "false", "--model.set_decoder.hit_grouping_tracker_particle_balanced", "false", "--model.set_decoder.tracker_momentum_readout", "true", "--model.set_decoder.tracker_overlap_loss_weight", "0.0", "--model.set_decoder.tracker_geometry_loss_weight", "0.0", "--model.set_decoder.tracker_curvature_loss_weight", "0.0", "--model.hit_feature_engineering.enabled", "true", "--model.hit_feature_engineering.geometry", "true", "--model.hit_feature_engineering.calorimeter_neighborhood", "true", "--model.hit_feature_engineering.tracker_neighborhood", "true", "--model.hit_feature_engineering.tracker_momentum", "false", "--model.hit_feature_engineering.tracker_doublets", "false", "--num_workers", "2", "--prefetch_factor", "2", "--model.attention.use_flash_attn_varlen", "true", "--full_elements", "[\"track\", \"hit_calo\"]", "--model.heptv2.track_hash_at_calo", "true", "--seed", "12345", "--gpu_batch_multiplier", "4" ], "git_revision": "120d94f6b1a466796d3f8c80e64bf39b3f962ef3"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366backend: pytorchbatch_size: 1benchmark: enabled: true gpu_timing_interval: 0 sample_interval_seconds: 1.0 warmup_steps: 100checkpoint_freq: 1000comet: falsecomet_name: particleflowcomet_offline: falsecompile: falseconv_type: heptv2data_config: nulldata_dir: /scratch/project_465001293/joosep/mlpf/cld/dataset: cld_hitsdtype: bfloat16elemtypes_nonzero:- 1- 2enabled_test_datasets:- cld_edm_ttbar_full- cld_edm_ww_fullhad_full- cld_edm_qq_fullfull_elements:- track- hit_calogpu_batch_multiplier: 4gpu_type: l40gpus: 8hyperparameters: batch_size: 1 lr: 0.001input_dim: 16load: nullload_weights_only: falselr: 0.001lr_find: falselr_finder: divergence_factor: 4.0 end_lr: 0.1 num_steps: 1000 smoothing: 0.98 start_lr: 1.0e-07lr_schedule: onecyclelr_schedule_config: onecycle: pct_start: 0.3make_plots: truemax_open_readers: 64mem_per_gpu_mb: 40000model: attention: activation: elu attention_type: flash dropout_conv_id_ff: 0.0 dropout_conv_id_mha: 0.0 dropout_conv_reg_ff: 0.0 dropout_conv_reg_mha: 0.0 dropout_ff: 0.0 export_onnx_fused: false head_dim: 16 layernorm: true num_convs: 3 num_heads: 16 save_attention: false use_flash_attn_varlen: true use_jagged_attention: false use_pre_layernorm: true backbone: mode: shared num_calo_layers: null num_common_layers: null num_convs: 6 num_tracker_layers: null binary_classification_focal_gamma: 2.0 cos_phi_mode: linear energy_mode: direct-elemtype-split eta_mode: linear feature_bag: false gnnlsh: null hept: null heptv2: activation: elu activation_checkpointing: false block_size: 128 cluster_hash_at_centroid: false deterministic_hashing: true dropout_ff: 0.0 embedding_dim: 256 mlp_ratio: 4.0 n_hashes: 3 num_convs: 6 num_heads: 16 num_regions: 140 num_w_per_dist: 10 pack_padding: true pe_type: learned share_position_embedding: true track_hash_at_calo: true track_hash_calo_endcap_z_mm: null track_hash_calo_radius_mm: null width: 256 hit_feature_engineering: calorimeter_neighborhood: true enabled: true geometry: true tracker_doublets: false tracker_momentum: false tracker_neighborhood: true input_encoding: split input_normalization: false learned_representation_mode: last litept: null output_mode: set pt_mode: direct-elemtype-split set_decoder: aggregate_grid_size: 0.1 attention_mode: global-flash auxiliary_loss_weight: 0.25 cardinality_loss_weight: 0.05 dropout: 0.0 event_consistency_loss_weight: 0.0 ffn_multiplier: 4.0 hit_grouping: true hit_grouping_background_weight: 0.1 hit_grouping_chunk_size: 1024 hit_grouping_detector_balanced: false hit_grouping_dim: 32 hit_grouping_excluded_as: ignore hit_grouping_loss_weight: 0.1 hit_grouping_origins: null hit_grouping_sparse: false hit_grouping_temperature: 1.0 hit_grouping_topk: 4 hit_grouping_tracker_particle_balanced: false local_attention_radius: 0.4 matcher: dr_scale: 0.1 energy: 0.0 geometry: 2.0 log_energy_scale: 0.6931471805599453 log_pt_scale: 0.6931471805599453 pid: 1.0 presence: 1.0 pt: 1.0 momentum_huber_delta: 0.2 momentum_loss: mse no_object_weight: 1.0 num_heads: 8 num_layers: 4 num_sectors: 32 num_slots: 256 presence_threshold: 0.5 proposal_grid_size: 0.1 proposal_mode: grid-diverse query_init: input-conditioned sector_neighbors: 1 tracker_curvature_loss_weight: 0.0 tracker_fit_correction: false tracker_fit_max_log_correction: 0.4054651081081644 tracker_geometry_loss_weight: 0.0 tracker_group_magnetic_field: 2.0 tracker_group_readout: false tracker_loss_max_hits: 64 tracker_momentum_max_log_correction: 0.4054651081081644 tracker_momentum_readout: true tracker_overlap_loss_weight: 0.0 tracker_query_fraction: 0.6 use_aggregate_anchors: true sin_phi_mode: linear task_queries: false trainable: all type: heptv2ntest: 512ntrain: nullnum_classes: 6num_steps: 100000num_workers: 2nvalid: 512optimizer: lambpad_to_multiple_elements: 128patience: 100000prefetch_factor: 2raytune: asha: brackets: 1 grace_period: 10 max_t: 200 reduction_factor: 4 default_metric: val_loss default_mode: min hyperband: max_t: 200 reduction_factor: 4 hyperopt: n_random_steps: 10 local_dir: null nevergrad: n_random_steps: 10 sched: asha search_alg: nullrelaxed_load: falsereset_task_loss_weights: falsesampler_from_scratch: falsesampler_mode: interleaved-shardsseed: 12345slurm_partition: gpuslurm_runtime: 168hsort_data: falsetask_loss_weights: calibration_steps: 100 epsilon: 1.0e-08 max_weight: 1000.0 min_weight: 0.01tensorboard_step_freq: 100test: truetest_dataset: cld_edm_qq_full: batch_size: 1 splits: - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - '10' version: 1.0.0 cld_edm_ttbar_full: batch_size: 1 splits: - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - '10' version: 1.0.0 cld_edm_ww_fullhad_full: batch_size: 1 splits: - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - '10' version: 1.0.0threads: 16train: truetrain_dataset: cld_hits: physical: batch_size: 1 samples: cld_edm_qq_full: batch_size: null splits: - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - '10' version: 1.0.0 cld_edm_ttbar_full: batch_size: null splits: - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - '10' version: 1.0.0 cld_edm_ww_fullhad_full: batch_size: null splits: - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - '10' version: 1.0.0 weight: nulltrain_fraction: 1.0val_freq: 1000valid_dataset: cld_hits: physical: batch_size: 1 samples: cld_edm_qq_full: batch_size: null splits: - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - '10' version: 1.0.0 cld_edm_ttbar_full: batch_size: null splits: - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - '10' version: 1.0.0 cld_edm_ww_fullhad_full: batch_size: null splits: - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - '10' version: 1.0.0 weight: nullvalidation_diagnostics_batches: 4validation_linear_probe: truevalidation_linear_probe_max_events: 16validation_particle_metrics: truevalidation_particle_metrics_max_events: 128weight_decay: 0.0112345678910rank0 [2026-11-27 17:31:36,637] INFO : [0;35mWill use torch.nn.parallel.DistributedDataParallel() and 8 gpus[0mrank0 [2026-11-27 17:31:36,834] INFO : [0;35mAMD Instinct MI250X[0mrank0 [2026-11-27 17:31:36,834] INFO : [0;35mAMD Instinct MI250X[0mrank0 [2026-11-27 17:31:36,835] INFO : [0;35mAMD Instinct MI250X[0mrank0 [2026-11-27 17:31:36,835] INFO : [0;35mAMD Instinct MI250X[0mrank0 [2026-11-27 17:31:36,835] INFO : [0;35mAMD Instinct MI250X[0mrank0 [2026-11-27 17:31:36,835] INFO : [0;35mAMD Instinct MI250X[0mrank0 [2026-11-27 17:31:36,835] INFO : [0;35mAMD Instinct MI250X[0mrank0 [2026-11-27 17:31:36,835] INFO : [0;35mAMD Instinct MI250X[0mrank0 [2026-11-27 17:31:36,835] INFO : Spawning DDP processescld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/checkpoints/best.pthAdded+3
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/checkpoints/checkpoint-100000.pthAdded+3
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/history.tar.gzAdded+3
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/hyperparameters.jsonAdded+1
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/model_kwargs.pklAdded+3
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/particleflow_spec.yamlAdded
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/runs/train/events.out.tfevents.1795793548.nid006973.110527.0Added+3
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/runs/valid/events.out.tfevents.1795793548.nid006973.110527.1Added+3
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/scenario-manifest.jsonAdded+894
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train-config.yamlAdded+366
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.logAdded+10
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.0Added
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.1Added
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.2Added
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.3Added
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.4Added
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.5Added
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.6Added
cld/full/key4hep-v1.4.0/cld_track_calohit_seed12345_20261127_165204_499353/train.log.7Added