[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CSKJMJP55AQ29JEJK8ATWX":3,"skill-same:01M7CSKJMJP55AQ29JEJK8ATWX":72},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7CSKJMJP55AQ29JEJK8ATWX","nemo-mbridge-perf-cpu-offloading",null,"Validate and use CPU offloading in Megatron Bridge, including layer-level activation offloading and fractional optimizer state offloading with HybridDeviceOptimizer.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fnemo-mbridge-perf-cpu-offloading\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nemo-mbridge-perf-cpu-offloading\ndescription: Validate and use CPU offloading in Megatron Bridge, including layer-level activation offloading and fractional optimizer state offloading with HybridDeviceOptimizer.\nlicense: Apache-2.0\nwhen_to_use: Enabling CPU offload to reduce GPU memory, or investigating a commit that changed CPU offloading config and caused OOM or a crash; 'cpu_offloading', 'optimizer_cpu_offload', 'optimizer_offload_fraction', 'HybridDeviceOptimizer', 'move optimizer to CPU'.\n---\n\n# CPU Offloading\n\n## References\n\n- Stable docs: @docs\u002Ftraining\u002Fcpu-offloading.md\n- Structured metadata: @skills\u002Fnemo-mbridge-perf-cpu-offloading\u002Fcard.yaml\n\n## What It Is\n\nTwo independent mechanisms to move data from GPU to CPU memory:\n\n| Mechanism | Config namespace | What gets offloaded | PP restriction |\n|---|---|---|---|\n| Activation offloading | `model.cpu_offloading*` | Activations (and optionally weights) per transformer layer | PP must be 1 |\n| Optimizer offloading | `optimizer.optimizer_cpu_offload` | Adam optimizer states (momentum + variance) via `HybridDeviceOptimizer` | None |\n\n## Quick Decision\n\n| Situation | Recommendation |\n|---|---|\n| Large MoE model (30B+), needs PP > 1 | Optimizer offloading — activation offloading is blocked by PP=1 |\n| Small\u002Fmedium model, PP=1 fits, activation memory dominates | Activation offloading |\n| Want tunable memory-speed tradeoff | Optimizer offloading with fractional `optimizer_offload_fraction` |\n| Throughput is top priority | Don't enable — offloading always adds overhead |\n| CUDA graphs are needed | Only optimizer offloading — activation offloading is incompatible |\n| Memory pressure is moderate | Optimizer offload at 25–50% fraction for best efficiency |\n\n## Enablement\n\n### Optimizer CPU offloading (recommended for large models)\n\n```python\ncfg.optimizer.optimizer_cpu_offload = True\ncfg.optimizer.optimizer_offload_fraction = 1.0\ncfg.optimizer.overlap_cpu_optimizer_d2h_h2d = True\n```\n\nCLI overrides:\n\n```bash\noptimizer.optimizer_cpu_offload=True \\\noptimizer.optimizer_offload_fraction=0.5 \\\noptimizer.overlap_cpu_optimizer_d2h_h2d=True\n```\n\n### Activation CPU offloading (small\u002Fmedium models only)\n\n```python\ncfg.model.cpu_offloading = True\ncfg.model.cpu_offloading_num_layers = 16\ncfg.model.cpu_offloading_activations = True\ncfg.model.cpu_offloading_weights = False\n\ncfg.model.pipeline_model_parallel_size = 1\ncfg.model.recompute_granularity = None\ncfg.model.cuda_graph_impl = \"none\"\n```\n\n## Config Parameter Reference\n\n### Optimizer offloading\n\n| Parameter | Default | Description |\n|-----------|---------|-------------|\n| `optimizer_cpu_offload` | `False` | Master switch |\n| `optimizer_offload_fraction` | `0.0` | Fraction of optimizer states on CPU (0.0–1.0) |\n| `overlap_cpu_optimizer_d2h_h2d` | `False` | Overlap GPU↔CPU transfers with compute |\n| `use_torch_optimizer_for_cpu_offload` | `False` | Use `torch.optim` instead of fused optimizer for CPU portion |\n\n### Activation offloading\n\n| Parameter | Default | Description |\n|-----------|---------|-------------|\n| `cpu_offloading` | `False` | Master switch |\n| `cpu_offloading_num_layers` | `0` | Number of transformer layers to offload (0 to num_layers-1) |\n| `cpu_offloading_activations` | `True` | Offload activations |\n| `cpu_offloading_weights` | `False` | Offload weights |\n| `cpu_offloading_double_buffering` | `False` | Double-buffer across layers while reloading |\n\n## Compatibility And Constraints\n\n### Activation offloading\n\n- `pipeline_model_parallel_size` must be 1\n- `recompute_granularity` must be `None`\n- Cannot combine with `fine_grained_activation_offloading`\n- Cannot combine with CUDA graphs\n- `cpu_offloading_num_layers` must be in `[0, num_layers-1)`\n\n### Optimizer offloading\n\n- Requires `use_distributed_optimizer = True` (default in most recipes)\n- No PP, recompute, or CUDA graph restrictions\n- `optimizer_offload_fraction` must be in `[0.0, 1.0]`\n\n### Practical: large MoE models\n\nActivation offloading is blocked for Qwen3-30B-A3B and similar large MoE\nmodels. The PP=1 constraint means each GPU holds all 48 layers; model\nweights + optimizer states alone (~70 GB) exceed H100 80 GB capacity.\n\n## Minimal Runnable Command\n\n```bash\nuv run python scripts\u002Ftraining\u002Frun_recipe.py \\\n  --recipe qwen3_30b_a3b_pretrain_config \\\n  optimizer.optimizer_cpu_offload=True \\\n  optimizer.optimizer_offload_fraction=0.5 \\\n  train.train_iters=20 \\\n  train.global_batch_size=8 \\\n  train.micro_batch_size=1\n```\n\n## Verification\n\n### Unit tests\n\n```bash\nuv run python -m pytest \\\n  tests\u002Funit_tests\u002Fmodels\u002Ftest_gpt_full_te_layer_autocast_spec.py -k \"cpu_offload\" \\\n  tests\u002Funit_tests\u002Fpeft\u002Ftest_utils.py -k \"cpu_offload\" -q\n```\n\n### Success criteria\n\n- Config validation passes for the selected offloading mode\n- Training completes without OOM or NCCL errors\n- Loss matches the non-offloaded baseline (max delta \u003C 0.001)\n- Memory usage drops proportionally to offload fraction\n\n## Code Anchors\n\n### MCore activation offload constraints\n\n```1296:1310:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n        if self.cpu_offloading and (\n            self.cpu_offloading_num_layers \u003C 0 or self.cpu_offloading_num_layers >= self.num_layers\n        ):\n            raise ValueError(...)\n\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        if self.cpu_offloading and self.recompute_granularity is not None:\n            raise ValueError(\n                \"CPU offloading does not work when activation recomputation is enabled\"\n            )\n```\n\n### MCore CUDA graph incompatibility\n\n```1943:1944:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n            if self.cpu_offloading:\n                raise ValueError(\"CUDA graphs not supported with CPU offloading.\")\n```\n\n### MCore fine-grained offloading mutual exclusion\n\n```1427:1430:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n        if self.fine_grained_activation_offloading:\n            assert (\n                not self.cpu_offloading\n            ), \"fine_grained_activation_offloading cannot be enabled with cpu_offloading.\"\n```\n\n### MCore HybridDeviceOptimizer instantiation\n\n```480:518:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Foptimizer\u002F__init__.py\n        if config.optimizer_cpu_offload:\n            # ... setup cpu\u002Fgpu optimizer classes ...\n            optimizer = HybridDeviceOptimizer(\n                param_groups,\n                offload_fraction=config.optimizer_offload_fraction,\n                cpu_optimizer_cls=cpu_optimizer_cls,\n                gpu_optimizer_cls=gpu_optimizer_cls,\n                overlap_cpu_optimizer_d2h_h2d=config.overlap_cpu_optimizer_d2h_h2d,\n                pin_cpu_grads=config.pin_cpu_grads,\n                pin_cpu_params=config.pin_cpu_params,\n            )\n```\n\n### Bridge CUDA graph guard\n\n```232:234:src\u002Fmegatron\u002Fbridge\u002Fmodels\u002Fgpt_full_te_layer_autocast_spec.py\n        assert not config.cpu_offloading and config.recompute_granularity is None, \"Cudagraphs not supported\"\n```\n\n### Bridge activation offloading in PEFT\n\n```621:631:src\u002Fmegatron\u002Fbridge\u002Fpeft\u002Futils.py\n        if self.config.cpu_offloading and self.config.cpu_offloading_activations:\n            x.activation_offloading = True\n        x, _ = self.linear_in(x)\n        x = self.activation(x)\n        if self.config.cpu_offloading and self.config.cpu_offloading_activations:\n            x.activation_offloading = True\n        x, _ = self.linear_out(x)\n```\n\n## Failure Diagnosis\n\n| Symptom | Likely Cause | How To Confirm | Fix |\n|---|---|---|---|\n| `Currently there is no support for Pipeline parallelism with CPU offloading` | Activation offload + PP > 1 | Check `pipeline_model_parallel_size` | Set PP=1 or use optimizer offloading |\n| `CPU offloading does not work when activation recomputation is enabled` | Activation offload + recompute | Check `recompute_granularity` | Set `recompute_granularity=null` |\n| `fine_grained_activation_offloading cannot be enabled with cpu_offloading` | Both offloading modes enabled | Check both flags | Use one or the other |\n| `CUDA graphs not supported with CPU offloading` | CUDA graphs + activation offload | Check `cuda_graph_impl` | Set `cuda_graph_impl=\"none\"` |\n| OOM with activation offloading | Model too large for PP=1 | Check allocated memory vs 80 GB | Use optimizer offloading with PP > 1 |\n| Extreme slowdown (>4x) | 100% optimizer offload, CPU Adam bottleneck | Compare iter time at different fractions | Reduce fraction or enable `overlap_cpu_optimizer_d2h_h2d` |\n| OOM at partial optimizer offload | Insufficient offload for this config | Check memory at different fractions | Increase fraction or add PP |\n\n## Known Limitations\n\n- Activation offloading requires PP=1, making it impractical for large models\n  (30B+ MoE) that need pipeline parallelism.\n- Optimizer offloading throughput penalty scales linearly (~1.9x at 25%,\n  ~4.2x at 100% for Qwen3-30B-A3B).\n- D2H\u002FH2D overlap provides only ~7% speedup because CPU Adam compute is\n  the dominant bottleneck.\n- `fine_grained_activation_offloading` is a separate module-level approach\n  that works with PP > 1 but cannot be combined with layer-level\n  `cpu_offloading`.\n","# CPU Offloading\n\n## References\n\n- Stable docs: @docs\u002Ftraining\u002Fcpu-offloading.md\n- Structured metadata: @skills\u002Fnemo-mbridge-perf-cpu-offloading\u002Fcard.yaml\n\n## What It Is\n\nTwo independent mechanisms to move data from GPU to CPU memory:\n\n| Mechanism | Config namespace | What gets offloaded | PP restriction |\n|---|---|---|---|\n| Activation offloading | `model.cpu_offloading*` | Activations (and optionally weights) per transformer layer | PP must be 1 |\n| Optimizer offloading | `optimizer.optimizer_cpu_offload` | Adam optimizer states (momentum + variance) via `HybridDeviceOptimizer` | None |\n\n## Quick Decision\n\n| Situation | Recommendation |\n|---|---|\n| Large MoE model (30B+), needs PP > 1 | Optimizer offloading — activation offloading is blocked by PP=1 |\n| Small\u002Fmedium model, PP=1 fits, activation memory dominates | Activation offloading |\n| Want tunable memory-speed tradeoff | Optimizer offloading with fractional `optimizer_offload_fraction` |\n| Throughput is top priority | Don't enable — offloading always adds overhead |\n| CUDA graphs are needed | Only optimizer offloading — activation offloading is incompatible |\n| Memory pressure is moderate | Optimizer offload at 25–50% fraction for best efficiency |\n\n## Enablement\n\n### Optimizer CPU offloading (recommended for large models)\n\n```python\ncfg.optimizer.optimizer_cpu_offload = True\ncfg.optimizer.optimizer_offload_fraction = 1.0\ncfg.optimizer.overlap_cpu_optimizer_d2h_h2d = True\n```\n\nCLI overrides:\n\n```bash\noptimizer.optimizer_cpu_offload=True \\\noptimizer.optimizer_offload_fraction=0.5 \\\noptimizer.overlap_cpu_optimizer_d2h_h2d=True\n```\n\n### Activation CPU offloading (small\u002Fmedium models only)\n\n```python\ncfg.model.cpu_offloading = True\ncfg.model.cpu_offloading_num_layers = 16\ncfg.model.cpu_offloading_activations = True\ncfg.model.cpu_offloading_weights = False\n\ncfg.model.pipeline_model_parallel_size = 1\ncfg.model.recompute_granularity = None\ncfg.model.cuda_graph_impl = \"none\"\n```\n\n## Config Parameter Reference\n\n### Optimizer offloading\n\n| Parameter | Default | Description |\n|-----------|---------|-------------|\n| `optimizer_cpu_offload` | `False` | Master switch |\n| `optimizer_offload_fraction` | `0.0` | Fraction of optimizer states on CPU (0.0–1.0) |\n| `overlap_cpu_optimizer_d2h_h2d` | `False` | Overlap GPU↔CPU transfers with compute |\n| `use_torch_optimizer_for_cpu_offload` | `False` | Use `torch.optim` instead of fused optimizer for CPU portion |\n\n### Activation offloading\n\n| Parameter | Default | Description |\n|-----------|---------|-------------|\n| `cpu_offloading` | `False` | Master switch |\n| `cpu_offloading_num_layers` | `0` | Number of transformer layers to offload (0 to num_layers-1) |\n| `cpu_offloading_activations` | `True` | Offload activations |\n| `cpu_offloading_weights` | `False` | Offload weights |\n| `cpu_offloading_double_buffering` | `False` | Double-buffer across layers while reloading |\n\n## Compatibility And Constraints\n\n### Activation offloading\n\n- `pipeline_model_parallel_size` must be 1\n- `recompute_granularity` must be `None`\n- Cannot combine with `fine_grained_activation_offloading`\n- Cannot combine with CUDA graphs\n- `cpu_offloading_num_layers` must be in `[0, num_layers-1)`\n\n### Optimizer offloading\n\n- Requires `use_distributed_optimizer = True` (default in most recipes)\n- No PP, recompute, or CUDA graph restrictions\n- `optimizer_offload_fraction` must be in `[0.0, 1.0]`\n\n### Practical: large MoE models\n\nActivation offloading is blocked for Qwen3-30B-A3B and similar large MoE\nmodels. The PP=1 constraint means each GPU holds all 48 layers; model\nweights + optimizer states alone (~70 GB) exceed H100 80 GB capacity.\n\n## Minimal Runnable Command\n\n```bash\nuv run python scripts\u002Ftraining\u002Frun_recipe.py \\\n  --recipe qwen3_30b_a3b_pretrain_config \\\n  optimizer.optimizer_cpu_offload=True \\\n  optimizer.optimizer_offload_fraction=0.5 \\\n  train.train_iters=20 \\\n  train.global_batch_size=8 \\\n  train.micro_batch_size=1\n```\n\n## Verification\n\n### Unit tests\n\n```bash\nuv run python -m pytest \\\n  tests\u002Funit_tests\u002Fmodels\u002Ftest_gpt_full_te_layer_autocast_spec.py -k \"cpu_offload\" \\\n  tests\u002Funit_tests\u002Fpeft\u002Ftest_utils.py -k \"cpu_offload\" -q\n```\n\n### Success criteria\n\n- Config validation passes for the selected offloading mode\n- Training completes without OOM or NCCL errors\n- Loss matches the non-offloaded baseline (max delta \u003C 0.001)\n- Memory usage drops proportionally to offload fraction\n\n## Code Anchors\n\n### MCore activation offload constraints\n\n```1296:1310:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n        if self.cpu_offloading and (\n            self.cpu_offloading_num_layers \u003C 0 or self.cpu_offloading_num_layers >= self.num_layers\n        ):\n            raise ValueError(...)\n\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        if self.cpu_offloading and self.recompute_granularity is not None:\n            raise ValueError(\n                \"CPU offloading does not work when activation recomputation is enabled\"\n            )\n```\n\n### MCore CUDA graph incompatibility\n\n```1943:1944:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n            if self.cpu_offloading:\n                raise ValueError(\"CUDA graphs not supported with CPU offloading.\")\n```\n\n### MCore fine-grained offloading mutual exclusion\n\n```1427:1430:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n        if self.fine_grained_activation_offloading:\n            assert (\n                not self.cpu_offloading\n            ), \"fine_grained_activation_offloading cannot be enabled with cpu_offloading.\"\n```\n\n### MCore HybridDeviceOptimizer instantiation\n\n```480:518:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Foptimizer\u002F__init__.py\n        if config.optimizer_cpu_offload:\n            # ... setup cpu\u002Fgpu optimizer classes ...\n            optimizer = HybridDeviceOptimizer(\n                param_groups,\n                offload_fraction=config.optimizer_offload_fraction,\n                cpu_optimizer_cls=cpu_optimizer_cls,\n                gpu_optimizer_cls=gpu_optimizer_cls,\n                overlap_cpu_optimizer_d2h_h2d=config.overlap_cpu_optimizer_d2h_h2d,\n                pin_cpu_grads=config.pin_cpu_grads,\n                pin_cpu_params=config.pin_cpu_params,\n            )\n```\n\n### Bridge CUDA graph guard\n\n```232:234:src\u002Fmegatron\u002Fbridge\u002Fmodels\u002Fgpt_full_te_layer_autocast_spec.py\n        assert not config.cpu_offloading and config.recompute_granularity is None, \"Cudagraphs not supported\"\n```\n\n### Bridge activation offloading in PEFT\n\n```621:631:src\u002Fmegatron\u002Fbridge\u002Fpeft\u002Futils.py\n        if self.config.cpu_offloading and self.config.cpu_offloading_activations:\n            x.activation_offloading = True\n        x, _ = self.linear_in(x)\n        x = self.activation(x)\n        if self.config.cpu_offloading and self.config.cpu_offloading_activations:\n            x.activation_offloading = True\n        x, _ = self.linear_out(x)\n```\n\n## Failure Diagnosis\n\n| Symptom | Likely Cause | How To Confirm | Fix |\n|---|---|---|---|\n| `Currently there is no support for Pipeline parallelism with CPU offloading` | Activation offload + PP > 1 | Check `pipeline_model_parallel_size` | Set PP=1 or use optimizer offloading |\n| `CPU offloading does not work when activation recomputation is enabled` | Activation offload + recompute | Check `recompute_granularity` | Set `recompute_granularity=null` |\n| `fine_grained_activation_offloading cannot be enabled with cpu_offloading` | Both offloading modes enabled | Check both flags | Use one or the other |\n| `CUDA graphs not supported with CPU offloading` | CUDA graphs + activation offload | Check `cuda_graph_impl` | Set `cuda_graph_impl=\"none\"` |\n| OOM with activation offloading | Model too large for PP=1 | Check allocated memory vs 80 GB | Use optimizer offloading with PP > 1 |\n| Extreme slowdown (>4x) | 100% optimizer offload, CPU Adam bottleneck | Compare iter time at different fractions | Reduce fraction or enable `overlap_cpu_optimizer_d2h_h2d` |\n| OOM at partial optimizer offload | Insufficient offload for this config | Check memory at different fractions | Increase fraction or add PP |\n\n## Known Limitations\n\n- Activation offloading requires PP=1, making it impractical for large models\n  (30B+ MoE) that need pipeline parallelism.\n- Optimizer offloading throughput penalty scales linearly (~1.9x at 25%,\n  ~4.2x at 100% for Qwen3-30B-A3B).\n- D2H\u002FH2D overlap provides only ~7% speedup because CPU Adam compute is\n  the dominant bottleneck.\n- `fine_grained_activation_offloading` is a separate module-level approach\n  that works with PP > 1 but cannot be combined with layer-level\n  `cpu_offloading`.\n",{"name":5,"license":15,"description":7,"when_to_use":24},"Enabling CPU offload to reduce GPU memory, or investigating a commit that changed CPU offloading config and caused OOM or a crash; 'cpu_offloading', 'optimizer_cpu_offload', 'optimizer_offload_fraction', 'HybridDeviceOptimizer', 'move optimizer to CPU'.","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fnemo-mbridge-perf-cpu-offloading",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill nemo-mbridge-perf-cpu-offloading",{"tool":40,"command":41},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill nemo-mbridge-perf-cpu-offloading",{"tool":43,"command":44},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill nemo-mbridge-perf-cpu-offloading","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fnemo-mbridge-perf-cpu-offloading\u002FSKILL.md",true,[48,54,58,62,66],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"BENCHMARK.md","REFERENCE","参考文档",4307,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fnemo-mbridge-perf-cpu-offloading\u002FBENCHMARK.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"card.yaml",8241,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fnemo-mbridge-perf-cpu-offloading\u002Fcard.yaml",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"evals\u002Fevals.json",1475,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fnemo-mbridge-perf-cpu-offloading\u002Fevals\u002Fevals.json",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"skill-card.md",3916,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fnemo-mbridge-perf-cpu-offloading\u002Fskill-card.md",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"skill.oms.sig","OTHER","其他",4821,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fnemo-mbridge-perf-cpu-offloading\u002Fskill.oms.sig",[73,81,88,95,102,109],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]