Skip to content

refactor(looper): optional processor hooks become no-op LoopProcessor methods - #6467

Merged
Qubitium merged 2 commits into
mainfrom
refactor/looper-hook-defaults
Nov 30, 2026
Merged

Qubitium merged 2 commits into
mainfrom
refactor/looper-hook-defaults

Conversation

@Qubitium

Copy link
Copy Markdown
Collaborator

Summary

The shared looper stages probed optional processor hooks with getattr(processor, name, None) plus callable(...). This PR turns each hook into a LoopProcessor method whose default returns what the stage used when a processor lacked the hook. The stages now call the hooks directly. Behaviour is unchanged on purpose: no numerics, checkpoint-format or public-API change.

The inventory was re-derived from current main (1c51b32a7), after #6399, #6408, #6413, #6423, #6435 and R1 (#6406). It covers 19 optional hooks plus 3 hooks that already had base defaults but were still probed (install_moe_affinity_hooks, prepare_layer_post_quantize, calibration_keep_mask). They were probed at 26 sites in stage_subset.py, stage_layer.py, forward_executor.py, module_looper.py, loop_processor.py and utils/looper_helpers.py.

Diff: gptqmodel/ 6 files, +143/-222 (net -79). Including the new unit tests (+97), the converted test doubles and the docs section (+27), the whole PR is 25 files, +351/-276 (net +75). The production code shrinks; the growth is the required new tests, the shared test double and the docs.

What Changed

  • LoopProcessor gains 19 hook defaults. Each matches the signature of its EXL3/Paro/G2PTQ/GPTQ implementation (a new test asserts parameter names and kinds) and returns the value the stage used when the hook was absent:

    Hook Default (old absent-hook value) Implemented by
    restore_subset_capture_frontier False (forward runs) EXL3
    restore_subset_capture_batches frozenset() (EXL3 return type; the stage ignores it) EXL3
    commit_subset_capture_frontier, validate_subset_capture_readiness no-op EXL3
    subset_forward_capture_context nullcontext() EXL3
    plan_subset_zero_route_recovery () (no recovery forward) EXL3
    finish_subset_zero_route_recovery raises the stage's existing RuntimeError("EXL3 route-coverage top-up lost its completion validator"). It only runs after a non-empty plan EXL3
    forward_committed_batch_indices frozenset() (identity of the union both executor sites build) EXL3
    forward_batch_completed, bind_moe_quant_devices no-op EXL3
    prepare_runtime_weight_for_forward None (module unchanged; both callers continue) EXL3
    uses_grouped_optimization False Paro, G2PTQ
    needs_pristine_layer_clone self.uses_grouped_optimization() (the fallback of the removed _processor_needs_pristine_group_clone) Paro, G2PTQ
    clean_group_layer_inputs the given layer_inputs (same object) Paro, G2PTQ
    receive_pristine_layer_module, receive_clean_layer_inputs no-op Paro, G2PTQ
    capture_layer_forward_context_during_subset True (keeps forward.capture_layer_context) Paro
    begin_activation_scale_probe / end_activation_scale_probe False / no-op GPTQ (G2PTQ inherits)
  • The call sites call the hooks directly. _processor_needs_pristine_group_clone (stage_layer.py) and resolve_calibration_keep_mask (loop_processor.py, 2 callers) are deleted.

  • The forward_committed_batch_indices signature outlier noted in the debloat map is gone on current main: both forward_executor.py sites (run_single, run_parallel) call it with layer_index= only, matching EXL3. The default returns frozenset(), so outputs.committed_indices.union(...) is unchanged.

  • In run_subset_stage, the NVFP4 scale-probe, capture and zero-route recovery forwards share one functools.partial of their 13 common _run_forward_batches arguments. Each call keeps its own current_subset, shared_kv_cache_dict, need_outputs, reuse_kv, progress, force_serial and apply_moe_config arguments. The partial is built inside the guarded try, so the [BUG] Failed quantization retains capture hooks and releases offload storage before finalizers finish #4470 hook release still covers it.

  • Tests: processor doubles that relied on missing attributes now subclass LoopProcessor through tests/module_tree/looper_doubles.ProcessorDouble. It skips __init__ and takes keyword attributes like the SimpleNamespace doubles it replaces. forward is a plain class attribute (None), so a double may assign it, and an unset one still reads as missing. Converted: 16 processor classes in tests/test_stage_modules.py, plus doubles in 12 other files. The MagicMock processor in tests/test_moe_expert_batching.py now returns False from restore_subset_capture_frontier instead of setting the hook to None. The two tests/test_stage_modules.py assertions on the deleted _processor_needs_pristine_group_clone now assert processor.needs_pristine_layer_clone() against the same expected values. No assertion was weakened or removed.

  • Docs: docs/quantization-lifecycle-contracts.md gains an "Optional stage hooks" section and a before/after row.

  • Out of scope, on purpose:

    • The release_run_workspace / release_failed_run probes in run teardown (weight_only_looper.py, release_failed_run_processors) belong to the concurrent shared-teardown refactor.
    • The R1 capability attributes (heavy_finalize, native_capture, ...) are still read with getattr(..., False).
    • Attribute probes on processors (tasks, qcfg, _mask_tls, name) are unchanged.

