[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BJY61VMJKZS49VNZ5AYS4F":3,"skill-same:01M7BJY61VMJKZS49VNZ5AYS4F":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7BJY61VMJKZS49VNZ5AYS4F","nemo-mbridge-perf-activation-recompute",null,"Validate and use selective and full activation recompute in Megatron Bridge to reduce GPU memory usage at the cost of extra compute.","YYC-Cube\u002FYYC3-AI-Agent-Archive","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79K9J2WD44BBY4662XKNZRB",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nemo-mbridge-perf-activation-recompute\ndescription: Validate and use selective and full activation recompute in Megatron Bridge to reduce GPU memory usage at the cost of extra compute.\ncategory: development-code\nversion: 1.0.0\nlicense: Apache-2.0\nwhen_to_use: Reducing GPU memory via activation recompute, or investigating a commit that changed recompute settings and caused OOM or a regression; 'recompute_granularity', 'recompute_num_layers', 'recompute_modules', 'recompute_method', 'selective recompute', 'full recompute', 'activation memory OOM'.\nrelated_skills: [nemo-mbridge-perf-memory-tuning]\n---\n\n# Activation Recompute\n\nStable docs: @docs\u002Ftraining\u002Factivation-recomputation.md\nCard: @skills\u002Fnemo-mbridge-perf-activation-recompute\u002Fcard.yaml\n\n## Answer Checklist\n\nFor OOM or CUDA graph questions, lead with this exact sequence:\n\n1. First try `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True`; many\n   borderline failures are allocator fragmentation, not activation capacity.\n2. Prefer selective recompute before full-layer recompute:\n   `recompute_granularity=\"selective\"` with `recompute_modules=[\"core_attn\"]`.\n3. If still borderline, optionally add `\"layernorm\"`; use `\"mlp\"` only as a\n   last resort because it has a large compute cost on wide dense FFNs.\n4. Use full-layer recompute only after selective recompute fails to fit, and\n   always name the required fields: `recompute_granularity=\"full\"`,\n   `recompute_method`, and `recompute_num_layers`.\n5. If FP8 or TE-scoped CUDA graphs are enabled, call out the assertion risk:\n   full-layer recompute is incompatible with TE scopes such as `attn`, `mlp`,\n   and `moe_router`. Valid fixes are selective recompute, `cuda_graph_impl=\"none\"`,\n   or `cuda_graph_impl=\"local\"` with `cuda_graph_scope=\"full_iteration\"`.\n\n## What It Is\n\nActivation recompute trades GPU compute for memory by discarding intermediate\nactivations during the forward pass and recomputing them during backward.\nMegatron Bridge supports two granularities:\n\n| Granularity | What you specify | What gets recomputed | Memory savings | Compute cost |\n|---|---|---|---|---|\n| `selective` | `recompute_modules` list (e.g. `core_attn`, `mlp`) | specific submodules within each layer | moderate (module-dependent) | low to high |\n| `full` | `recompute_num_layers` + `recompute_method` | entire transformer layers (N layers) | strongest | highest |\n\nNote: MCore names these \"selective\" (submodule-level) vs \"full\" (layer-level).\n\"Full\" means recomputing full layers, not the full model — you still choose\nhow many layers via `recompute_num_layers`.\n\n## Quick Decision\n\n1. **Set `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True` first** — most\n   borderline OOMs are caused by memory fragmentation, not capacity. This\n   fixes it at zero cost. See @skills\u002Fnemo-mbridge-perf-memory-tuning\u002FSKILL.md.\n2. Start with `recompute_granularity=selective`, `recompute_modules=[core_attn]`\n   (often already the default in recipes).\n3. Add `layernorm` to recompute modules — nearly free compute-wise but saves\n   negligible memory. Only helps in extremely borderline cases.\n4. Add `mlp` as a last resort — saves ~3 GB but costs ~16% GPU utilization on\n   large dense models (Llama3 70B).\n5. Use `recompute_granularity=full` only when selective recompute still does\n   not fit.\n\nCPU offloading (`cpu_offloading=True`) is an alternative that avoids recompute\ncost entirely, but it is **incompatible with PP > 1**.\n\n## Enablement\n\n### Selective recompute\n\n```python\ncfg.model.recompute_granularity = \"selective\"\ncfg.model.recompute_modules = [\"core_attn\"]  # add \"layernorm\", \"mlp\", or other valid modules as needed\n```\n\n### Full-layer recompute\n\n```python\ncfg.model.recompute_granularity = \"full\"\ncfg.model.recompute_method = \"uniform\"\ncfg.model.recompute_num_layers = 4\n```\n\n### Available recompute_modules\n\n| Module | What it recomputes | Compute cost | Memory savings |\n|---|---|---|---|\n| `core_attn` | attention softmax\u002Fdropout\u002FQKV dot product | low (Flash Attention already recomputes internally) | moderate |\n| `layernorm` | layer normalization | negligible (~0%) | negligible |\n| `mlp` | full FFN block | high (~16% on Llama3 70B, hidden=28672) | ~3 GB |\n| `moe` | MoE expert dispatch | varies | varies |\n| `moe_act` | MoE activation functions | low | small |\n| `shared_experts` | shared expert layers | moderate | moderate |\n| `mla_up_proj` | Multi-Latent Attention up projection | moderate | moderate |\n\n### Performance harness CLI\n\n```bash\npython scripts\u002Fperformance\u002Frun_performance_workload.py \\\n  --recompute_granularity selective \\\n  --recompute_modules core_attn layernorm \\\n  ...\n```\n\n## Compatibility and Constraints\n\n- `recompute_granularity=selective` requires a non-empty `recompute_modules` list\n- `recompute_granularity=full` requires `recompute_method` and `recompute_num_layers`\n- **Layer-level recompute (`recompute_granularity=\"full\"` +\n  `recompute_num_layers`) is incompatible with TE-scoped CUDA graphs.**\n  MCore calls this \"full\" granularity — the name refers to recomputing\n  full transformer layers, not the full model. Even though you're selecting\n  how many layers to recompute, MCore treats it differently from submodule\n  recompute. Any TE-scoped scope (`attn`, `mlp`, `moe_router`, etc.) will\n  assert. This commonly hits FP8 configs that enable TE-scoped graphs by\n  default (e.g. `LLAMA3_70B_SFT_CONFIG_H100_FP8_CS_V1` sets\n  `cuda_graph_impl=\"transformer_engine\"`, `cuda_graph_scope=\"mlp\"`). Options:\n  - use submodule recompute (`recompute_granularity=\"selective\"` +\n    `recompute_modules`) — compatible with TE-scoped graphs\n  - disable CUDA graphs (`cuda_graph_impl=\"none\"`) and use layer-level recompute\n  - switch to `cuda_graph_impl=\"local\"`, `cuda_graph_scope=\"full_iteration\"`\n- `distribute_saved_activations=True` cannot be combined with `sequence_parallel=True`\n- Combining `mlp` + `core_attn` recompute is slightly worse than `mlp` alone\n  due to double recompute overhead\n\n## Measured Results\n\nLlama3 70B SFT on 32x H100 80GB, FP8 (Current Scaling):\n- Baseline: TP=4, PP=4, VPP=5, DP=2, MBS=1, GBS=32, seq_len=4096\n- Golden GPU utilization: 709.93 TFLOP\u002Fs\u002FGPU\n- Regression threshold: 5%\n\n| Experiment | recompute_modules | TFLOP\u002Fs\u002FGPU | vs Golden | Peak Mem (GB) | Result |\n|---|---|---|---|---|---|\n| Baseline | [core_attn] | ~704 | -0.8% | 58.8 (OOM rank0) | OOM |\n| Exp 1 | [mlp] | 593.6 | -16.4% | 55.6 | Perf regression |\n| Exp 2 | [mlp, core_attn] | 586.8 | -17.3% | 55.6 | Perf regression |\n| Exp 3 | [core_attn, layernorm] | ~702 | -1.1% | 59.6 (OOM rank0) | OOM |\n\nKey takeaways:\n\n- `layernorm` recompute is nearly free compute-wise but saves negligible memory\n- `mlp` recompute saves ~3 GB peak but costs ~16% because the Llama3 70B FFN\n  (hidden=28672) is expensive to recompute\n- Combining `mlp` + `core_attn` is slightly worse than `mlp` alone\n- For this workload, the actual OOM fix was `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True`\n  (memory fragmentation, not capacity). See @skills\u002Fnemo-mbridge-perf-memory-tuning\u002FSKILL.md.\n\n## Code Anchors\n\n### Recompute modules enum and selective checkpoint logic\n\n```python\n# 3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_block.py\n# _checkpointed_forward() applies selective recompute based on recompute_modules\n```\n\n### Recompute config validation\n\n```python\n# 3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n# Validates recompute_granularity, recompute_method, recompute_num_layers\n```\n\n### Llama3 recipe defaults\n\n```99:103:src\u002Fmegatron\u002Fbridge\u002Frecipes\u002Fllama\u002Fllama3.py\n    # Memory saving (recompute & offloading)\n    cfg.model.recompute_granularity = None\n    cfg.model.recompute_modules = None\n    cfg.model.fine_grained_activation_offloading = False\n    cfg.model.offload_modules = None\n```\n\n### Full recompute + CUDA graph assertion (MCore)\n\n```2001:2005:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n            if self.recompute_granularity:\n                if self.recompute_granularity != \"selective\":\n                    assert self.cuda_graph_scope == [\n                        CudaGraphScope.full_iteration\n                    ], \"full recompute is only supported with full iteration CUDA graph.\"\n```\n\n### CPU offloading PP incompatibility (MCore)\n\n```1303:1306:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n        if self.cpu_offloading and self.pipeline_model_parallel_size > 1:\n            raise ValueError(\n                \"Currently there is no support for Pipeline parallelism with CPU offloading\"\n            )\n```\n\n## Failure Diagnosis\n\n| Symptom | Cause | Confirm | Fix |\n|---|---|---|---|\n| >15% GPU utilization drop | mlp recompute on large FFN | check `recompute_modules` includes `mlp` | check `expandable_segments:True` is set; consider reducing MBS |\n| Still OOM after adding layernorm | layernorm activations are too small | compare peak memory before\u002Fafter | add mlp recompute or check `expandable_segments:True` |\n| `AssertionError: full recompute is only supported with full iteration CUDA graph` | layer-level recompute (`recompute_granularity=full` + `recompute_num_layers`) with TE-scoped graphs. FP8 CS configs default to `cuda_graph_impl=transformer_engine`, `scope=mlp`. | check `cuda_graph_impl` and `cuda_graph_scope` | use submodule recompute (`selective` + `recompute_modules`), or `cuda_graph_impl=none`, or `local` + `full_iteration` |\n| ValueError: PP + CPU offloading | `cpu_offloading=True` with `pipeline_model_parallel_size > 1` | check PP config | disable CPU offloading or set PP=1 |\n| mlp+core_attn worse than mlp alone | double recompute overhead | compare Exp 1 vs Exp 2 | use mlp alone |\n\n## Known Limitations\n\n- Per-module memory savings vary significantly by model architecture and hidden\n  dimension\n- No automatic module selection — users must choose which modules to recompute\n- `layernorm` recompute is almost never worth it as a standalone fix\n- CPU offloading (the zero-compute-cost alternative) is blocked when PP > 1\n\n## Verification\n\n```bash\nuv run python -m pytest \\\n  tests\u002Funit_tests\u002Ftraining\u002Ftest_config.py -k \"recompute\" -q\n```\n\nSuccess criteria:\n- Unit tests pass for recompute config validation\n- No assertion errors from config validation\n","# Activation Recompute\n\nStable docs: @docs\u002Ftraining\u002Factivation-recomputation.md\nCard: @skills\u002Fnemo-mbridge-perf-activation-recompute\u002Fcard.yaml\n\n## Answer Checklist\n\nFor OOM or CUDA graph questions, lead with this exact sequence:\n\n1. First try `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True`; many\n   borderline failures are allocator fragmentation, not activation capacity.\n2. Prefer selective recompute before full-layer recompute:\n   `recompute_granularity=\"selective\"` with `recompute_modules=[\"core_attn\"]`.\n3. If still borderline, optionally add `\"layernorm\"`; use `\"mlp\"` only as a\n   last resort because it has a large compute cost on wide dense FFNs.\n4. Use full-layer recompute only after selective recompute fails to fit, and\n   always name the required fields: `recompute_granularity=\"full\"`,\n   `recompute_method`, and `recompute_num_layers`.\n5. If FP8 or TE-scoped CUDA graphs are enabled, call out the assertion risk:\n   full-layer recompute is incompatible with TE scopes such as `attn`, `mlp`,\n   and `moe_router`. Valid fixes are selective recompute, `cuda_graph_impl=\"none\"`,\n   or `cuda_graph_impl=\"local\"` with `cuda_graph_scope=\"full_iteration\"`.\n\n## What It Is\n\nActivation recompute trades GPU compute for memory by discarding intermediate\nactivations during the forward pass and recomputing them during backward.\nMegatron Bridge supports two granularities:\n\n| Granularity | What you specify | What gets recomputed | Memory savings | Compute cost |\n|---|---|---|---|---|\n| `selective` | `recompute_modules` list (e.g. `core_attn`, `mlp`) | specific submodules within each layer | moderate (module-dependent) | low to high |\n| `full` | `recompute_num_layers` + `recompute_method` | entire transformer layers (N layers) | strongest | highest |\n\nNote: MCore names these \"selective\" (submodule-level) vs \"full\" (layer-level).\n\"Full\" means recomputing full layers, not the full model — you still choose\nhow many layers via `recompute_num_layers`.\n\n## Quick Decision\n\n1. **Set `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True` first** — most\n   borderline OOMs are caused by memory fragmentation, not capacity. This\n   fixes it at zero cost. See @skills\u002Fnemo-mbridge-perf-memory-tuning\u002FSKILL.md.\n2. Start with `recompute_granularity=selective`, `recompute_modules=[core_attn]`\n   (often already the default in recipes).\n3. Add `layernorm` to recompute modules — nearly free compute-wise but saves\n   negligible memory. Only helps in extremely borderline cases.\n4. Add `mlp` as a last resort — saves ~3 GB but costs ~16% GPU utilization on\n   large dense models (Llama3 70B).\n5. Use `recompute_granularity=full` only when selective recompute still does\n   not fit.\n\nCPU offloading (`cpu_offloading=True`) is an alternative that avoids recompute\ncost entirely, but it is **incompatible with PP > 1**.\n\n## Enablement\n\n### Selective recompute\n\n```python\ncfg.model.recompute_granularity = \"selective\"\ncfg.model.recompute_modules = [\"core_attn\"]  # add \"layernorm\", \"mlp\", or other valid modules as needed\n```\n\n### Full-layer recompute\n\n```python\ncfg.model.recompute_granularity = \"full\"\ncfg.model.recompute_method = \"uniform\"\ncfg.model.recompute_num_layers = 4\n```\n\n### Available recompute_modules\n\n| Module | What it recomputes | Compute cost | Memory savings |\n|---|---|---|---|\n| `core_attn` | attention softmax\u002Fdropout\u002FQKV dot product | low (Flash Attention already recomputes internally) | moderate |\n| `layernorm` | layer normalization | negligible (~0%) | negligible |\n| `mlp` | full FFN block | high (~16% on Llama3 70B, hidden=28672) | ~3 GB |\n| `moe` | MoE expert dispatch | varies | varies |\n| `moe_act` | MoE activation functions | low | small |\n| `shared_experts` | shared expert layers | moderate | moderate |\n| `mla_up_proj` | Multi-Latent Attention up projection | moderate | moderate |\n\n### Performance harness CLI\n\n```bash\npython scripts\u002Fperformance\u002Frun_performance_workload.py \\\n  --recompute_granularity selective \\\n  --recompute_modules core_attn layernorm \\\n  ...\n```\n\n## Compatibility and Constraints\n\n- `recompute_granularity=selective` requires a non-empty `recompute_modules` list\n- `recompute_granularity=full` requires `recompute_method` and `recompute_num_layers`\n- **Layer-level recompute (`recompute_granularity=\"full\"` +\n  `recompute_num_layers`) is incompatible with TE-scoped CUDA graphs.**\n  MCore calls this \"full\" granularity — the name refers to recomputing\n  full transformer layers, not the full model. Even though you're selecting\n  how many layers to recompute, MCore treats it differently from submodule\n  recompute. Any TE-scoped scope (`attn`, `mlp`, `moe_router`, etc.) will\n  assert. This commonly hits FP8 configs that enable TE-scoped graphs by\n  default (e.g. `LLAMA3_70B_SFT_CONFIG_H100_FP8_CS_V1` sets\n  `cuda_graph_impl=\"transformer_engine\"`, `cuda_graph_scope=\"mlp\"`). Options:\n  - use submodule recompute (`recompute_granularity=\"selective\"` +\n    `recompute_modules`) — compatible with TE-scoped graphs\n  - disable CUDA graphs (`cuda_graph_impl=\"none\"`) and use layer-level recompute\n  - switch to `cuda_graph_impl=\"local\"`, `cuda_graph_scope=\"full_iteration\"`\n- `distribute_saved_activations=True` cannot be combined with `sequence_parallel=True`\n- Combining `mlp` + `core_attn` recompute is slightly worse than `mlp` alone\n  due to double recompute overhead\n\n## Measured Results\n\nLlama3 70B SFT on 32x H100 80GB, FP8 (Current Scaling):\n- Baseline: TP=4, PP=4, VPP=5, DP=2, MBS=1, GBS=32, seq_len=4096\n- Golden GPU utilization: 709.93 TFLOP\u002Fs\u002FGPU\n- Regression threshold: 5%\n\n| Experiment | recompute_modules | TFLOP\u002Fs\u002FGPU | vs Golden | Peak Mem (GB) | Result |\n|---|---|---|---|---|---|\n| Baseline | [core_attn] | ~704 | -0.8% | 58.8 (OOM rank0) | OOM |\n| Exp 1 | [mlp] | 593.6 | -16.4% | 55.6 | Perf regression |\n| Exp 2 | [mlp, core_attn] | 586.8 | -17.3% | 55.6 | Perf regression |\n| Exp 3 | [core_attn, layernorm] | ~702 | -1.1% | 59.6 (OOM rank0) | OOM |\n\nKey takeaways:\n\n- `layernorm` recompute is nearly free compute-wise but saves negligible memory\n- `mlp` recompute saves ~3 GB peak but costs ~16% because the Llama3 70B FFN\n  (hidden=28672) is expensive to recompute\n- Combining `mlp` + `core_attn` is slightly worse than `mlp` alone\n- For this workload, the actual OOM fix was `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True`\n  (memory fragmentation, not capacity). See @skills\u002Fnemo-mbridge-perf-memory-tuning\u002FSKILL.md.\n\n## Code Anchors\n\n### Recompute modules enum and selective checkpoint logic\n\n```python\n# 3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_block.py\n# _checkpointed_forward() applies selective recompute based on recompute_modules\n```\n\n### Recompute config validation\n\n```python\n# 3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n# Validates recompute_granularity, recompute_method, recompute_num_layers\n```\n\n### Llama3 recipe defaults\n\n```99:103:src\u002Fmegatron\u002Fbridge\u002Frecipes\u002Fllama\u002Fllama3.py\n    # Memory saving (recompute & offloading)\n    cfg.model.recompute_granularity = None\n    cfg.model.recompute_modules = None\n    cfg.model.fine_grained_activation_offloading = False\n    cfg.model.offload_modules = None\n```\n\n### Full recompute + CUDA graph assertion (MCore)\n\n```2001:2005:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n            if self.recompute_granularity:\n                if self.recompute_granularity != \"selective\":\n                    assert self.cuda_graph_scope == [\n                        CudaGraphScope.full_iteration\n                    ], \"full recompute is only supported with full iteration CUDA graph.\"\n```\n\n### CPU offloading PP incompatibility (MCore)\n\n```1303:1306:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n        if self.cpu_offloading and self.pipeline_model_parallel_size > 1:\n            raise ValueError(\n                \"Currently there is no support for Pipeline parallelism with CPU offloading\"\n            )\n```\n\n## Failure Diagnosis\n\n| Symptom | Cause | Confirm | Fix |\n|---|---|---|---|\n| >15% GPU utilization drop | mlp recompute on large FFN | check `recompute_modules` includes `mlp` | check `expandable_segments:True` is set; consider reducing MBS |\n| Still OOM after adding layernorm | layernorm activations are too small | compare peak memory before\u002Fafter | add mlp recompute or check `expandable_segments:True` |\n| `AssertionError: full recompute is only supported with full iteration CUDA graph` | layer-level recompute (`recompute_granularity=full` + `recompute_num_layers`) with TE-scoped graphs. FP8 CS configs default to `cuda_graph_impl=transformer_engine`, `scope=mlp`. | check `cuda_graph_impl` and `cuda_graph_scope` | use submodule recompute (`selective` + `recompute_modules`), or `cuda_graph_impl=none`, or `local` + `full_iteration` |\n| ValueError: PP + CPU offloading | `cpu_offloading=True` with `pipeline_model_parallel_size > 1` | check PP config | disable CPU offloading or set PP=1 |\n| mlp+core_attn worse than mlp alone | double recompute overhead | compare Exp 1 vs Exp 2 | use mlp alone |\n\n## Known Limitations\n\n- Per-module memory savings vary significantly by model architecture and hidden\n  dimension\n- No automatic module selection — users must choose which modules to recompute\n- `layernorm` recompute is almost never worth it as a standalone fix\n- CPU offloading (the zero-compute-cost alternative) is blocked when PP > 1\n\n## Verification\n\n```bash\nuv run python -m pytest \\\n  tests\u002Funit_tests\u002Ftraining\u002Ftest_config.py -k \"recompute\" -q\n```\n\nSuccess criteria:\n- Unit tests pass for recompute config validation\n- No assertion errors from config validation\n",{"name":5,"license":15,"version":24,"category":25,"description":7,"when_to_use":26,"related_skills":27},"1.0.0","development-code","Reducing GPU memory via activation recompute, or investigating a commit that changed recompute settings and caused OOM or a regression; 'recompute_granularity', 'recompute_num_layers', 'recompute_modules', 'recompute_method', 'selective recompute', 'full recompute', 'activation memory OOM'.",[28],"nemo-mbridge-perf-memory-tuning","main","d591030ef9fb1bbcebed3454aa5c2dcb8d608f69","skills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive","https:\u002F\u002Fai-agent.yyc3.vip\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-13 22:26:14",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add YYC-Cube\u002FYYC3-AI-Agent-Archive --skill nemo-mbridge-perf-activation-recompute",{"tool":43,"command":44},"bunx","bunx skills add YYC-Cube\u002FYYC3-AI-Agent-Archive --skill nemo-mbridge-perf-activation-recompute",{"tool":46,"command":47},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-AI-Agent-Archive --skill nemo-mbridge-perf-activation-recompute","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute\u002FSKILL.md",true,[51,57,61,65,69],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"BENCHMARK.md","REFERENCE","参考文档",4404,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute\u002FBENCHMARK.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"card.yaml",7920,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute\u002Fcard.yaml",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"evals\u002Fevals.json",1720,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute\u002Fevals\u002Fevals.json",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"skill-card.md",3749,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute\u002Fskill-card.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"skill.oms.sig","OTHER","其他",4833,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute\u002Fskill.oms.sig",[76,84,91,98,105,113],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7BTB92RE8MT5YE706QBNDTQ","yingmi-skill","当用户需要查询基金、策略、公告、财经资讯，做资产配置、组合诊断、风险回测、现金流分析，或生成图表、PDF 时，优先使用本 Skill 获取真实数据与可执行能力。","MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fyingmi-skill\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7BT7ZYR091HPJYEFNWVTEJJ","web-access","所有联网操作必须通过此 skill 处理，包括：搜索、网页抓取、登录后操作、网络交互等。","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fweb-access\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7BT4NKS0DNP8A53M1BGGZR2","tencentmap-map-assistant","腾讯位置服务·地图助手 Skill，一句自然语言调用腾讯地图全套能力，无需开发者账号、开箱即用。提供 AI 旅游攻略、地点搜索（含评分\u002F人均\u002F营业时间）、关键词提示、路线规划（驾车\u002F步行\u002F公交\u002F骑行）、地址解析与逆解析、行政区划、IP 定位、距离计算、天气查询，并可将行程或多 POI 渲染成网页地图。涉及找地点、规划路线、旅游行程、查天气、坐标转换等出行场景时使用。","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Ftencentmap-map-assistant\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7BSWKV1T5XYYRGV4W4JP88C","skill-scanner","Scan any agent skill for security risks before you install or use it. Powered by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). 100% local static analysis — no file contents or credentials leave your device. Compatible with CodeBuddy, Cursor, Windsurf, Claude Code, OpenClaw and more. Triggers on: 这个 skill 安全吗, skill 安全扫描, 检查 skill 安全, audit skill, scan skill, check skill safety, analyze skill, inspect skill, verify skill, skill security, skill supply chain. Do NOT trigger for general agent usage, full system health checks, project debugging, or normal development.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fskill-scanner\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7BSWGTCFW7F123S4BM4XY6W","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends agent capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M7BSVV4DH8JK2ZMQSCW25VCD","shader-dev","Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fshader-dev\u002FSKILL.md",[],[]]