.gitignore
0.6.0.md
0.7.0.md
CLAUDE.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
NNsight.md
NNsight_Walkthrough.ipynb
README.md
context7.json
nnsight_logo.svg
pyproject.toml
pytest.ini
setup.py
walkthrough_script.py
.github/workflows/publish.yml
.github/workflows/python-app.yml
docs/followup-1.md
docs/followup.md
docs/questions.md
docs/concepts/batching-and-invokers.md
docs/concepts/deferred-execution.md
docs/concepts/envoy-and-eproperty.md
docs/concepts/index.md
docs/concepts/interleaver-and-hooks.md
docs/concepts/source-tracing.md
docs/concepts/threading-and-mediators.md
docs/developing/adding-a-new-backend.md
docs/developing/adding-a-new-runtime.md
docs/developing/agent-evals.md
docs/developing/architecture-overview.md
docs/developing/backends.md
docs/developing/batching-internals.md
docs/developing/contributing.md
docs/developing/eproperty-deep-dive.md
docs/developing/index.md
docs/developing/interleaver-internals.md
docs/developing/lazy-hook-system.md
docs/developing/performance.md
docs/developing/serialization.md
docs/developing/source-accessor-internals.md
docs/developing/testing.md
docs/developing/tracing-pipeline.md
docs/developing/vllm-integration.md
docs/errors/batching-not-implemented.md
docs/errors/debug-mode.md
docs/errors/index.md
docs/errors/invoke-during-execution.md
docs/errors/missed-provider-error.md
docs/errors/model-did-not-execute.md
docs/errors/out-of-order-error.md
docs/errors/value-was-not-provided.md
docs/errors/with-block-not-found.md
docs/gotchas/backward.md
docs/gotchas/cross-invoke.md
docs/gotchas/index.md
docs/gotchas/integrations.md
docs/gotchas/iteration.md
docs/gotchas/modification.md
docs/gotchas/order-and-deadlocks.md
docs/gotchas/remote.md
docs/gotchas/save.md
docs/gotchas/types-and-values.md
docs/models/diffusion-model.md
docs/models/index.md
docs/models/language-model.md
docs/models/nnsight-base.md
docs/models/vision-language-model.md
docs/models/vllm.md
docs/patterns/ablation.md
docs/patterns/activation-patching.md
docs/patterns/attention-patterns.md
docs/patterns/attribution-patching.md
docs/patterns/gradient-based-attribution.md
docs/patterns/index.md
docs/patterns/logit-lens.md
docs/patterns/multi-prompt-comparison.md
docs/patterns/per-head-attention.md
docs/patterns/sae-and-auxiliary-modules.md
docs/patterns/steering.md
docs/questions/concepts.md
docs/questions/developing-a.md
docs/questions/developing-b.md
docs/questions/errors.md
docs/questions/gotchas.md
docs/questions/models.md
docs/questions/patterns.md
docs/questions/reference.md
docs/questions/remote.md
docs/questions/usage-a.md
docs/questions/usage-b.md
docs/reference/api-quick-reference.md
docs/reference/config.md
docs/reference/external-resources.md
docs/reference/glossary.md
docs/reference/index.md
docs/reference/version-history.md
docs/remote/api-key-and-config.md
docs/remote/env-comparison.md
docs/remote/index.md
docs/remote/ndif-overview.md
docs/remote/non-blocking-jobs.md
docs/remote/register-local-modules.md
docs/remote/remote-session.md
docs/remote/remote-trace.md
docs/remote/status-and-availability.md
docs/usage/access-and-modify.md
docs/usage/backward-and-grad.md
docs/usage/barrier.md
docs/usage/cache.md
docs/usage/conditionals-and-loops.md
docs/usage/edit.md
docs/usage/extending.md
docs/usage/generate.md
docs/usage/index.md
docs/usage/invoke-and-batching.md
docs/usage/iter-all-next.md
docs/usage/rename-modules.md
docs/usage/save.md
docs/usage/scan.md
docs/usage/session.md
docs/usage/skip.md
docs/usage/source.md
docs/usage/stop-and-early-exit.md
docs/usage/trace.md
src/nnsight/__init__.py
src/nnsight/_engineio_patch.py
src/nnsight/_version.py
src/nnsight/config.yaml
src/nnsight/ndif.py
src/nnsight/util.py
src/nnsight.egg-info/PKG-INFO
src/nnsight.egg-info/SOURCES.txt
src/nnsight.egg-info/dependency_links.txt
src/nnsight.egg-info/requires.txt
src/nnsight.egg-info/top_level.txt
src/nnsight/_c/__init__.py
src/nnsight/_c/py_mount.c
src/nnsight/intervention/__init__.py
src/nnsight/intervention/batching.py
src/nnsight/intervention/envoy.py
src/nnsight/intervention/errors.py
src/nnsight/intervention/hooks.py
src/nnsight/intervention/interleaver.py
src/nnsight/intervention/serialization.py
src/nnsight/intervention/source.py
src/nnsight/intervention/backends/__init__.py
src/nnsight/intervention/backends/base.py
src/nnsight/intervention/backends/editing.py
src/nnsight/intervention/backends/execution.py
src/nnsight/intervention/backends/local_serve.py
src/nnsight/intervention/backends/local_simulation.py
src/nnsight/intervention/backends/remote.py
src/nnsight/intervention/tracing/__init__.py
src/nnsight/intervention/tracing/backwards.py
src/nnsight/intervention/tracing/base.py
src/nnsight/intervention/tracing/editing.py
src/nnsight/intervention/tracing/globals.py
src/nnsight/intervention/tracing/invoker.py
src/nnsight/intervention/tracing/iterator.py
src/nnsight/intervention/tracing/tracer.py
src/nnsight/intervention/tracing/util.py
src/nnsight/modeling/__init__.py
src/nnsight/modeling/base.py
src/nnsight/modeling/diffusion.py
src/nnsight/modeling/diffusion.pyi
src/nnsight/modeling/huggingface.py
src/nnsight/modeling/language.py
src/nnsight/modeling/language.pyi
src/nnsight/modeling/transformers.py
src/nnsight/modeling/vlm.py
src/nnsight/modeling/mixins/__init__.py
src/nnsight/modeling/mixins/loadable.py
src/nnsight/modeling/mixins/meta.py
src/nnsight/modeling/mixins/remoteable.py
src/nnsight/modeling/vllm/DISCUSSION.md
src/nnsight/modeling/vllm/IDEAS.md
src/nnsight/modeling/vllm/README.md
src/nnsight/modeling/vllm/__init__.py
src/nnsight/modeling/vllm/async_backend.py
src/nnsight/modeling/vllm/batching.py
src/nnsight/modeling/vllm/sampling.py
src/nnsight/modeling/vllm/serve_tracer.py
src/nnsight/modeling/vllm/vllm.py
src/nnsight/modeling/vllm/vllm.pyi
src/nnsight/modeling/vllm/engines/__init__.py
src/nnsight/modeling/vllm/engines/engine.py
src/nnsight/modeling/vllm/examples/ray/Dockerfile
src/nnsight/modeling/vllm/examples/ray/README.md
src/nnsight/modeling/vllm/examples/ray/docker-compose.yml
src/nnsight/modeling/vllm/examples/ray/test_multinode.py
src/nnsight/modeling/vllm/executors/__init__.py
src/nnsight/modeling/vllm/executors/ray_workaround.py
src/nnsight/modeling/vllm/intervention-gaps/REPORT.md
src/nnsight/modeling/vllm/intervention-gaps/VLLM_GUIDE.md
src/nnsight/modeling/vllm/intervention-gaps/run_all.py
src/nnsight/modeling/vllm/intervention-gaps/test_1_1.py
src/nnsight/modeling/vllm/intervention-gaps/test_1_2.py
src/nnsight/modeling/vllm/intervention-gaps/test_1_3.py
src/nnsight/modeling/vllm/intervention-gaps/test_1_4.py
src/nnsight/modeling/vllm/intervention-gaps/test_1_5.py
src/nnsight/modeling/vllm/intervention-gaps/test_2_1.py
src/nnsight/modeling/vllm/intervention-gaps/test_2_2.py
src/nnsight/modeling/vllm/intervention-gaps/test_2_3.py
src/nnsight/modeling/vllm/intervention-gaps/test_3_1.py
src/nnsight/modeling/vllm/intervention-gaps/test_3_2.py
src/nnsight/modeling/vllm/intervention-gaps/test_4_1.py
src/nnsight/modeling/vllm/intervention-gaps/test_4_2.py
src/nnsight/modeling/vllm/intervention-gaps/test_4_3.py
src/nnsight/modeling/vllm/intervention-gaps/test_stop_and_errors.py
src/nnsight/modeling/vllm/model_runners/GPUModelRunner.py
src/nnsight/modeling/vllm/model_runners/__init__.py
src/nnsight/modeling/vllm/serve/README.md
src/nnsight/modeling/vllm/serve/__init__.py
src/nnsight/modeling/vllm/serve/cli.py
src/nnsight/modeling/vllm/serve/server.py
src/nnsight/modeling/vllm/workers/GPUWorker.py
src/nnsight/modeling/vllm/workers/__init__.py
src/nnsight/schema/__init__.py
src/nnsight/schema/config.py
src/nnsight/schema/request.py
src/nnsight/schema/response.py
tests/__init__.py
tests/conftest.py
tests/debug_demo.py
tests/explore_remote.py
tests/explore_remote_advanced.py
tests/repro_631.py
tests/test_0516_features.py
tests/test_dataclass_serialization.py
tests/test_debug.py
tests/test_diffusion.py
tests/test_envoys.py
tests/test_iter_edge_cases.py
tests/test_lambda_serialization.py
tests/test_lm.py
tests/test_local_env.py
tests/test_local_mutual_recursion.py
tests/test_local_recursion.py
tests/test_local_simulation.py
tests/test_memory_cleanup.py
tests/test_multiple_wrappers.py
tests/test_mutual_recursion.py
tests/test_remote.py
tests/test_serialization_edge_cases.py
tests/test_serve.py
tests/test_serve_async.py
tests/test_server_errors.py
tests/test_source.py
tests/test_tiny.py
tests/test_tp_stream_fix.py
tests/test_transform.py
tests/test_vllm.py
tests/test_vllm_dispatch_bug.py
tests/test_vlm.py
tests/test_whitelist_serialization.py
tests/agent-evals/README.md
tests/agent-evals/_audit.py
tests/agent-evals/agent.py
tests/agent-evals/doc_bundles.py
tests/agent-evals/eval.py
tests/agent-evals/eval_responses.py
tests/agent-evals/generate_prompts.py
tests/agent-evals/human_eval.py
tests/agent-evals/report.md
tests/agent-evals/requirements.txt
tests/agent-evals/run_agent_session.py
tests/agent-evals/runner.py
tests/agent-evals/prompts/00_INSTRUCTIONS.md
tests/agent-evals/prompts/responses_template.json
tests/agent-evals/prompts/task_01_basic_01_trace_and_save.md
tests/agent-evals/prompts/task_02_basic_02_logits_and_prediction.md
tests/agent-evals/prompts/task_03_basic_03_zero_activations.md
tests/agent-evals/prompts/task_04_basic_04_access_input.md
tests/agent-evals/prompts/task_05_basic_05_clone_before_modify.md
tests/agent-evals/prompts/task_06_intermediate_01_multiple_invokers.md
tests/agent-evals/prompts/task_07_intermediate_02_activation_patching.md
tests/agent-evals/prompts/task_08_intermediate_03_generation.md
tests/agent-evals/prompts/task_09_intermediate_04_iter_generation.md
tests/agent-evals/prompts/task_10_intermediate_05_gradients.md
tests/agent-evals/prompts/task_11_intermediate_06_promptless_invoke.md
tests/agent-evals/prompts/task_12_advanced_01_sessions.md
tests/agent-evals/prompts/task_13_advanced_02_model_editing.md
tests/agent-evals/prompts/task_14_advanced_03_caching.md
tests/agent-evals/prompts/task_15_advanced_04_skip_module.md
tests/agent-evals/prompts/task_16_advanced_05_scan_mode.md
tests/agent-evals/prompts/task_17_advanced_06_barrier_sync.md
tests/agent-evals/prompts/task_18_advanced_07_logit_lens.md
tests/agent-evals/prompts/task_19_advanced_08_steering_vector.md
tests/agent-evals/results/.gitignore
tests/agent-evals/results/bundle_comparison.png
tests/agent-evals/results/bundle_comparison_browse.png
tests/agent-evals/results/bundle_comparison_browse_diff.png
tests/agent-evals/results/bundle_comparison_diff.png
tests/agent-evals/results/bundle_comparison_static_vs_browse.png
tests/agent-evals/scripts/plot_bundle_study.py
tests/agent-evals/scripts/run_bundle_study.sh
tests/agent-evals/tasks/__init__.py
tests/agent-evals/tasks/mcqs.py
tests/agent-evals/tasks/registry.py
tests/agent-evals/tasks/advanced/__init__.py
tests/agent-evals/tasks/basic/__init__.py
tests/agent-evals/tasks/intermediate/__init__.py
tests/mymethods/__init__.py
tests/mymethods/stateful.py
tests/performance/README.md
tests/performance/benchmark_interventions.py
tests/performance/benchmark_output.txt
tests/performance/benchmark_results.log
tests/performance/overhead_breakdown.png
tests/performance/overhead_vs_hooks.png
tests/performance/scaling.png
tests/performance/version_comparison.png
tests/performance/profile/__init__.py
tests/performance/profile/profile_batching.py
tests/performance/profile/profile_envoy.py
tests/performance/profile/profile_interleaving.py
tests/performance/profile/profile_output.log
tests/performance/profile/profile_source.py
tests/performance/profile/profile_source_quick.py
tests/performance/profile/profile_tracing.py
tests/performance/profile/profiler_utils.py
tests/performance/profile/quick_profile.py
tests/performance/profile/run_full_profile.py
tests/performance/profile/source_profile_results.txt
tests/performance/profile/results/performance_report.md
tests/performance/results/avg_overhead_bar.png
tests/performance/results/by_module_type.png
tests/performance/results/by_tokens.png
tests/performance/results/config_comparison.png
tests/performance/results/interventions_scaling.png
tests/performance/results/overhead_by_config.png
tests/performance/results/overhead_ratio.png
tests/serve_clients/README.md
tests/serve_clients/client_01_basic_logits.py
tests/serve_clients/client_02_multi_layer.py
tests/serve_clients/client_03_intervention.py
tests/serve_clients/client_04_multi_invoke.py
tests/serve_clients/client_05_shared_list.py
tests/serve_clients/client_06_nonblocking.py
tests/serve_clients/client_07_activation_patch.py
tests/serve_clients/client_08_attention.py
tests/serve_clients/client_09_expert_outputs.py
tests/serve_clients/client_10_stress.py