Tests

  • Unit tests have been executed and passed, or the reason they are not applicable is documented.
  • I added a new simple/fast unit test for this change, or documented why that is not applicable.

New tests in tests/test_looper_processor_capabilities.py:

  • test_optional_hook_overridden_exactly_where_it_was_defined[hook-cls] (19 hooks x 13 processor classes): a class overrides a hook exactly when it, or a parent, defined the hook before this change.
  • test_optional_hook_override_keeps_the_default_signature[...]: every override has the same parameter names and kinds as the base default.
  • test_optional_hook_defaults_return_the_old_absent_hook_values: every default returns the old absent-hook value, and finish_subset_zero_route_recovery raises.
  • test_pristine_clone_default_follows_grouped_optimization: the needs_pristine_layer_clone fallback.

Commands (both trees: origin/main worktree at 1c51b32a7 and this branch; PYTHONPATH=<tree> python -P, gptqmodel.__file__ printed from each tree; HF_HUB_OFFLINE=1):

# CPU: 149 test files that import the touched stages, executor, helpers or hooks
# (every tests/*.py and tests/module_tree/*.py that references stage_subset, stage_layer,
# forward_executor, module_looper, loop_processor, looper_helpers or a hook name above, plus
# test_gptq_hessian_pipeline, test_exl3_capture_batch_spool, test_exl3_moe_dp_hessian_owner_5093 and
# test_exl3_projection_resume; tests/test_dynamic.py runs in the GPU job instead)
CUDA_VISIBLE_DEVICES="" python -P -m pytest -n 32 -q -rs -o addopts= -p no:cacheprovider --junitxml=cpu_<side>.junit.xml $(cat cpu_tests.txt)
# GPU (one RTX 4090): the files whose nodes skipped on CPU for lack of CUDA, plus the W4A model tests
CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=4 python -P -m pytest -q -rs -o addopts= -p no:cacheprovider --junitxml=gpu_<side>.junit.xml \
  tests/test_paro.py tests/test_g2ptq_processor.py tests/test_exl3_cancelled_run_5083.py tests/test_exl3_projection_resume.py \
  tests/test_exl3_auto_nf12_recovery.py tests/test_calibration_data_device.py tests/test_auto_dtype_cast.py \
  tests/test_cancelled_quantize_kernel_rehome_4947.py tests/test_offload_quantized_modules_restored_4450.py \
  tests/test_shared_input_hessian_dedup_real_model_e2e.py tests/test_processor_continuation.py tests/test_quant_log_coverage_4321.py \
  tests/test_awq_moe_prune_uncovered_4456.py tests/test_dynamic.py tests/test_model.py tests/test_fallback.py tests/test_macaq.py \
  tests/test_vptq.py tests/test_checkpoint_devices.py tests/test_benchmark_submodule_finalize.py tests/test_excluded_device_warmup.py \
  tests/test_weight_only_failed_run_device_5011.py tests/test_rehome_hook_realign.py \
  tests/models/test_non_w4a_lifecycle.py tests/models/test_w4a_replay_stream.py tests/models/test_w4a_producer_calibration.py
