circuitkit 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {circuitkit-0.2.2 → circuitkit-0.2.3}/.github/workflows/docs.yml +10 -8
- {circuitkit-0.2.2 → circuitkit-0.2.3}/.github/workflows/patch-release.yml +23 -8
- {circuitkit-0.2.2 → circuitkit-0.2.3}/.github/workflows/test.yml +3 -3
- {circuitkit-0.2.2 → circuitkit-0.2.3}/.github/workflows/version-consistency.yml +2 -2
- {circuitkit-0.2.2/src/circuitkit.egg-info → circuitkit-0.2.3}/PKG-INFO +4 -4
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/INSTALLATION.md +2 -2
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/contributing/testing-on-cuda.md +3 -3
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/getting-started/installation.md +1 -1
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/troubleshooting.md +1 -1
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/notebooks/00_colab_setup.ipynb +1 -1
- {circuitkit-0.2.2 → circuitkit-0.2.3}/pyproject.toml +6 -3
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/__init__.py +1 -1
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/generic.py +10 -7
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/safety_datasets.py +47 -21
- {circuitkit-0.2.2 → circuitkit-0.2.3/src/circuitkit.egg-info}/PKG-INFO +4 -4
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit.egg-info/SOURCES.txt +1 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit.egg-info/requires.txt +3 -3
- circuitkit-0.2.3/tests/data/test_safety_register_pairing.py +70 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_generic_task.py +26 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/LICENSE.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/MANIFEST.in +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/README.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/API_REFERENCE.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/about/faq.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/about/license.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/about/release-notes.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/about/roadmap.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/advanced/architecture-registry.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/advanced/chat-templates.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/advanced/circuit-artifacts.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/advanced/experimental-models.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/advanced/hallucination-detection.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/advanced/memory-optimization.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/advanced/tiny-aya.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/advanced/vllm-evaluation.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/algorithms/acdc.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/algorithms/capability-matrix.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/algorithms/cdt.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/algorithms/eap.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/algorithms/ibcircuit.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/algorithms/overview.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/algorithms/stability-tiers.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/applications.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/backends.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/dict-config.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/evaluation.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/flat-api.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/overview.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/pipeline.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/provenance.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/selectors.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/api-reference/tasks.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/blog/introducing-circuitkit.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/citation-map.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/cli/applications.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/cli/discovery.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/cli/evaluation.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/cli/overview.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/cli/yaml-config.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/contributing/documentation.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/contributing/new-algorithms.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/contributing/setup.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/contributing/standards.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/dev_enterprise_runbook.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/evaluation/ablation.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/evaluation/baselines.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/evaluation/benchmarking.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/evaluation/causal-patching.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/evaluation/framework.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/evaluation/generalization.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/evaluation/robustness.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/evaluation/stability.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/examples/case-studies.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/examples/notebooks.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/examples/overview.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/examples/scripts.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/getting-started/configuration.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/getting-started/core-concepts.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/getting-started/index.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/getting-started/quickstart.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/getting-started/taxonomy.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/guidelines/Testing_Guidelines.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/guides/CONCEPTS.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/guides/circuit_artifact_guide.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/guides/eap_ig_memory_optimization.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/guides/hallucination_detection_guide.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/guides/index.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/guides/steering.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/guides/vllm_evaluation.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/index.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/product_blueprint.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/pypi_core_contract.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/reference/ARCHITECTURE_REGISTRY.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/reference/FEATURES.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/reference/hyperparameters.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/reference/index.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/references.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/trust/index.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/trust/results.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/trust/scope.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/applications.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/custom-data.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/data-corruption.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/data.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/evaluation.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/pipeline-overview.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/selectors.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/tasks.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/docs/user-guide/visualization.md +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/01-quickstart.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/02-discover-python-api.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/04-discover-yaml.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/05-evaluate-faithfulness.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/06-applications.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/07-pipeline.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/08-custom-data.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/09-load-and-reuse.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/10-steering.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/11-knowledge-editing.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/12-custom-corruption.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/13-transfer-matrix.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/14-faithfulness-audit-for-compliance.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/15-compression-for-deployment.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/16-tabular-model-audit.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/17-quantization-unlearning.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/18-banking-safety-steering.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/19-trade-finance-document-classification.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/20-transit-edge-deployment.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/21-quantization-permanent-unlearning.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/22-gender-bias-audit-and-mitigation.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/23-jailbreak-refusal-multi-model.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/case-studies/24-safety-refusal-custom-data.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/discovery/algorithm-comparison.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/discovery/benchmark-circuit-discovery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/experiments/e1_algo_validation_ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/experiments/e2_cross_family_discovery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/experiments/e3_neuron_level_ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/experiments/e4_custom_data_jailbreak.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/experiments/e567_downstream_applications.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/finetuning/finetune-llama.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/finetuning/finetune-qwen.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/notebooks/01_quickstart_pipeline.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/notebooks/02_algorithm_comparison.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/notebooks/03_evaluation_deep_dive.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/notebooks/04_visualization_gallery.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/notebooks/05_applications.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/notebooks/06_cli_and_yaml.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/notebooks/07_advanced_research_tools.ipynb +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/pruning/basic-prune.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/pruning/prune-llama.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/pruning/prune-qwen.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/quantization/quantize-llama.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/quantization/quantize-qwen.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/simple_csv_task.yaml +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/_common.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/_runner.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/01_eap_ig_activations_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/02_eap_clean_corrupted_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/03_eap_exact_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/04_compare_eap_family_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/05_atp_gd_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/06_eap_gp_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/07_relp_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/08_ibcircuit_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/09_peap_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/10_cdt_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/11_eap_ifr_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/12_all_algos_llama.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/algos/_algos_common.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/01_pruning_gpt2_ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/02_lora_healing_gpt2_ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/03_pruning_gpt2_mmlu.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/04_pruning_gpt2_gender_bias.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/05_pruning_gpt2_sva.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/06_pruning_gpt2_capital_country.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/07_pruning_gpt2_boolq.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/08_pruning_gpt2_arc_easy.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/09_pruning_gpt2_hellaswag.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/10_pruning_gpt2_crows_pairs.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/11_knowledge_editing_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/12_unlearning_tofu_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/13_steering_gpt2_ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/14_linear_probe_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/15_hallucination_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/16_peft_benchmark.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/17_knowledge_editing_full_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/18_steering_safety_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/19_quantization_llama1b.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/20_ctheta_steering_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/21_ctheta_steering_llama1b.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/22_ctheta_advbench_refusal.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/23_ctheta_k_grid_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/24_circuitkit_advbench_refusal_steering.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/25_knowledge_editing_llama_circuit.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/26_soft_healing_llama_circuit.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/27_hallucination_truthfulqa_llama.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/28_safety_dataset_pillar_evals.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/_apps_common.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/applications/_make_apps_cell.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/01_gpt2_ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/02_gpt2_greater_than.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/03_llama1b_ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/04_llama1b_greater_than.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/05_gpt2_mmlu.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/06_llama1b_mmlu.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/07_gpt2_gender_bias.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/08_gpt2_hypernymy.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/09_gpt2_sva.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/10_gpt2_capital_country.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/11_gpt2_boolq.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/12_gpt2_wmdp.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/13_gpt2_arc_easy.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/14_gpt2_arc_challenge.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/15_gpt2_hellaswag.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/16_gpt2_crows_pairs.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/17_gpt2_tofu.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/18_gpt2_gsm8k.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/99_aggregate.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/_bench_common.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/_custom_tasks.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/benchmark/_make_cell.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/01_pairwise_crowspairs.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/02_instruction_alpaca.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/03_conversational_sharegpt.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/04_mcq_mmlu_arc_hellaswag.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/05_forget_retain_tofu.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/06_strategies_all.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/07_e2e_discovery_mcq_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/08_e2e_discovery_tofu_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/09_e2e_discovery_crowspairs_llama1b.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/10_e2e_quality_stability_mcq_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/11_e2e_all_algos_custom_mcq_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/12_e2e_safety_advbench_gpt2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/data/_data_common.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/master_aggregator.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/01_circuit_graph.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/02_activation_saliency.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/03_feature_saliency.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/04_circuit_editor.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/05_comparison_dashboard.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/06_jupyter_widgets.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/07_gallery_generator.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/08_plotter.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/09_eap_visualization.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/10_acdc_visualize.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/validation/visualizations/11_transfer_visualizer.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/examples/visualization/graph-viz-example.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/pytest.ini +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/requirements.txt +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/setup.cfg +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/__main__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/_tl_patches/0001-moe-dtype-and-devices-fixes.patch +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/_tl_patches/0002-gemma4.patch +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/_tl_patches/0003-sarvam-moe.patch +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/_tl_patches/0004-gemma4-hf-parity.patch +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/_tl_patches/0005-memory-no-weight-copies.patch +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/_tl_patches/0006-cohere.patch +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/_tl_patches/0007-local-checkpoint-config.patch +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/_tl_patches/0008-neox-lm-head.patch +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/_tl_patches/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/analysis/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/analysis/cross_method_jaccard.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/analysis/metrics.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/analysis/scores.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/api.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/arch_registry.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/arch_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/_covariance.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/_device.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/_dtype.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/_metrics.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/_tokenization.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/benchmark_analysis.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/cure_clue.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/hallucination_detection.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/common_utils/linear_probe.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/editing/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/editing/cake.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/editing/circuit_guided_editing.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/editing/fine_tune_editing.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/editing/knowledge_editing.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/editing/knowledge_editing_enhanced.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/editing/mcircke.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/editing/memit_wrapper.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/editing/rome_wrapper.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/finetuning/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/finetuning/benchmark_peft.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/finetuning/circuit_tuning.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/finetuning/healing_metrics.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/finetuning/peft_methods.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/finetuning/soft_healing.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/eval_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/examples/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/examples/prune.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/examples/prune_llama.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/examples/prune_qwen.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/finetune_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/importance.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/neuron_pruner.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/node_pruner.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/pruner.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/score_extractor.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/selectors/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/selectors/multi_granular_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/selectors/taylor_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/pruning/weight_pruner.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/examples/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/examples/quantize_llama.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/examples/quantize_qwen.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/llmcompressor_quantize.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/quant_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/score_extractor.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/selectors/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/selectors/awq_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/quantization/selectors/tacq_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/selective_finetuning/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/selective_finetuning/examples/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/selective_finetuning/examples/finetune_llama.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/selective_finetuning/examples/finetune_qwen.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/selective_finetuning/finetune_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/selective_finetuning/score_loader.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/selective_finetuning/selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/steering/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/steering/steering.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/steering/steering_enhanced.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/applications/steering/weight_steering.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/artifacts/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/artifacts/circuit_artifact.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/artifacts/converters.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/artifacts/scores.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/_tl_compat/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/_tl_compat/cohere.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/_tl_compat/registry.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/_tl_compat/smollm3.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/artifact_export.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/data.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/model_utils/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/model_utils/micro_model_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/model_utils/transformer_lens_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/prune.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/prune_algos/ACDC.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/prune_algos/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/prune_algos/mask_gradient.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/prune_algos/prune_algos.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/tasks/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/tasks/docstring_prompts.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/tasks/docstring_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/tasks/induction_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/tasks/ioi_dataset.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/tasks/ioi_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/types.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/utils/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/utils/ablation_activations.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/utils/custom_tqdm.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/utils/graph_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/utils/misc.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/utils/patch_wrapper.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/utils/patchable_model.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/utils/task_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/utils/tensor_ops.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/acdc/visualize.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/adapter.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/propagation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/cdt_ablations.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/cdt_basic.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/cdt_core.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/cdt_from_source_nodes.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/cdt_source_to_target.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/faithfulness_ablations.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/general.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/ioi_dataset.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/local_importance.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/pathology.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/toy_model.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/cdt/pyfunctions/wrappers.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/artifact_export.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/attribute.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/attribute_node.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/circuit_kit_adapter.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/eap_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/evaluate.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/graph.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/metrics.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/py.typed +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/eap/visualization.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/ibcircuit/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/ibcircuit/artifact_export.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/ibcircuit/ib_noise.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/ibcircuit/ib_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/ibcircuit/model_wrapper.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/backends/ibcircuit/trainer.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/benchmarks/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/benchmarks/baselines/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/benchmarks/baselines/gptq.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/benchmarks/baselines/magnitude.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/benchmarks/baselines/random.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/benchmarks/baselines/sparsegpt.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/benchmarks/baselines/wanda.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/benchmarks/benchmark.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/benchmarks/reporting.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/circuit.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/cli/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/cli/config.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/cli/debug.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/cli/main.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/cli/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/base.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/color_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/distractor.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/distractor_variation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/effectiveness.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/entity_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/negation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/paraphrase.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/pipeline.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/position_shift.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/role_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/token_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/validators.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/corruption/voice_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/base.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/code.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/conversational.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/forget_retain.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/instruction.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/math.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/mcq.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/pairwise.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/qa.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/adapters/safety_prompt.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/auto_detect.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/clean_only.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/base.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/benign_rewrite.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/code_syntax_corrupt.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/entity_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/final_answer_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/instruction_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/llm_counterfactual.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/logical_negation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/math_step_corrupt.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/mcq_choice_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/operand_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/profession_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/resample.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/template.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/template_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/corruption/token_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/dataset_schema.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/eap_dataset.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/invariance_groups/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/invariance_groups/builder.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/invariance_groups/schema.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/normalized.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/normalized_task.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/core/TLACDCCorrespondence.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/core/TLACDCEdge.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/core/TLACDCExperiment.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/core/TLACDCInterpNode.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/core/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/core/acdc_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/generation/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/generation/cache.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/generation/manager.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/generation/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/storage/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/storage/greaterthan/greaterthan_32_ffd33106.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/storage/ioi/ioi_16_8c879ddb.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/storage/ioi/ioi_32_a432ca4a.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/storage/ioi/ioi_500_1f7e7324.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/storage/ioi/ioi_64_3bba747e.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/storage/ioi/ioi_64_f4a164db.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/storage/ioi/ioi_8_e87df42e.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/binary_align/generate_binary_align.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/binary_align/jailbreak_binary.csv +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/binary_align/safe_binary.csv +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/capital_country/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/capital_country/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/docstring/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/docstring/prompts.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/docstring/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/double_io/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/double_io/double_io_dataset.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/gender_bias/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/gender_bias/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/gender_bias/utils2.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/greaterthan/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/greaterthan/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/hypernymy/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/hypernymy/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/induction/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/induction/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/ioi/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/ioi/ioi_dataset.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/ioi/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/sva/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/sva/utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/task_data/tasks/wmdp/wmdp_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/template.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/wikitext_calibration.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/data/worthiness.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/checkpoint_benchmark.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/evaluate.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/full.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/hf_checkpoint.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/intervention_faithfulness.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/lm_eval_simple.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/lm_harness.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/master_grid.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/mmlu_eval.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/pillars/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/pillars/ablation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/pillars/baselines.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/pillars/causal_patching.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/pillars/generalization.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/pillars/intervention_reliability.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/pillars/robustness.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/pillars/stability.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/report.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/reports/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/reports/aggregator.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/reports/robustness_report.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/reports/stability_report.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/stability_discovery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/transfer.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/transfer_analysis.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/transfer_visualizer.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/evaluation/weight_based_eval.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/pipeline.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/provenance.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/quick.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/cdt_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/eap_gp_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/eap_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/gptq_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/ibcircuit_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/magnitude_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/random_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/relp_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/selection/wanda_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/_algorithm_families.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/_chat.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/auto_schema.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/bootstrap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/boolq.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/capital_country.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/double_io.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/gender_bias.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/glue.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/greater_than.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/gsm8k.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/hypernymy.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/ifeval.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/ioi_acdc.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/ioi_legacy.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/mmlu.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/sva.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/truthfulqa.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/winogrande.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/winogrande_mc.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/builtins/wmdp.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/hf_factory.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/inspect.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/registry.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/specs.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/type_specs/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/type_specs/classification_spec.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/type_specs/generation_spec.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/type_specs/mcq_spec.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/type_specs/qa_spec.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/type_specs/summarization_spec.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/type_specs/translation_spec.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/validator.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tasks/yaml_loader.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tooling/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/tooling/validate_environment.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/artifacts.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/async_processing.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/bootstrap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/config.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/corruption_validation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/dataset_cache.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/debug.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/debugging.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/device.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/distributed.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/exceptions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/hparams.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/logging.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/memory.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/profiling.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/utils/token_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/comparison.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/d3_template.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/editor.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/feature_saliency.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/gallery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/graph_viz.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/jupyter_suite.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/plotter.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/saliency.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/streamlit_app.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit/visualize/theme.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit.egg-info/dependency_links.txt +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit.egg-info/entry_points.txt +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/src/circuitkit.egg-info/top_level.txt +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/conftest.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_architecture_registry.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_benchmark_analysis.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_benchmark_peft.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_circuit_artifact.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_covariance.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_cross_architecture.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_fine_tune_editing.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_hallucination_detection.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_knowledge_editing.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_knowledge_editing_enhanced.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_knowledge_editing_pipeline.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_linear_probe.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_peft_methods.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_pruner.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_steering.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_steering_enhanced.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_tokenization.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/apply/test_weight_steering.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/ibcircuit/test_ib_noise.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/ibcircuit/test_ib_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/ibcircuit/test_model_wrapper.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/ibcircuit/test_trainer.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/test_artifact_export_integration.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_aya_expanse.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_aya_expanse_32b.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_aya_expanse_32b_parity.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_aya_expanse_parity.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_cohere.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_cohere_backends.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_cohere_gqa.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_cohere_parity.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_cohere_selectors.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_cohere_wiring.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_command_r7b.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_command_r7b_parity.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_smollm3.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_compat/test_smollm3_parity.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_patches/configs/Ministral-3-3B-Instruct-2512.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_patches/configs/gemma-4-31B-it.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_patches/configs/sarvam-30b.json +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_patches/test_patch_hook.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/backends/tl_patches/test_tl_patchset.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/benchmarks/test_baselines.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/benchmarks/test_benchmark.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/conftest.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_distractor.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_effectiveness.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_entity_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_new_corruptions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_paraphrase.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_pipeline.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_pipeline_integration_ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_practical_examples.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_role_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_strategies_integration.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_strategies_standalone.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_template.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_template_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_token_swap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_validators.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/corruption/test_yaml_strategy_synthesis.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/data/test_data_corruption_strategies.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/data/test_qa_adapter.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/fixtures/sample_pipeline.yaml +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_chat_template_instruct.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_interfaces_e2e.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_ioi_gpt2_position_and_faithfulness.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_soft_healing_integration.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_steering_ioi.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_template_e2e.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_tl3_interop.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_transfer_integration.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_transfer_matrix.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_transfer_minimal.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/integration/test_yaml_run_advanced.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_aya_expanse_32b_discovery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_aya_expanse_32b_evaluation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_aya_expanse_32b_interventions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_aya_expanse_discovery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_aya_expanse_evaluation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_aya_expanse_interventions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_cdt_nonzero_scores.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_circuit_tuner_training.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_cli_and_api_args.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_cohere_discovery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_cohere_evaluation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_cohere_interventions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_command_r7b_discovery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_command_r7b_evaluation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_command_r7b_interventions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_data_adapters_and_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_greater_than_tokenizer.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_pruner_gqa_kv_head.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_smollm3_discovery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_smollm3_evaluation.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_smollm3_interventions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/regression/test_steering_and_baselines.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/release/test_release.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_auto_schema.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_capital_country.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_chat_template.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_cohere_tokenization.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_glue.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_greater_than_corruption.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_gsm8k.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_ioi_regression.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_validator.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_winogrande.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/tasks/test_winogrande_mc.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/test_custom_data.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/test_environment.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/test_packaging.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/conftest.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/sample_pipeline.yaml +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_api.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_attribute.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_attribute_node.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_baselines_multidraw.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_bootstrap.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_circuit.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_circuit_kit_adapter.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_circuit_scores.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_cli.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_cli_commands.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_cli_smoke.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_config_defaults.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_d3_lod.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_d5_d7_import.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_device_allocator.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_double_io.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_eap_grad_scope.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_end_to_end.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_evaluate.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_exceptions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_expandable_segments.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_extended_schema.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_faithfulness_raw_ratio.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_fine_tune_edit_weight_decay.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_finetune_utils.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_float16_guard.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_generic_num_examples.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_graph.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_graph_export_safety.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_graph_viz.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_graph_viz_bounded.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_hf_checkpoint.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_hparams.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_init_exports.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_instruction_swap_audit.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_logging_no_log_dir.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_mean_activations.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_mlp1.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_modules_exist.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_multi_token_answers.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_multi_token_unit.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_neuron_pruner.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_no_regressions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_node_pruner.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_normalized_task.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_normalized_task_num_examples.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_optimize_memory_usage.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_perplexity_metric.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_pillar_baseline_reuse.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_pillars.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_pipeline_benchmark_offload.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_pipeline_smoke.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_pipeline_unit.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_provenance.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_qkv_memory_guard.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_quantize_export_flow.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_quick_api.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_quick_extensions.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_r1_seed_consistency.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_r2_effect_magnitude.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_ranking_metrics.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_report.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_score_loader.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_security_hardening.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_selector.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_selector_bugs.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_selector_registry.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_soft_healing.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_stability_robustness_reports.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_steering.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_structural_pruner.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_task_answer_position.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_taylor_grad_scope.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_tokenize_batch_pair_max_length.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_tokenize_plus_padding_mask.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_tokenize_warning_throttle.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_trust_remote_code.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_validators_direct.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_yaml_pipeline_config.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/unit/test_yaml_run_cli.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/visualize/__init__.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/visualize/test_comparison.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/visualize/test_editor.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/visualize/test_feature_saliency.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/visualize/test_gallery.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/visualize/test_jupyter_suite.py +0 -0
- {circuitkit-0.2.2 → circuitkit-0.2.3}/tests/visualize/test_saliency.py +0 -0
|
@@ -19,22 +19,22 @@ on:
|
|
|
19
19
|
workflow_dispatch:
|
|
20
20
|
|
|
21
21
|
permissions:
|
|
22
|
-
contents:
|
|
22
|
+
contents: read
|
|
23
23
|
|
|
24
24
|
jobs:
|
|
25
25
|
build:
|
|
26
26
|
name: Build docs
|
|
27
27
|
runs-on: ubuntu-latest
|
|
28
28
|
steps:
|
|
29
|
-
- uses: actions/checkout@v4
|
|
29
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
30
30
|
with:
|
|
31
31
|
fetch-depth: 0
|
|
32
32
|
|
|
33
|
-
- uses: actions/setup-python@v5
|
|
33
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
34
34
|
with:
|
|
35
35
|
python-version: "3.11"
|
|
36
36
|
|
|
37
|
-
- uses: actions/cache@v4
|
|
37
|
+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
|
|
38
38
|
with:
|
|
39
39
|
path: ~/.cache/pip
|
|
40
40
|
key: docs-${{ runner.os }}-${{ hashFiles('pyproject.toml') }}
|
|
@@ -47,7 +47,7 @@ jobs:
|
|
|
47
47
|
run: mkdocs build --strict --clean
|
|
48
48
|
|
|
49
49
|
- name: Upload site artifact
|
|
50
|
-
uses: actions/upload-artifact@v4
|
|
50
|
+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
51
51
|
with:
|
|
52
52
|
name: site
|
|
53
53
|
path: site/
|
|
@@ -57,20 +57,22 @@ jobs:
|
|
|
57
57
|
name: Deploy to GitHub Pages
|
|
58
58
|
needs: build
|
|
59
59
|
runs-on: ubuntu-latest
|
|
60
|
+
permissions:
|
|
61
|
+
contents: write
|
|
60
62
|
if: >
|
|
61
63
|
github.event_name == 'push' &&
|
|
62
64
|
(github.ref == 'refs/heads/main' || github.ref == 'refs/heads/cust_data')
|
|
63
65
|
|
|
64
66
|
steps:
|
|
65
|
-
- uses: actions/checkout@v4
|
|
67
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
66
68
|
with:
|
|
67
69
|
fetch-depth: 0
|
|
68
70
|
|
|
69
|
-
- uses: actions/setup-python@v5
|
|
71
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
70
72
|
with:
|
|
71
73
|
python-version: "3.11"
|
|
72
74
|
|
|
73
|
-
- uses: actions/cache@v4
|
|
75
|
+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
|
|
74
76
|
with:
|
|
75
77
|
path: ~/.cache/pip
|
|
76
78
|
key: docs-${{ runner.os }}-${{ hashFiles('pyproject.toml') }}
|
|
@@ -12,7 +12,6 @@ concurrency:
|
|
|
12
12
|
|
|
13
13
|
permissions:
|
|
14
14
|
contents: read
|
|
15
|
-
pull-requests: read
|
|
16
15
|
|
|
17
16
|
env:
|
|
18
17
|
PYPI_PROJECT_NAME: circuitkit
|
|
@@ -21,7 +20,10 @@ env:
|
|
|
21
20
|
jobs:
|
|
22
21
|
plan:
|
|
23
22
|
name: Inspect release state
|
|
24
|
-
|
|
23
|
+
# Releases come only from Lexsi-Labs/CircuitKIT. A fork or copy of this repo
|
|
24
|
+
# inherits the workflow, and there the release job (which pushes the tag and
|
|
25
|
+
# publishes to PyPI) must not run. Skipping `plan` skips `release`.
|
|
26
|
+
if: github.repository == 'Lexsi-Labs/CircuitKIT' && (github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true)
|
|
25
27
|
runs-on: ubuntu-latest
|
|
26
28
|
outputs:
|
|
27
29
|
action: ${{ steps.plan.outputs.action }}
|
|
@@ -33,14 +35,27 @@ jobs:
|
|
|
33
35
|
release-exists: ${{ steps.plan.outputs.release-exists }}
|
|
34
36
|
pypi-exists: ${{ steps.plan.outputs.pypi-exists }}
|
|
35
37
|
steps:
|
|
38
|
+
- name: Require the default branch for manual runs
|
|
39
|
+
if: github.event_name == 'workflow_dispatch' && github.ref_name != github.event.repository.default_branch
|
|
40
|
+
env:
|
|
41
|
+
RUN_REF: ${{ github.ref_name }}
|
|
42
|
+
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
|
|
43
|
+
run: |
|
|
44
|
+
echo "::error::Run this workflow from the default branch ($DEFAULT_BRANCH), not '$RUN_REF'."
|
|
45
|
+
exit 1
|
|
46
|
+
|
|
36
47
|
- name: Check out the trusted merged source
|
|
37
|
-
uses: actions/checkout@v6
|
|
48
|
+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
38
49
|
with:
|
|
39
|
-
ref
|
|
50
|
+
# Fixed ref, not an event value: this job runs on pull_request_target and
|
|
51
|
+
# workflow_dispatch, where PR and dispatch inputs are attacker-influenced.
|
|
52
|
+
# Merged PRs always land on main, and the plan below already handles main
|
|
53
|
+
# having moved on (it compares the tip with the latest release commit).
|
|
54
|
+
ref: main
|
|
40
55
|
fetch-depth: 0
|
|
41
56
|
persist-credentials: false
|
|
42
57
|
|
|
43
|
-
- uses: actions/setup-python@v6
|
|
58
|
+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
|
|
44
59
|
with:
|
|
45
60
|
python-version: "3.12"
|
|
46
61
|
|
|
@@ -202,12 +217,12 @@ jobs:
|
|
|
202
217
|
RELEASE_TAG: ${{ needs.plan.outputs.version }}
|
|
203
218
|
steps:
|
|
204
219
|
- name: Check out exact release source
|
|
205
|
-
uses: actions/checkout@v6
|
|
220
|
+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
206
221
|
with:
|
|
207
222
|
ref: ${{ needs.plan.outputs.source-ref }}
|
|
208
223
|
fetch-depth: 0
|
|
209
224
|
|
|
210
|
-
- uses: actions/setup-python@v6
|
|
225
|
+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
|
|
211
226
|
with:
|
|
212
227
|
python-version: "3.12"
|
|
213
228
|
|
|
@@ -343,7 +358,7 @@ jobs:
|
|
|
343
358
|
fi
|
|
344
359
|
|
|
345
360
|
- name: Send release notes to Slack
|
|
346
|
-
uses: slackapi/slack-github-action@v1.24.0
|
|
361
|
+
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
|
|
347
362
|
continue-on-error: true
|
|
348
363
|
with:
|
|
349
364
|
channel-id: "lexsi-labs-circuitkit-release" #${{ vars.SLACK_CHANNEL }}
|
|
@@ -40,9 +40,9 @@ jobs:
|
|
|
40
40
|
env:
|
|
41
41
|
TOKENIZERS_PARALLELISM: "false"
|
|
42
42
|
steps:
|
|
43
|
-
- uses: actions/checkout@v4
|
|
43
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
44
44
|
|
|
45
|
-
- uses: actions/setup-python@v5
|
|
45
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
46
46
|
with:
|
|
47
47
|
python-version: ${{ matrix.python-version }}
|
|
48
48
|
cache: pip
|
|
@@ -53,7 +53,7 @@ jobs:
|
|
|
53
53
|
pip install -e ".[dev]"
|
|
54
54
|
|
|
55
55
|
- name: Cache small fixed-tier assets (gpt2 tokenizer, MiniLM, spaCy model)
|
|
56
|
-
uses: actions/cache@v4
|
|
56
|
+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
|
|
57
57
|
with:
|
|
58
58
|
path: |
|
|
59
59
|
~/.cache/huggingface
|
|
@@ -13,8 +13,8 @@ jobs:
|
|
|
13
13
|
name: version files agree, and the CHANGELOG does not overclaim
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@v4
|
|
17
|
-
- uses: actions/setup-python@v5
|
|
16
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
17
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
18
18
|
with:
|
|
19
19
|
python-version: "3.12"
|
|
20
20
|
- run: python scripts/check_version_consistency.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: circuitkit
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Unified Discover, Evaluate, Intervene toolkit for mechanistic interpretability: 13 circuit discovery algorithms, 6-pillar faithfulness evaluation, and pruning / quantization / knowledge editing / unlearning / activation steering / contrastive weight steering interventions behind one API.
|
|
5
5
|
Author: Hem Gosalia, Aditya Kasliwal, Vinay Kumar Sankarapu
|
|
6
6
|
Author-email: Pratinav Seth <pratinav.seth@lexsi.ai>
|
|
@@ -26,7 +26,7 @@ Classifier: Operating System :: OS Independent
|
|
|
26
26
|
Requires-Python: >=3.10
|
|
27
27
|
Description-Content-Type: text/markdown
|
|
28
28
|
License-File: LICENSE.md
|
|
29
|
-
Requires-Dist: torch
|
|
29
|
+
Requires-Dist: torch>=2.10.0
|
|
30
30
|
Requires-Dist: einops
|
|
31
31
|
Requires-Dist: plotly
|
|
32
32
|
Requires-Dist: tqdm
|
|
@@ -84,8 +84,8 @@ Requires-Dist: lime>=0.2; extra == "cdt"
|
|
|
84
84
|
Requires-Dist: shap>=0.42; extra == "cdt"
|
|
85
85
|
Provides-Extra: pruning
|
|
86
86
|
Provides-Extra: gpu-cu126
|
|
87
|
-
Requires-Dist: torch==2.
|
|
88
|
-
Requires-Dist: torchvision==0.
|
|
87
|
+
Requires-Dist: torch==2.10.0+cu126; extra == "gpu-cu126"
|
|
88
|
+
Requires-Dist: torchvision==0.25.0+cu126; extra == "gpu-cu126"
|
|
89
89
|
Dynamic: license-file
|
|
90
90
|
|
|
91
91
|
<p align="center">
|
|
@@ -82,7 +82,7 @@ Pinned CUDA 12.6 wheels:
|
|
|
82
82
|
pip install -e .[gpu-cu126] --extra-index-url https://download.pytorch.org/whl/cu126
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
Includes: `torch==2.
|
|
85
|
+
Includes: `torch==2.10.0+cu126`, `torchvision==0.25.0+cu126`
|
|
86
86
|
|
|
87
87
|
Alternative CUDA versions available via PyTorch's wheel index:
|
|
88
88
|
- CUDA 12.1: `cu121`
|
|
@@ -214,7 +214,7 @@ pip install -e . --no-cache-dir
|
|
|
214
214
|
|
|
215
215
|
```bash
|
|
216
216
|
pip install -e .
|
|
217
|
-
pip install torch==2.
|
|
217
|
+
pip install torch==2.10.0+cu126 -f https://download.pytorch.org/whl/cu126
|
|
218
218
|
```
|
|
219
219
|
|
|
220
220
|
### Issue: `pygraphviz` compilation fails
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Testing on a CUDA machine
|
|
2
2
|
|
|
3
3
|
Some of CircuitKIT's validation can't run on a CPU-only or Apple-Silicon box. The
|
|
4
|
-
`gpu-cu126` extra pins `torch==2.
|
|
4
|
+
`gpu-cu126` extra pins `torch==2.10.0+cu126` / `torchvision==0.25.0+cu126`, and those
|
|
5
5
|
`+cu126` wheels only exist on PyTorch's CUDA index — not on PyPI — so a plain
|
|
6
|
-
`uv`/`pip` resolve fails off a CUDA host with *"no version of torch==2.
|
|
6
|
+
`uv`/`pip` resolve fails off a CUDA host with *"no version of torch==2.10.0+cu126"*.
|
|
7
7
|
Real-model discovery, quantization, vLLM evaluation, and the GPU path of the
|
|
8
8
|
corruption/pairing guards therefore need to be checked on an actual NVIDIA GPU.
|
|
9
9
|
|
|
@@ -25,7 +25,7 @@ then CircuitKIT with the extras you need.
|
|
|
25
25
|
=== "pip"
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
pip install torch==2.
|
|
28
|
+
pip install torch==2.10.0+cu126 torchvision==0.25.0+cu126 \
|
|
29
29
|
--index-url https://download.pytorch.org/whl/cu126
|
|
30
30
|
pip install -e ".[dev,benchmarks,quantization]"
|
|
31
31
|
```
|
|
@@ -100,7 +100,7 @@ circuitkit discover-smart --model gpt2 --algorithm eap-ig --task ioi --check-mem
|
|
|
100
100
|
Install CPU-only first, then swap in the GPU torch wheel:
|
|
101
101
|
```bash
|
|
102
102
|
pip install -e .
|
|
103
|
-
pip install torch==2.
|
|
103
|
+
pip install torch==2.10.0+cu126 -f https://download.pytorch.org/whl/cu126
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
## Next steps
|
|
@@ -59,7 +59,7 @@ circuitkit discover-smart --model gpt2 --algorithm eap-ig --task ioi --check-mem
|
|
|
59
59
|
Install CPU-only first, then swap in the GPU torch wheel:
|
|
60
60
|
```bash
|
|
61
61
|
pip install -e .
|
|
62
|
-
pip install torch==2.
|
|
62
|
+
pip install torch==2.10.0+cu126 -f https://download.pytorch.org/whl/cu126
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
### Model too large for GPU
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"source": [
|
|
102
102
|
"import torch\n",
|
|
103
103
|
"\n",
|
|
104
|
-
"print(f\"PyTorch: {torch.__version__}\") # expect 2.
|
|
104
|
+
"print(f\"PyTorch: {torch.__version__}\") # expect 2.10.0+cu126\n",
|
|
105
105
|
"print(f\"CUDA available: {torch.cuda.is_available()}\")\n",
|
|
106
106
|
"if torch.cuda.is_available():\n",
|
|
107
107
|
" print(f\"GPU: {torch.cuda.get_device_name(0)}\")"
|
|
@@ -48,7 +48,7 @@ classifiers = [
|
|
|
48
48
|
# Updated list of dependencies
|
|
49
49
|
dependencies = [
|
|
50
50
|
# Keep base dependencies portable; platform-specific CUDA pins live in optional extras / requirements.txt
|
|
51
|
-
"torch",
|
|
51
|
+
"torch>=2.10.0", # earlier releases have known security advisories
|
|
52
52
|
"einops",
|
|
53
53
|
"plotly",
|
|
54
54
|
"tqdm",
|
|
@@ -138,8 +138,11 @@ pruning = [
|
|
|
138
138
|
# already pulled in by the base install and the `benchmarks` extra.
|
|
139
139
|
]
|
|
140
140
|
gpu-cu126 = [
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
# Exact pins on purpose: a local version label (+cu126) is only valid with ==,
|
|
142
|
+
# so a range cannot select the CUDA build. Bump both together (torchvision 0.25
|
|
143
|
+
# pairs with torch 2.10) when raising the torch floor.
|
|
144
|
+
"torch==2.10.0+cu126",
|
|
145
|
+
"torchvision==0.25.0+cu126",
|
|
143
146
|
]
|
|
144
147
|
|
|
145
148
|
# Platform notes:
|
|
@@ -8,7 +8,7 @@ from ._tl_patches import install as _install_tl_patches
|
|
|
8
8
|
_install_tl_patches()
|
|
9
9
|
|
|
10
10
|
# The release pipeline (scripts/release.py set-version) rewrites this line.
|
|
11
|
-
__version__ = "0.2.
|
|
11
|
+
__version__ = "0.2.3"
|
|
12
12
|
__author__ = "Pratinav Seth, Hem Gosalia, Aditya Kasliwal, Vinay Kumar Sankarapu"
|
|
13
13
|
__description__ = "Unified Discover, Evaluate, Intervene toolkit for mechanistic interpretability"
|
|
14
14
|
_API_EXPORTS = {"discover_circuit", "evaluate_circuit", "load_circuit"}
|
|
@@ -30,9 +30,10 @@ from circuitkit.tasks._chat import (
|
|
|
30
30
|
)
|
|
31
31
|
|
|
32
32
|
try:
|
|
33
|
-
from jinja2 import
|
|
33
|
+
from jinja2 import TemplateError
|
|
34
|
+
from jinja2.sandbox import SandboxedEnvironment
|
|
34
35
|
except ImportError:
|
|
35
|
-
|
|
36
|
+
SandboxedEnvironment = None
|
|
36
37
|
TemplateError = None
|
|
37
38
|
|
|
38
39
|
logger = logging.getLogger(__name__)
|
|
@@ -220,9 +221,11 @@ class GenericTaskSpec:
|
|
|
220
221
|
|
|
221
222
|
# Compile template if provided
|
|
222
223
|
self.template = None
|
|
223
|
-
if prompt_template and
|
|
224
|
+
if prompt_template and SandboxedEnvironment is not None:
|
|
224
225
|
try:
|
|
225
|
-
|
|
226
|
+
# Prompts are plain text for a model, not HTML, so autoescape stays off.
|
|
227
|
+
# The sandbox blocks unsafe attribute access in user-supplied templates.
|
|
228
|
+
self.template = SandboxedEnvironment(autoescape=False).from_string(prompt_template)
|
|
226
229
|
except TemplateError as e:
|
|
227
230
|
raise ValueError(
|
|
228
231
|
f"Invalid Jinja2 'prompt_template': {e}. "
|
|
@@ -595,9 +598,9 @@ class GenericTaskSpec:
|
|
|
595
598
|
if self.template:
|
|
596
599
|
try:
|
|
597
600
|
prompt_text = self.template.render(**example)
|
|
598
|
-
except Exception:
|
|
599
|
-
# Fall back to raw prompt if template fails
|
|
600
|
-
|
|
601
|
+
except Exception as exc:
|
|
602
|
+
# Fall back to raw prompt if template fails (incl. sandbox rejections)
|
|
603
|
+
logger.warning("Prompt template failed (%s); using the raw prompt", type(exc).__name__)
|
|
601
604
|
|
|
602
605
|
result["prompt"] = prompt_text
|
|
603
606
|
|
|
@@ -32,7 +32,7 @@ ready-made entry points for the common ones.
|
|
|
32
32
|
from __future__ import annotations
|
|
33
33
|
|
|
34
34
|
import logging
|
|
35
|
-
from typing import Optional
|
|
35
|
+
from typing import Any, Optional
|
|
36
36
|
|
|
37
37
|
logger = logging.getLogger(__name__)
|
|
38
38
|
|
|
@@ -43,15 +43,23 @@ def _register(
|
|
|
43
43
|
hf_split: str,
|
|
44
44
|
task_name: str,
|
|
45
45
|
max_records: int = 200,
|
|
46
|
-
pairing_mode: str = "
|
|
46
|
+
pairing_mode: str = "harmful_vs_benign",
|
|
47
|
+
**adapter_kwargs: Any,
|
|
47
48
|
) -> None:
|
|
48
49
|
"""Lazy: load HF data, run SafetyPromptAdapter, register as task_name.
|
|
49
50
|
|
|
50
51
|
Args:
|
|
51
52
|
pairing_mode: Passed through to SafetyPromptAdapter.adapt().
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
"harmful_vs_benign" (default) -- each harmful prompt is paired
|
|
54
|
+
with a benign control prompt (Arditi et al. 2024 style), which
|
|
55
|
+
gives EAP discovery a contrastive signal. "answer_contrastive"
|
|
56
|
+
-- same prompt, refusal vs compliance token; its corrupt prompt
|
|
57
|
+
equals the clean prompt, so discovery rejects it as degenerate
|
|
58
|
+
unless ``allow_degenerate_corruption`` is set.
|
|
59
|
+
**adapter_kwargs: Also passed to SafetyPromptAdapter.adapt(), e.g.
|
|
60
|
+
``refusal_token`` / ``compliance_token`` (useful when a
|
|
61
|
+
tokenizer's first reply token is not " I" / " Sure") or
|
|
62
|
+
``benign_controls``.
|
|
55
63
|
"""
|
|
56
64
|
from circuitkit.tasks.registry import is_task_registered, register_task
|
|
57
65
|
|
|
@@ -70,7 +78,14 @@ def _register(
|
|
|
70
78
|
source=hf_path,
|
|
71
79
|
max_records=max_records,
|
|
72
80
|
pairing_mode=pairing_mode,
|
|
81
|
+
**adapter_kwargs,
|
|
73
82
|
)
|
|
83
|
+
if not len(ds):
|
|
84
|
+
raise RuntimeError(
|
|
85
|
+
f"SafetyPromptAdapter found no prompt column in {hf_path} "
|
|
86
|
+
"(it looks for prompt/goal/instruction/behavior/question); "
|
|
87
|
+
"this dataset is not a harm-prompt dataset and cannot be registered with it."
|
|
88
|
+
)
|
|
74
89
|
if not ds.fully_paired:
|
|
75
90
|
raise RuntimeError(
|
|
76
91
|
f"SafetyPromptAdapter on {hf_path} produced "
|
|
@@ -83,34 +98,45 @@ def _register(
|
|
|
83
98
|
)
|
|
84
99
|
|
|
85
100
|
|
|
86
|
-
def register_advbench(max_records: int = 200) -> None:
|
|
101
|
+
def register_advbench(max_records: int = 200, **kwargs: Any) -> None:
|
|
87
102
|
"""AdvBench (Zou et al. 2023, walledai/AdvBench)."""
|
|
88
|
-
_register("walledai/AdvBench", None, "train", "advbench", max_records)
|
|
103
|
+
_register("walledai/AdvBench", None, "train", "advbench", max_records, **kwargs)
|
|
89
104
|
|
|
90
105
|
|
|
91
|
-
def register_harmbench(max_records: int = 200) -> None:
|
|
106
|
+
def register_harmbench(max_records: int = 200, **kwargs: Any) -> None:
|
|
92
107
|
"""HarmBench (Mazeika et al. 2024, walledai/HarmBench)."""
|
|
93
|
-
_register("walledai/HarmBench", "standard", "train", "harmbench", max_records)
|
|
108
|
+
_register("walledai/HarmBench", "standard", "train", "harmbench", max_records, **kwargs)
|
|
94
109
|
|
|
95
110
|
|
|
96
|
-
def register_sorrybench(max_records: int = 200) -> None:
|
|
111
|
+
def register_sorrybench(max_records: int = 200, **kwargs: Any) -> None:
|
|
97
112
|
"""Sorry-Bench (sorry-bench/sorry-bench-202410)."""
|
|
98
|
-
_register("sorry-bench/sorry-bench-202410", None, "train", "sorrybench", max_records)
|
|
113
|
+
_register("sorry-bench/sorry-bench-202410", None, "train", "sorrybench", max_records, **kwargs)
|
|
99
114
|
|
|
100
115
|
|
|
101
|
-
def register_jailbreakbench(max_records: int = 200) -> None:
|
|
116
|
+
def register_jailbreakbench(max_records: int = 200, **kwargs: Any) -> None:
|
|
102
117
|
"""JailbreakBench-Behaviors (JailbreakBench/JBB-Behaviors)."""
|
|
103
|
-
_register("JailbreakBench/JBB-Behaviors", "behaviors", "harmful", "jailbreakbench", max_records)
|
|
118
|
+
_register("JailbreakBench/JBB-Behaviors", "behaviors", "harmful", "jailbreakbench", max_records, **kwargs)
|
|
119
|
+
|
|
104
120
|
|
|
121
|
+
def register_truthfulqa(max_records: int = 200, **kwargs: Any) -> None:
|
|
122
|
+
"""TruthfulQA (truthful_qa/generation).
|
|
123
|
+
|
|
124
|
+
TruthfulQA is not a harm dataset: the model has no reason to refuse these
|
|
125
|
+
factual questions, so the default refusal-vs-compliance pairing carries
|
|
126
|
+
little signal. Registered for convenience only; supply your own pairing
|
|
127
|
+
(``**kwargs``) or a custom dataset if you need a truthfulness circuit.
|
|
128
|
+
"""
|
|
129
|
+
_register("truthful_qa", "generation", "validation", "truthfulqa", max_records, **kwargs)
|
|
105
130
|
|
|
106
|
-
def register_truthfulqa(max_records: int = 200) -> None:
|
|
107
|
-
"""TruthfulQA (truthful_qa/generation)."""
|
|
108
|
-
_register("truthful_qa", "generation", "validation", "truthfulqa", max_records)
|
|
109
131
|
|
|
132
|
+
def register_stereoset(max_records: int = 200, **kwargs: Any) -> None:
|
|
133
|
+
"""StereoSet (McGill-NLP/stereoset).
|
|
110
134
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
135
|
+
Not supported: StereoSet rows carry ``context`` and ``sentences`` but no
|
|
136
|
+
prompt column, so ``SafetyPromptAdapter`` yields no records and this call
|
|
137
|
+
raises ``RuntimeError``. ``register_all_safety`` reports it as failed.
|
|
138
|
+
"""
|
|
139
|
+
_register("McGill-NLP/stereoset", "intersentence", "validation", "stereoset", max_records, **kwargs)
|
|
114
140
|
|
|
115
141
|
|
|
116
142
|
_ALL = [
|
|
@@ -123,7 +149,7 @@ _ALL = [
|
|
|
123
149
|
]
|
|
124
150
|
|
|
125
151
|
|
|
126
|
-
def register_all_safety(max_records: int = 200) -> dict:
|
|
152
|
+
def register_all_safety(max_records: int = 200, **kwargs: Any) -> dict:
|
|
127
153
|
"""Register every safety dataset; returns {task_name: ok_bool}.
|
|
128
154
|
Errors are logged but don't propagate so partial failures (e.g.
|
|
129
155
|
HF gating) don't take down the others."""
|
|
@@ -131,7 +157,7 @@ def register_all_safety(max_records: int = 200) -> dict:
|
|
|
131
157
|
for fn in _ALL:
|
|
132
158
|
name = fn.__name__.removeprefix("register_")
|
|
133
159
|
try:
|
|
134
|
-
fn(max_records=max_records)
|
|
160
|
+
fn(max_records=max_records, **kwargs)
|
|
135
161
|
results[name] = True
|
|
136
162
|
except Exception as exc: # noqa: BLE001
|
|
137
163
|
logger.warning(f"Failed to register {name}: {exc}")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: circuitkit
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Unified Discover, Evaluate, Intervene toolkit for mechanistic interpretability: 13 circuit discovery algorithms, 6-pillar faithfulness evaluation, and pruning / quantization / knowledge editing / unlearning / activation steering / contrastive weight steering interventions behind one API.
|
|
5
5
|
Author: Hem Gosalia, Aditya Kasliwal, Vinay Kumar Sankarapu
|
|
6
6
|
Author-email: Pratinav Seth <pratinav.seth@lexsi.ai>
|
|
@@ -26,7 +26,7 @@ Classifier: Operating System :: OS Independent
|
|
|
26
26
|
Requires-Python: >=3.10
|
|
27
27
|
Description-Content-Type: text/markdown
|
|
28
28
|
License-File: LICENSE.md
|
|
29
|
-
Requires-Dist: torch
|
|
29
|
+
Requires-Dist: torch>=2.10.0
|
|
30
30
|
Requires-Dist: einops
|
|
31
31
|
Requires-Dist: plotly
|
|
32
32
|
Requires-Dist: tqdm
|
|
@@ -84,8 +84,8 @@ Requires-Dist: lime>=0.2; extra == "cdt"
|
|
|
84
84
|
Requires-Dist: shap>=0.42; extra == "cdt"
|
|
85
85
|
Provides-Extra: pruning
|
|
86
86
|
Provides-Extra: gpu-cu126
|
|
87
|
-
Requires-Dist: torch==2.
|
|
88
|
-
Requires-Dist: torchvision==0.
|
|
87
|
+
Requires-Dist: torch==2.10.0+cu126; extra == "gpu-cu126"
|
|
88
|
+
Requires-Dist: torchvision==0.25.0+cu126; extra == "gpu-cu126"
|
|
89
89
|
Dynamic: license-file
|
|
90
90
|
|
|
91
91
|
<p align="center">
|
|
@@ -692,6 +692,7 @@ tests/corruption/test_validators.py
|
|
|
692
692
|
tests/corruption/test_yaml_strategy_synthesis.py
|
|
693
693
|
tests/data/test_data_corruption_strategies.py
|
|
694
694
|
tests/data/test_qa_adapter.py
|
|
695
|
+
tests/data/test_safety_register_pairing.py
|
|
695
696
|
tests/fixtures/sample_pipeline.yaml
|
|
696
697
|
tests/integration/test_chat_template_instruct.py
|
|
697
698
|
tests/integration/test_interfaces_e2e.py
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"""The register_* safety helpers must build pairs that EAP discovery accepts,
|
|
2
|
+
and must pass adapter options (pairing mode, tokens) through."""
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import datasets
|
|
6
|
+
import pytest
|
|
7
|
+
|
|
8
|
+
import circuitkit.tasks.registry as registry
|
|
9
|
+
from circuitkit.tasks import safety_datasets
|
|
10
|
+
|
|
11
|
+
ROWS = [{"prompt": f"How do I do harmful thing number {i}?"} for i in range(4)]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class _FakeStream(list):
|
|
15
|
+
def take(self, n):
|
|
16
|
+
return _FakeStream(self[:n])
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
STEREOSET_ROWS = [
|
|
20
|
+
{"id": str(i), "target": "Ethiopia", "context": "Many people live in Ethiopia.", "sentences": {}}
|
|
21
|
+
for i in range(4)
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@pytest.fixture
|
|
26
|
+
def captured(monkeypatch):
|
|
27
|
+
specs = []
|
|
28
|
+
|
|
29
|
+
def fake_load(path, *a, **k):
|
|
30
|
+
return _FakeStream(STEREOSET_ROWS if "stereoset" in path else ROWS)
|
|
31
|
+
|
|
32
|
+
monkeypatch.setattr(datasets, "load_dataset", fake_load)
|
|
33
|
+
monkeypatch.setattr(registry, "is_task_registered", lambda name: False)
|
|
34
|
+
monkeypatch.setattr(registry, "register_task", lambda spec: specs.append(spec))
|
|
35
|
+
return specs
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def test_default_pairs_are_contrastive(captured):
|
|
39
|
+
safety_datasets.register_jailbreakbench(max_records=4)
|
|
40
|
+
records = captured[0].ds.records
|
|
41
|
+
assert records
|
|
42
|
+
assert all(r.corrupt_prompt != r.clean_prompt for r in records)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def test_options_are_passed_through(captured):
|
|
46
|
+
safety_datasets.register_advbench(
|
|
47
|
+
max_records=4, pairing_mode="answer_contrastive", refusal_token="I", compliance_token="Sure"
|
|
48
|
+
)
|
|
49
|
+
records = captured[0].ds.records
|
|
50
|
+
assert all(r.corrupt_prompt == r.clean_prompt for r in records)
|
|
51
|
+
assert all(r.clean_answer == "I" and r.corrupt_answer == "Sure" for r in records)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def test_truthfulqa_registers_with_benign_pairing(captured):
|
|
55
|
+
safety_datasets.register_truthfulqa(max_records=4)
|
|
56
|
+
records = captured[0].ds.records
|
|
57
|
+
assert records and all(r.corrupt_prompt != r.clean_prompt for r in records)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def test_stereoset_raises_a_clear_error(captured):
|
|
61
|
+
with pytest.raises(RuntimeError, match="no prompt column"):
|
|
62
|
+
safety_datasets.register_stereoset(max_records=4)
|
|
63
|
+
assert captured == []
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def test_register_all_safety_reports_stereoset_as_failed(captured):
|
|
67
|
+
results = safety_datasets.register_all_safety(max_records=4)
|
|
68
|
+
assert results.pop("stereoset") is False
|
|
69
|
+
assert results and all(results.values())
|
|
70
|
+
assert len(captured) == len(results)
|
|
@@ -9,6 +9,7 @@ Tests basic functionality:
|
|
|
9
9
|
"""
|
|
10
10
|
|
|
11
11
|
import json
|
|
12
|
+
import logging
|
|
12
13
|
import tempfile
|
|
13
14
|
from pathlib import Path
|
|
14
15
|
|
|
@@ -702,3 +703,28 @@ class TestCorruptionEffectivenessGuard:
|
|
|
702
703
|
def test_no_identical_is_noop(self):
|
|
703
704
|
from circuitkit.tasks import GenericTaskSpec
|
|
704
705
|
GenericTaskSpec._check_corruption_effectiveness(0, 4, {}, context="x")
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
def test_prompt_template_renders_plain_text_in_sandbox(toy_csv_file, caplog, monkeypatch):
|
|
709
|
+
"""Prompt templates render unescaped text and cannot reach object internals."""
|
|
710
|
+
from circuitkit.tasks import GenericTaskSpec
|
|
711
|
+
|
|
712
|
+
# The package logger does not propagate to the root logger caplog listens on.
|
|
713
|
+
monkeypatch.setattr(logging.getLogger("circuitkit"), "propagate", True)
|
|
714
|
+
task = GenericTaskSpec.from_csv(
|
|
715
|
+
path=str(toy_csv_file),
|
|
716
|
+
schema={"prompt": "question", "answer": "answer"},
|
|
717
|
+
metric_fn=lambda *a, **k: None,
|
|
718
|
+
prompt_template="Q: {{ question }} <&> A:",
|
|
719
|
+
)
|
|
720
|
+
assert task._extract_fields({"question": "5 < 6 & 7"})["prompt"] == "Q: 5 < 6 & 7 <&> A:"
|
|
721
|
+
|
|
722
|
+
unsafe = GenericTaskSpec.from_csv(
|
|
723
|
+
path=str(toy_csv_file),
|
|
724
|
+
schema={"prompt": "question", "answer": "answer"},
|
|
725
|
+
metric_fn=lambda *a, **k: None,
|
|
726
|
+
prompt_template="{{ question.__class__.__mro__ }}",
|
|
727
|
+
)
|
|
728
|
+
# A sandbox violation falls back to the raw prompt instead of leaking internals.
|
|
729
|
+
assert unsafe._extract_fields({"question": "raw"})["prompt"] == "raw"
|
|
730
|
+
assert "SecurityError" in caplog.text
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|