bash format/check.sh   # ruff 0.14.2: All checks passed!
Run origin/main this branch per-node comparison (junit)
CPU 3626 passed, 398 skipped, 1 failed 3899 passed, 398 skipped, 1 failed 4025 shared nodes, 0 outcome changes; 273 new nodes (the tests above), all pass
GPU 1217 passed, 123 skipped, 1 failed 1217 passed, 123 skipped, 1 failed 1341 shared nodes, 0 outcome changes

These runs include the converted tests, among them tests/test_stage_modules.py (54 passed), tests/test_moe_expert_batching.py, tests/test_calibration_data_device.py, tests/test_subset_plan.py, tests/test_looper_helpers.py, tests/test_replay_input_release_5735.py, tests/module_tree/test_forward_executor_parallel.py and tests/module_tree/test_forward_executor_shared_kv.py. Before the doubles were converted, at least 80 of these nodes failed on this branch with AttributeError: ... has no attribute '<hook>' (60 in the other files, 20 in test_stage_modules.py).

Failures, identical on both trees and unrelated to this change:

  • tests/test_looper_processor_capabilities.py::test_gptq_never_inherits_previous_calibration: verify_calibration_dataset now reads self.calibration_dataset_owner, which the test's SimpleNamespace lacks.
  • tests/test_dynamic.py::TestDynamic::test_skip_module (GPU): RuntimeError: Expected all tensors to be on the same device ... index is on cpu ... cuda:0 in the in-session reference forward after quantize. Not investigated here.

Skips, and what they leave unverified:

  • CPU: all 398 skips need an accelerator, several GPUs or MPS, except one that needs the optional compressed_tensors. The GPU job re-runs the CUDA-only files.
  • GPU: 91 nodes need GB10/SM 12.1 for NVFP4, so W4A NVFP4 quantization is unverified end-to-end (see the stage-level probe A/B below). 30 nodes need 2 or more GPUs, so real multi-device run_parallel forwards are covered only by the CPU-double tests in tests/module_tree/test_forward_executor_parallel.py. One node needs MPS and one needs compressed_tensors.

Measured Impact

Not applicable: this refactor does not claim a performance, VRAM or accuracy change. The A/B below shows bit-identical checkpoints.

Structural and end-to-end A/B

hook_ab.py runs before quantize() builds any processor. It wraps every hook listed above on LoopProcessor and on every processor subclass at class level. Each call records (hook, defining class, processor, kwargs summary with tensor shape/dtype/sum checksums, return summary), and ModuleLooper._run_forward_batches kwargs are recorded too. The same model, config, seed and calibration (16 rows, batch 2) are then quantized on origin/main and on this branch, and the run is saved. The compare step asserts:

  1. every call to a processor-defined hook, and to the three pre-existing base hooks, is identical, as a multiset and in order (per-batch hooks excluded from the order check because parallel forwards interleave them);
  2. every call served by a new LoopProcessor default returns the old absent-hook value;
  3. every _run_forward_batches call has identical kwargs (this covers the functools.partial);
  4. every saved safetensors tensor is bit-identical, and every config json is equal.
# old = origin/main worktree, new = this branch
PYTHONPATH=<tree> python -P hook_ab.py quant <model> <method> <device> <out>
python -P hook_ab.py compare <old_out> <new_out>
Model Method Device old calls = new calls minus new defaults new default calls (all return the absent-hook value) tensors bit-identical config jsons
tinyllama-15M (6 layers) GPTQ CPU 291 = 291, same order 675 182/182 5 equal
tinyllama-15M GPTQ + GPTAQ CPU 351 = 351, same order 1197 182/182 5 equal
tinyllama-15M G2PTQ CPU 573 = 573, same order 747 182/182 5 equal
tinyllama-15M Paro, opt_scope=module CPU 309 = 309, same order 651 266/266 5 equal
tinyllama-15M Paro, opt_scope=layer CPU 405 = 405, same order 723 266/266 5 equal
tinyllama-15M Paro, opt_scope=compute_block CPU 405 = 405, same order 723 266/266 5 equal
Qwen2.5-0.5B-Instruct (24 layers) GPTQ RTX 4090 1191 = 1191, same order 2745 794/794 5 equal
Qwen2.5-0.5B-Instruct EXL3 4-bit RTX 4090 3840 = 3840, same order 96 794/794 5 equal

Hooks that ran through their real implementations:

  • EXL3: bind_moe_quant_devices 1; restore_subset_capture_frontier, restore_subset_capture_batches, subset_forward_capture_context, plan_subset_zero_route_recovery, commit_subset_capture_frontier and validate_subset_capture_readiness 96 each; forward_committed_batch_indices 119; forward_batch_completed 952; prepare_runtime_weight_for_forward 1001; prepare_layer_post_quantize 24.
  • Paro and G2PTQ: uses_grouped_optimization, needs_pristine_layer_clone, clean_group_layer_inputs, receive_pristine_layer_module and receive_clean_layer_inputs. Paro's capture_layer_forward_context_during_subset ran in the layer and compute_block scopes.
  • GPTQ: install_moe_affinity_hooks.

The _run_forward_batches calls (29 to 119 per run) have identical kwargs in every run, which covers the functools.partial.

Not run end-to-end: finish_subset_zero_route_recovery and a non-empty zero-route plan. They need an EXL3 route-evidence run, and none of these models triggers one. That call site changed from getattr plus raise to a direct call whose default raises the same error. tests/test_stage_modules.py::test_subset_pass_finishes_zero_route_recovery_before_quant_fanout passes on both trees.

The W4A NVFP4 scale-probe call site needs NVFP4 tensor cores (sm_121). No GPU here has them (RTX 4090: "W4ANVFP4Linear needs a CUDA device with NVFP4 tensor cores (compute capability 12.1+)"), so probe_ab.py drives run_subset_stage through the existing test_moe_expert_batching MagicMock harness with qcfg.activation_mode="w4a_nvfp4" on both trees:

Case _run_forward_batches calls (kwargs) ordered hook calls (minus the restore pair the old harness set to None)
w4a_nvfp4, probe returns True 2 (NVFP4 scale probe, Forward), identical identical: install_moe_affinity_hooks, subset_forward_capture_context, begin_activation_scale_probe, end_activation_scale_probe, plan_subset_zero_route_recovery, commit_subset_capture_frontier, validate_subset_capture_readiness
w4a_nvfp4, probe returns False 1 (Forward), identical identical, with no end_activation_scale_probe
w4afp8 1 (Forward), identical identical, with no probe calls

tests/models/test_non_w4a_lifecycle.py fails if ordinary quantization enters a W4A path, including begin/end_activation_scale_probe. It passes on both trees.

Model Support / Module Plan

Not applicable: no model, alias, definition or module plan changes.

AWQ onboarding safety

Not applicable: AWQ grouping, search, replay and folding are untouched. AWQProcessor implements none of these hooks and inherits the defaults, which return its old absent-hook values.

Logic Flow Documentation

  • This change does not alter a major logic flow, or the required diagrams and docs page are included below.
  • New-flow Mermaid diagram(s) describe the shipped code using real symbol names.
  • The removed/replaced mechanism is shown or tabulated with file:line evidence.
  • Failure and ambiguity paths are marked and visually distinct from success.
  • A reference page under docs/ repeats the diagrams, titled for the mechanism, and is linked from README.md (via docs/README.md).

The hook dispatch mechanism changes from duck-typed probing to base-class defaults. The control flow at every site stays the same.

flowchart LR
    S["stage call site"] --> H["processor.hook(...)"]
    H --> O{"overridden?"}
    O -- "EXL3 / Paro / G2PTQ / GPTQ" --> I["processor implementation"]
    O -- "no" --> D["LoopProcessor default<br/>old absent-hook value"]
    D -. "finish_subset_zero_route_recovery<br/>without plan override" .-> X["RuntimeError (unchanged)"]
    style X fill:#fde2e1
Loading
Site (parent revision 1c51b32a7) Before After
stage_subset.py:932-961 getattr(processor, "restore_subset_capture_frontier"/"restore_subset_capture_batches", None) + callable direct calls, default False / frozenset()
stage_subset.py:1197-1201 capture_layer_forward_context_during_subset probe direct call, default True
stage_subset.py:1209-1211 install_moe_affinity_hooks probe (base default already existed) direct call
stage_subset.py:1258-1269 subset_forward_capture_context probe, else nullcontext() direct call, default nullcontext()
stage_subset.py:1277-1283, :1310 begin/end_activation_scale_probe probes direct calls, default False / no-op
stage_subset.py:1351-1358, :1425-1435 zero-route plan probe, else (); finish probe, else RuntimeError direct calls; defaults () / same RuntimeError
stage_subset.py:1515-1531 commit / validate probes direct calls, no-op defaults
stage_subset.py:1286,1312,1401 three _run_forward_batches calls repeating 13 kwargs one functools.partial
stage_layer.py:226-232, :814-820 _processor_needs_pristine_group_clone + uses_grouped_optimization probes processor.needs_pristine_layer_clone() / uses_grouped_optimization()
stage_layer.py:507-571 4 probes in _capture_pristine_group_context direct calls
stage_layer.py:1399-1409 prepare_layer_post_quantize probe (base default existed) direct call
forward_executor.py:434-440, :702-708 forward_committed_batch_indices probe .union(processor.forward_committed_batch_indices(layer_index=...))
forward_executor.py:620-622, :934-941 forward_batch_completed probe direct call
forward_executor.py:527, utils/looper_helpers.py:870 via loop_processor.py:521 resolve_calibration_keep_mask probe helper processor.calibration_keep_mask(...)
module_looper.py:421-425, :1383-1388; loop_processor.py:229-234 bind_moe_quant_devices / prepare_runtime_weight_for_forward probes direct calls

Review Requirements

  • Reviewed this PR.
  • Checked that the code matches existing project structure, APIs, and conventions.
  • Avoided unnecessary monkeypatching and used the project's normal extension points where possible.
  • Minimized and compacted the impacted code surface.
  • Considered and eliminated potential regressions.

Kernel Accuracy Requirements

Not applicable: no kernel, dispatch, packing or fusion change.

Notes

  • Any LoopProcessor subclass now receives these calls. A non-LoopProcessor duck-typed processor would now raise AttributeError where it used to be skipped. Every in-tree processor subclasses LoopProcessor. Only test doubles relied on the old behaviour, and they were converted.
  • Unrelated, left alone: run_subset_stage passes processor=getattr(processor, "name", type(processor).__name__) to the subset callback for the forward_start, forward_end, quant_start, quant_complete and zero_route_recovery_* events. name is a method, so a registered subset_callback receives a bound method there, while the other events receive the processor.name() string. This PR does not change that.
  • Pre-existing on main: tests/test_looper_processor_capabilities.py::test_gptq_never_inherits_previous_calibration fails on both trees. verify_calibration_dataset now reads self.calibration_dataset_owner, which the test's SimpleNamespace lacks.

🤖 Generated with Claude Code

… methods

The shared looper stages probed 19 optional processor hooks with
getattr(processor, name, None) plus callable(...) at about 20 sites in
stage_subset.py, stage_layer.py, forward_executor.py, module_looper.py and
loop_processor.py. Three more hooks (install_moe_affinity_hooks,
prepare_layer_post_quantize, calibration_keep_mask) already had LoopProcessor
defaults and were probed anyway. Only EXL3 (capture/replay and zero-route
recovery hooks), Paro and G2PTQ (grouped optimization) and GPTQ (NVFP4
activation-scale probe) implement them.

Each hook is now a LoopProcessor method whose default returns what the stage
used when the hook was absent:

- restore_subset_capture_frontier -> False, restore_subset_capture_batches ->
  frozenset() (the EXL3 return type; the stage ignores it)
- subset_forward_capture_context -> nullcontext()
- plan_subset_zero_route_recovery -> (); finish_subset_zero_route_recovery
  keeps the stage's "lost its completion validator" RuntimeError, since it
  only runs after a non-empty plan
- forward_committed_batch_indices -> frozenset(), the identity of the union
  both executor call sites build (both pass only layer_index=)
- prepare_runtime_weight_for_forward -> None (module unchanged)
- capture_layer_forward_context_during_subset -> True
- begin_activation_scale_probe -> False
- uses_grouped_optimization -> False; needs_pristine_layer_clone ->
  uses_grouped_optimization(), the fallback of the deleted
  _processor_needs_pristine_group_clone helper
- clean_group_layer_inputs -> the given layer_inputs
- the rest are no-ops

The call sites call the hooks directly. resolve_calibration_keep_mask and
_processor_needs_pristine_group_clone are gone, and the scale-probe, capture
and zero-route recovery forwards in run_subset_stage share one
functools.partial of their 13 common _run_forward_batches arguments.

Test processor doubles that relied on missing attributes now subclass
LoopProcessor through tests/module_tree/looper_doubles.ProcessorDouble, which
skips __init__ and takes its attributes as keywords like the SimpleNamespace
doubles it replaces. The MagicMock processor in test_moe_expert_batching
returns False from restore_subset_capture_frontier instead of having the hook
set to None. No assertion changes.

Not in scope: release_run_workspace/release_failed_run probes in the run
teardown (shared-teardown refactor), and the R1 capability attributes, which
the stages still read with getattr(..., False).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Comment thread tests/module_tree/looper_doubles.py Dismissed
@Qubitium
Qubitium marked this pull request as ready for review November 30, 2026 02:25
@Qubitium
Qubitium merged commit 1fdd059 into main Nov 30, 2026
6 checks passed
@Qubitium
Qubitium deleted the refactor/looper-hook-defaults branch November 30, 2026 02:28
Qubitium added a commit that referenced this pull request Nov 30, 2026
…d teardown

Rebased fix/6148-issue onto origin/main 94ceaf7 (after #6464, #6465,
#6467, #6469, #6470). Three conflicts:
- gptqmodel/looper/forward_executor.py: import block. Main dropped the
  unused resolve_calibration_keep_mask import; kept only the PR's
  replay_records import.
- gptqmodel/looper/module_looper.py: #6465 moved the failed-run teardown
  into InflightLayerTracker (inflight_layer.py). Kept main's structure and
  re-applied the PR's release_looped_capture() as a ModuleLooper override
  of _release_failed_run_processors that calls super() first.
- gptqmodel/models/definitions/inkling2_loop.py: #6464 reduced
  pre_quantize_generate_hook_start to the batch-index/bank reset plus
  super(); the PR removes that reset, so the override is deleted.

Earlier rebase (onto 81ac176):
Rebased fix/6148-issue onto origin/main 81ac176. Two conflicts:
- gptqmodel/models/definitions/inkling2_loop.py: import block. Kept the
  PR's replay_records imports; dropped the PR's get_op_name import
  because main removed its last use and the rebased file does not use it.
- tests/module_tree/test_inkling2_loop_plan.py: main added the AWQ
  declaration block where the PR deletes _capture_inkling2_forward.
  Kept all of main's AWQ tests, removed only the helper the PR replaced
  with record-owned head banks.

Tests: 135 passed, 1 skipped on CPU (main baseline for the pre-existing
files: 124 passed).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Qubitium added a commit that referenced this pull request Dec 1, 2026
…d teardown

Rebased fix/6148-issue onto origin/main 94ceaf7 (after #6464, #6465,
#6467, #6469, #6470). Three conflicts:
- gptqmodel/looper/forward_executor.py: import block. Main dropped the
  unused resolve_calibration_keep_mask import; kept only the PR's
  replay_records import.
- gptqmodel/looper/module_looper.py: #6465 moved the failed-run teardown
  into InflightLayerTracker (inflight_layer.py). Kept main's structure and
  re-applied the PR's release_looped_capture() as a ModuleLooper override
  of _release_failed_run_processors that calls super() first.
- gptqmodel/models/definitions/inkling2_loop.py: #6464 reduced
  pre_quantize_generate_hook_start to the batch-index/bank reset plus
  super(); the PR removes that reset, so the override is deleted.

Earlier rebase (onto 81ac176):
Rebased fix/6148-issue onto origin/main 81ac176. Two conflicts:
- gptqmodel/models/definitions/inkling2_loop.py: import block. Kept the
  PR's replay_records imports; dropped the PR's get_op_name import
  because main removed its last use and the rebased file does not use it.
- tests/module_tree/test_inkling2_loop_plan.py: main added the AWQ
  declaration block where the PR deletes _capture_inkling2_forward.
  Kept all of main's AWQ tests, removed only the helper the PR replaced
  with record-owned head banks.

Tests: 135 passed, 1 skipped on CPU (main baseline for the pre-existing
files: 124 passed).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant