[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FCR7MMNH8C3S6V6S1JJPZV":3,"skill-same:01M7FCR7MMNH8C3S6V6S1JJPZV":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":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M7FCR7MMNH8C3S6V6S1JJPZV","evaluating-cosmos-policy",null,"Evaluates NVIDIA Cosmos Policy on LIBERO and RoboCasa simulation environments. Use when setting up cosmos-policy for robot manipulation evaluation, running headless GPU evaluations with EGL rendering, or profiling inference latency on cluster or local GPU machines.","CZX-LBJ\u002Fdeepseek-science","CZX-LBJ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F204594689?v=4","01M7FC59WQ9PFXT04MKGJDCFFT","czx","01M7FC59XB2GW0BKWN9JTDBQS7",1,"MIT","https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Fai-research-skills\u002F18-multimodal\u002Fcosmos-policy\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: evaluating-cosmos-policy\ndescription: Evaluates NVIDIA Cosmos Policy on LIBERO and RoboCasa simulation environments. Use when setting up cosmos-policy for robot manipulation evaluation, running headless GPU evaluations with EGL rendering, or profiling inference latency on cluster or local GPU machines.\nversion: 1.0.0\nauthor: Orchestra Research\nlicense: MIT\ntags: [Cosmos Policy, VLA, Robotics, LIBERO, RoboCasa, Simulation, Evaluation, Profiling, EGL Rendering]\ndependencies: [torch>=2.1.0, mujoco>=3.0.0, robosuite>=1.4.0, \"robocasa @ git+https:\u002F\u002Fgithub.com\u002Fmoojink\u002Frobocasa-cosmos-policy.git\", transformers>=4.40.0, \"cosmos-policy @ git+https:\u002F\u002Fgithub.com\u002FNVlabs\u002Fcosmos-policy.git\"]\n---\n\n# Cosmos Policy Evaluation\n\nEvaluation workflows for NVIDIA Cosmos Policy on LIBERO and RoboCasa simulation environments from the public `cosmos-policy` repository. Covers blank-machine setup, headless GPU evaluation, and inference profiling.\n\n## Quick start\n\nRun a minimal LIBERO evaluation using the official public eval module:\n\n```bash\nuv run --extra cu128 --group libero --python 3.10 \\\n  python -m cosmos_policy.experiments.robot.libero.run_libero_eval \\\n    --config cosmos_predict2_2b_480p_libero__inference_only \\\n    --ckpt_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B \\\n    --config_file cosmos_policy\u002Fconfig\u002Fconfig.py \\\n    --use_wrist_image True \\\n    --use_proprio True \\\n    --normalize_proprio True \\\n    --unnormalize_actions True \\\n    --dataset_stats_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_dataset_statistics.json \\\n    --t5_text_embeddings_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_t5_embeddings.pkl \\\n    --trained_with_image_aug True \\\n    --chunk_size 16 \\\n    --num_open_loop_steps 16 \\\n    --task_suite_name libero_10 \\\n    --num_trials_per_task 1 \\\n    --local_log_dir cosmos_policy\u002Fexperiments\u002Frobot\u002Flibero\u002Flogs\u002F \\\n    --seed 195 \\\n    --randomize_seed False \\\n    --deterministic True \\\n    --run_id_note smoke \\\n    --ar_future_prediction False \\\n    --ar_value_prediction False \\\n    --use_jpeg_compression True \\\n    --flip_images True \\\n    --num_denoising_steps_action 5 \\\n    --num_denoising_steps_future_state 1 \\\n    --num_denoising_steps_value 1 \\\n    --data_collection False\n```\n\n## Core concepts\n\n**What Cosmos Policy is**: NVIDIA Cosmos Policy is a vision-language-action (VLA) model that uses Cosmos Tokenizer to encode visual observations into discrete tokens, then predicts robot actions conditioned on language instructions and visual context.\n\n**Key architecture choices**:\n\n| Component | Design |\n|-----------|--------|\n| Visual encoder | Cosmos Tokenizer (discrete tokens) |\n| Language conditioning | Cross-attention to language embeddings |\n| Action prediction | Autoregressive action token generation |\n\n**Public command surface**: The supported evaluation entrypoints are `cosmos_policy.experiments.robot.libero.run_libero_eval` and `cosmos_policy.experiments.robot.robocasa.run_robocasa_eval`. Keep reproduction notes anchored to these public modules and their documented flags.\n\n## Compute requirements\n\n| Task | GPU | VRAM | Typical wall time |\n|------|-----|------|-------------------|\n| LIBERO smoke eval (1 trial) | 1x A40\u002FA100 | ~16 GB | 5-10 min |\n| LIBERO full eval (50 trials) | 1x A40\u002FA100 | ~16 GB | 2-4 hours |\n| RoboCasa single-task (2 trials) | 1x A40\u002FA100 | ~18 GB | 10-15 min |\n| RoboCasa all-tasks | 1x A40\u002FA100 | ~18 GB | 4-8 hours |\n\n## When to use vs alternatives\n\n**Use this skill when:**\n- Evaluating NVIDIA Cosmos Policy on LIBERO or RoboCasa benchmarks\n- Profiling inference latency and throughput for Cosmos Policy\n- Setting up headless EGL rendering for robot simulation on GPU clusters\n\n**Use alternatives when:**\n- Training or fine-tuning Cosmos Policy from scratch (use official Cosmos training docs)\n- Working with OpenVLA-based policies (use `fine-tuning-openvla-oft`)\n- Working with Physical Intelligence pi0 models (use `fine-tuning-serving-openpi`)\n- Running real-robot evaluation rather than simulation\n\n---\n\n## Workflow 1: LIBERO evaluation\n\nCopy this checklist and track progress:\n\n```text\nLIBERO Eval Progress:\n- [ ] Step 1: Install environment and dependencies\n- [ ] Step 2: Configure headless EGL rendering\n- [ ] Step 3: Run smoke evaluation\n- [ ] Step 4: Validate outputs and parse results\n- [ ] Step 5: Run full benchmark if smoke passes\n```\n\n**Step 1: Install environment**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FNVlabs\u002Fcosmos-policy.git\ncd cosmos-policy\n# Follow SETUP.md to build and enter the supported Docker container.\n# Then, inside the container:\nuv sync --extra cu128 --group libero --python 3.10\n```\n\n**Step 2: Configure headless rendering**\n\n```bash\nexport CUDA_VISIBLE_DEVICES=0\nexport MUJOCO_EGL_DEVICE_ID=0\nexport MUJOCO_GL=egl\nexport PYOPENGL_PLATFORM=egl\n```\n\n**Step 3: Run smoke evaluation**\n\n```bash\nuv run --extra cu128 --group libero --python 3.10 \\\n  python -m cosmos_policy.experiments.robot.libero.run_libero_eval \\\n    --config cosmos_predict2_2b_480p_libero__inference_only \\\n    --ckpt_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B \\\n    --config_file cosmos_policy\u002Fconfig\u002Fconfig.py \\\n    --use_wrist_image True \\\n    --use_proprio True \\\n    --normalize_proprio True \\\n    --unnormalize_actions True \\\n    --dataset_stats_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_dataset_statistics.json \\\n    --t5_text_embeddings_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_t5_embeddings.pkl \\\n    --trained_with_image_aug True \\\n    --chunk_size 16 \\\n    --num_open_loop_steps 16 \\\n    --task_suite_name libero_10 \\\n    --num_trials_per_task 1 \\\n    --local_log_dir cosmos_policy\u002Fexperiments\u002Frobot\u002Flibero\u002Flogs\u002F \\\n    --seed 195 \\\n    --randomize_seed False \\\n    --deterministic True \\\n    --run_id_note smoke \\\n    --ar_future_prediction False \\\n    --ar_value_prediction False \\\n    --use_jpeg_compression True \\\n    --flip_images True \\\n    --num_denoising_steps_action 5 \\\n    --num_denoising_steps_future_state 1 \\\n    --num_denoising_steps_value 1 \\\n    --data_collection False\n```\n\n**Step 4: Validate and parse results**\n\n```python\nimport json\nimport glob\n\n# Find latest evaluation result from the official log directory\nlog_files = sorted(glob.glob(\"cosmos_policy\u002Fexperiments\u002Frobot\u002Flibero\u002Flogs\u002F**\u002F*.json\", recursive=True))\nwith open(log_files[-1]) as f:\n    results = json.load(f)\n\nprint(results)\n```\n\n**Step 5: Scale up**\n\nRun across all four LIBERO task suites with 50 trials:\n\n```bash\nfor suite in libero_spatial libero_object libero_goal libero_10; do\n  uv run --extra cu128 --group libero --python 3.10 \\\n    python -m cosmos_policy.experiments.robot.libero.run_libero_eval \\\n      --config cosmos_predict2_2b_480p_libero__inference_only \\\n      --ckpt_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B \\\n      --config_file cosmos_policy\u002Fconfig\u002Fconfig.py \\\n      --use_wrist_image True \\\n      --use_proprio True \\\n      --normalize_proprio True \\\n      --unnormalize_actions True \\\n      --dataset_stats_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_dataset_statistics.json \\\n      --t5_text_embeddings_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_t5_embeddings.pkl \\\n      --trained_with_image_aug True \\\n      --chunk_size 16 \\\n      --num_open_loop_steps 16 \\\n      --task_suite_name \"$suite\" \\\n      --num_trials_per_task 50 \\\n      --local_log_dir cosmos_policy\u002Fexperiments\u002Frobot\u002Flibero\u002Flogs\u002F \\\n      --seed 195 \\\n      --randomize_seed False \\\n      --deterministic True \\\n      --run_id_note \"suite_${suite}\" \\\n      --ar_future_prediction False \\\n      --ar_value_prediction False \\\n      --use_jpeg_compression True \\\n      --flip_images True \\\n      --num_denoising_steps_action 5 \\\n      --num_denoising_steps_future_state 1 \\\n      --num_denoising_steps_value 1 \\\n      --data_collection False\ndone\n```\n\n---\n\n## Workflow 2: RoboCasa evaluation\n\nCopy this checklist and track progress:\n\n```text\nRoboCasa Eval Progress:\n- [ ] Step 1: Install RoboCasa assets and verify macros\n- [ ] Step 2: Run single-task smoke evaluation\n- [ ] Step 3: Validate outputs\n- [ ] Step 4: Expand to multi-task runs\n```\n\n**Step 1: Install RoboCasa**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fmoojink\u002Frobocasa-cosmos-policy.git\nuv pip install -e robocasa-cosmos-policy\npython -m robocasa.scripts.setup_macros\npython -m robocasa.scripts.download_kitchen_assets\n```\n\nThis fork installs the `robocasa` Python package expected by Cosmos Policy while preserving the patched environment changes used in the public RoboCasa eval path. Verify `macros_private.py` exists and paths are correct.\n\n**Step 2: Single-task smoke evaluation**\n\n```bash\nuv run --extra cu128 --group robocasa --python 3.10 \\\n  python -m cosmos_policy.experiments.robot.robocasa.run_robocasa_eval \\\n    --config cosmos_predict2_2b_480p_robocasa_50_demos_per_task__inference \\\n    --ckpt_path nvidia\u002FCosmos-Policy-RoboCasa-Predict2-2B \\\n    --config_file cosmos_policy\u002Fconfig\u002Fconfig.py \\\n    --use_wrist_image True \\\n    --num_wrist_images 1 \\\n    --use_proprio True \\\n    --normalize_proprio True \\\n    --unnormalize_actions True \\\n    --dataset_stats_path nvidia\u002FCosmos-Policy-RoboCasa-Predict2-2B\u002Frobocasa_dataset_statistics.json \\\n    --t5_text_embeddings_path nvidia\u002FCosmos-Policy-RoboCasa-Predict2-2B\u002Frobocasa_t5_embeddings.pkl \\\n    --trained_with_image_aug True \\\n    --chunk_size 32 \\\n    --num_open_loop_steps 16 \\\n    --task_name TurnOffMicrowave \\\n    --obj_instance_split A \\\n    --num_trials_per_task 2 \\\n    --local_log_dir cosmos_policy\u002Fexperiments\u002Frobot\u002Frobocasa\u002Flogs\u002F \\\n    --seed 195 \\\n    --randomize_seed False \\\n    --deterministic True \\\n    --run_id_note smoke \\\n    --use_variance_scale False \\\n    --use_jpeg_compression True \\\n    --flip_images True \\\n    --num_denoising_steps_action 5 \\\n    --num_denoising_steps_future_state 1 \\\n    --num_denoising_steps_value 1 \\\n    --data_collection False\n```\n\n**Step 3: Validate outputs**\n\n- Confirm the eval log prints the expected task name, object split, and checkpoint\u002Fconfig values.\n- Inspect the final `Success rate:` line in the log.\n\n**Step 4: Expand scope**\n\nIncrease `--num_trials_per_task` or add more tasks. Keep `--obj_instance_split` fixed across repeated runs for comparability.\n\n---\n\n## Workflow 3: Blank-machine cluster launch\n\n```text\nCluster Launch Progress:\n- [ ] Step 1: Clone the public repo and enter the supported runtime\n- [ ] Step 2: Sync the benchmark-specific dependency group\n- [ ] Step 3: Export rendering and cache environment variables before eval\n```\n\n**Step 1: Clone and enter the supported runtime**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FNVlabs\u002Fcosmos-policy.git\ncd cosmos-policy\n# Follow SETUP.md, start the Docker container, and enter it before continuing.\n```\n\n**Step 2: Sync dependencies**\n\n```bash\nuv sync --extra cu128 --group libero --python 3.10\n# or, for RoboCasa:\nuv sync --extra cu128 --group robocasa --python 3.10\n# then install the Cosmos-compatible RoboCasa fork:\ngit clone https:\u002F\u002Fgithub.com\u002Fmoojink\u002Frobocasa-cosmos-policy.git\nuv pip install -e robocasa-cosmos-policy\n```\n\n**Step 3: Export runtime environment**\n\n```bash\nexport CUDA_VISIBLE_DEVICES=0\nexport MUJOCO_EGL_DEVICE_ID=0\nexport MUJOCO_GL=egl\nexport PYOPENGL_PLATFORM=egl\nexport HF_HOME=${HF_HOME:-$HOME\u002F.cache\u002Fhuggingface}\nexport TRANSFORMERS_CACHE=${TRANSFORMERS_CACHE:-$HF_HOME}\n```\n\n---\n\n## Expected performance benchmarks\n\nReference values from official evaluation (tied to specific setup and seeds):\n\n| Task Suite | Success Rate | Notes |\n|-----------|-------------|-------|\n| LIBERO-Spatial | 98.1% | Official LIBERO spatial result |\n| LIBERO-Object | 100.0% | Official LIBERO object result |\n| LIBERO-Goal | 98.2% | Official LIBERO goal result |\n| LIBERO-Long | 97.6% | Official LIBERO long-horizon result |\n| LIBERO-Average | 98.5% | Official average across LIBERO suites |\n| RoboCasa | 67.1% | Official RoboCasa average result |\n\n**Reproduction note**: Published success rates still depend on checkpoint choice, task suite, seeds, and simulator setup. Record the exact command and environment alongside any reported number.\n\n---\n\n## Non-negotiable rules\n\n- **EGL alignment**: Always set `CUDA_VISIBLE_DEVICES`, `MUJOCO_EGL_DEVICE_ID`, `MUJOCO_GL=egl`, and `PYOPENGL_PLATFORM=egl` together on headless GPU nodes.\n- **Official runtime first**: If host-Python installs hit binary compatibility issues, fall back to the supported container workflow from `SETUP.md` before debugging package internals.\n- **Cache consistency**: Use the same cache directory across setup and eval so Hugging Face and dependency caches are reused.\n- **Run comparability**: Keep task name, object split, seed, and trial count fixed across repeated runs.\n\n---\n\n## Common issues\n\n**Issue: binary compatibility or loader failures on host Python**\n\nFix: rerun inside the official container\u002Fruntime from `SETUP.md`. Do not assume host-package rebuilds will match the public release environment.\n\n**Issue: LIBERO prompts for config path in a non-interactive shell**\n\nFix: pre-create `LIBERO_CONFIG_PATH\u002Fconfig.yaml`:\n\n```python\nimport os, yaml\n\nconfig_dir = os.path.expanduser(\"~\u002F.libero\")\nos.makedirs(config_dir, exist_ok=True)\nwith open(os.path.join(config_dir, \"config.yaml\"), \"w\") as f:\n    yaml.dump({\"benchmark_root\": \"\u002Fpath\u002Fto\u002Flibero\u002Fdatasets\"}, f)\n```\n\n**Issue: EGL initialization or shutdown noise**\n\nFix: align EGL environment variables first. Treat teardown-only `EGL_NOT_INITIALIZED` warnings as low-signal unless the job exits non-zero.\n\n**Issue: Kitchen object sampling NaNs or asset lookup failures in RoboCasa**\n\nFix: rerun asset setup and confirm the patched robocasa install is intact:\n\n```bash\npython -m robocasa.scripts.download_kitchen_assets\npython -c \"import robocasa; print(robocasa.__file__)\"\n```\n\n**Issue: MuJoCo rendering mismatch**\n\nFix: verify GPU device alignment:\n\n```python\nimport os\ncuda_dev = os.environ.get(\"CUDA_VISIBLE_DEVICES\", \"not set\")\negl_dev = os.environ.get(\"MUJOCO_EGL_DEVICE_ID\", \"not set\")\nassert cuda_dev == egl_dev, f\"GPU mismatch: CUDA={cuda_dev}, EGL={egl_dev}\"\nprint(f\"Rendering on GPU {cuda_dev}\")\n```\n\n---\n\n## Advanced topics\n\n**LIBERO command matrix**: See [references\u002Flibero-commands.md](references\u002Flibero-commands.md)\n**RoboCasa command matrix**: See [references\u002Frobocasa-commands.md](references\u002Frobocasa-commands.md)\n\n## Resources\n\n- Cosmos Policy repository: https:\u002F\u002Fgithub.com\u002FNVlabs\u002Fcosmos-policy\n- LIBERO benchmark: https:\u002F\u002Fgithub.com\u002FLifelong-Robot-Learning\u002FLIBERO\n- Cosmos-compatible RoboCasa fork: https:\u002F\u002Fgithub.com\u002Fmoojink\u002Frobocasa-cosmos-policy\n- Upstream RoboCasa project: https:\u002F\u002Fgithub.com\u002Frobocasa\u002Frobocasa\n- MuJoCo documentation: https:\u002F\u002Fmujoco.readthedocs.io\u002F\n","# Cosmos Policy Evaluation\n\nEvaluation workflows for NVIDIA Cosmos Policy on LIBERO and RoboCasa simulation environments from the public `cosmos-policy` repository. Covers blank-machine setup, headless GPU evaluation, and inference profiling.\n\n## Quick start\n\nRun a minimal LIBERO evaluation using the official public eval module:\n\n```bash\nuv run --extra cu128 --group libero --python 3.10 \\\n  python -m cosmos_policy.experiments.robot.libero.run_libero_eval \\\n    --config cosmos_predict2_2b_480p_libero__inference_only \\\n    --ckpt_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B \\\n    --config_file cosmos_policy\u002Fconfig\u002Fconfig.py \\\n    --use_wrist_image True \\\n    --use_proprio True \\\n    --normalize_proprio True \\\n    --unnormalize_actions True \\\n    --dataset_stats_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_dataset_statistics.json \\\n    --t5_text_embeddings_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_t5_embeddings.pkl \\\n    --trained_with_image_aug True \\\n    --chunk_size 16 \\\n    --num_open_loop_steps 16 \\\n    --task_suite_name libero_10 \\\n    --num_trials_per_task 1 \\\n    --local_log_dir cosmos_policy\u002Fexperiments\u002Frobot\u002Flibero\u002Flogs\u002F \\\n    --seed 195 \\\n    --randomize_seed False \\\n    --deterministic True \\\n    --run_id_note smoke \\\n    --ar_future_prediction False \\\n    --ar_value_prediction False \\\n    --use_jpeg_compression True \\\n    --flip_images True \\\n    --num_denoising_steps_action 5 \\\n    --num_denoising_steps_future_state 1 \\\n    --num_denoising_steps_value 1 \\\n    --data_collection False\n```\n\n## Core concepts\n\n**What Cosmos Policy is**: NVIDIA Cosmos Policy is a vision-language-action (VLA) model that uses Cosmos Tokenizer to encode visual observations into discrete tokens, then predicts robot actions conditioned on language instructions and visual context.\n\n**Key architecture choices**:\n\n| Component | Design |\n|-----------|--------|\n| Visual encoder | Cosmos Tokenizer (discrete tokens) |\n| Language conditioning | Cross-attention to language embeddings |\n| Action prediction | Autoregressive action token generation |\n\n**Public command surface**: The supported evaluation entrypoints are `cosmos_policy.experiments.robot.libero.run_libero_eval` and `cosmos_policy.experiments.robot.robocasa.run_robocasa_eval`. Keep reproduction notes anchored to these public modules and their documented flags.\n\n## Compute requirements\n\n| Task | GPU | VRAM | Typical wall time |\n|------|-----|------|-------------------|\n| LIBERO smoke eval (1 trial) | 1x A40\u002FA100 | ~16 GB | 5-10 min |\n| LIBERO full eval (50 trials) | 1x A40\u002FA100 | ~16 GB | 2-4 hours |\n| RoboCasa single-task (2 trials) | 1x A40\u002FA100 | ~18 GB | 10-15 min |\n| RoboCasa all-tasks | 1x A40\u002FA100 | ~18 GB | 4-8 hours |\n\n## When to use vs alternatives\n\n**Use this skill when:**\n- Evaluating NVIDIA Cosmos Policy on LIBERO or RoboCasa benchmarks\n- Profiling inference latency and throughput for Cosmos Policy\n- Setting up headless EGL rendering for robot simulation on GPU clusters\n\n**Use alternatives when:**\n- Training or fine-tuning Cosmos Policy from scratch (use official Cosmos training docs)\n- Working with OpenVLA-based policies (use `fine-tuning-openvla-oft`)\n- Working with Physical Intelligence pi0 models (use `fine-tuning-serving-openpi`)\n- Running real-robot evaluation rather than simulation\n\n---\n\n## Workflow 1: LIBERO evaluation\n\nCopy this checklist and track progress:\n\n```text\nLIBERO Eval Progress:\n- [ ] Step 1: Install environment and dependencies\n- [ ] Step 2: Configure headless EGL rendering\n- [ ] Step 3: Run smoke evaluation\n- [ ] Step 4: Validate outputs and parse results\n- [ ] Step 5: Run full benchmark if smoke passes\n```\n\n**Step 1: Install environment**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FNVlabs\u002Fcosmos-policy.git\ncd cosmos-policy\n# Follow SETUP.md to build and enter the supported Docker container.\n# Then, inside the container:\nuv sync --extra cu128 --group libero --python 3.10\n```\n\n**Step 2: Configure headless rendering**\n\n```bash\nexport CUDA_VISIBLE_DEVICES=0\nexport MUJOCO_EGL_DEVICE_ID=0\nexport MUJOCO_GL=egl\nexport PYOPENGL_PLATFORM=egl\n```\n\n**Step 3: Run smoke evaluation**\n\n```bash\nuv run --extra cu128 --group libero --python 3.10 \\\n  python -m cosmos_policy.experiments.robot.libero.run_libero_eval \\\n    --config cosmos_predict2_2b_480p_libero__inference_only \\\n    --ckpt_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B \\\n    --config_file cosmos_policy\u002Fconfig\u002Fconfig.py \\\n    --use_wrist_image True \\\n    --use_proprio True \\\n    --normalize_proprio True \\\n    --unnormalize_actions True \\\n    --dataset_stats_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_dataset_statistics.json \\\n    --t5_text_embeddings_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_t5_embeddings.pkl \\\n    --trained_with_image_aug True \\\n    --chunk_size 16 \\\n    --num_open_loop_steps 16 \\\n    --task_suite_name libero_10 \\\n    --num_trials_per_task 1 \\\n    --local_log_dir cosmos_policy\u002Fexperiments\u002Frobot\u002Flibero\u002Flogs\u002F \\\n    --seed 195 \\\n    --randomize_seed False \\\n    --deterministic True \\\n    --run_id_note smoke \\\n    --ar_future_prediction False \\\n    --ar_value_prediction False \\\n    --use_jpeg_compression True \\\n    --flip_images True \\\n    --num_denoising_steps_action 5 \\\n    --num_denoising_steps_future_state 1 \\\n    --num_denoising_steps_value 1 \\\n    --data_collection False\n```\n\n**Step 4: Validate and parse results**\n\n```python\nimport json\nimport glob\n\n# Find latest evaluation result from the official log directory\nlog_files = sorted(glob.glob(\"cosmos_policy\u002Fexperiments\u002Frobot\u002Flibero\u002Flogs\u002F**\u002F*.json\", recursive=True))\nwith open(log_files[-1]) as f:\n    results = json.load(f)\n\nprint(results)\n```\n\n**Step 5: Scale up**\n\nRun across all four LIBERO task suites with 50 trials:\n\n```bash\nfor suite in libero_spatial libero_object libero_goal libero_10; do\n  uv run --extra cu128 --group libero --python 3.10 \\\n    python -m cosmos_policy.experiments.robot.libero.run_libero_eval \\\n      --config cosmos_predict2_2b_480p_libero__inference_only \\\n      --ckpt_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B \\\n      --config_file cosmos_policy\u002Fconfig\u002Fconfig.py \\\n      --use_wrist_image True \\\n      --use_proprio True \\\n      --normalize_proprio True \\\n      --unnormalize_actions True \\\n      --dataset_stats_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_dataset_statistics.json \\\n      --t5_text_embeddings_path nvidia\u002FCosmos-Policy-LIBERO-Predict2-2B\u002Flibero_t5_embeddings.pkl \\\n      --trained_with_image_aug True \\\n      --chunk_size 16 \\\n      --num_open_loop_steps 16 \\\n      --task_suite_name \"$suite\" \\\n      --num_trials_per_task 50 \\\n      --local_log_dir cosmos_policy\u002Fexperiments\u002Frobot\u002Flibero\u002Flogs\u002F \\\n      --seed 195 \\\n      --randomize_seed False \\\n      --deterministic True \\\n      --run_id_note \"suite_${suite}\" \\\n      --ar_future_prediction False \\\n      --ar_value_prediction False \\\n      --use_jpeg_compression True \\\n      --flip_images True \\\n      --num_denoising_steps_action 5 \\\n      --num_denoising_steps_future_state 1 \\\n      --num_denoising_steps_value 1 \\\n      --data_collection False\ndone\n```\n\n---\n\n## Workflow 2: RoboCasa evaluation\n\nCopy this checklist and track progress:\n\n```text\nRoboCasa Eval Progress:\n- [ ] Step 1: Install RoboCasa assets and verify macros\n- [ ] Step 2: Run single-task smoke evaluation\n- [ ] Step 3: Validate outputs\n- [ ] Step 4: Expand to multi-task runs\n```\n\n**Step 1: Install RoboCasa**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fmoojink\u002Frobocasa-cosmos-policy.git\nuv pip install -e robocasa-cosmos-policy\npython -m robocasa.scripts.setup_macros\npython -m robocasa.scripts.download_kitchen_assets\n```\n\nThis fork installs the `robocasa` Python package expected by Cosmos Policy while preserving the patched environment changes used in the public RoboCasa eval path. Verify `macros_private.py` exists and paths are correct.\n\n**Step 2: Single-task smoke evaluation**\n\n```bash\nuv run --extra cu128 --group robocasa --python 3.10 \\\n  python -m cosmos_policy.experiments.robot.robocasa.run_robocasa_eval \\\n    --config cosmos_predict2_2b_480p_robocasa_50_demos_per_task__inference \\\n    --ckpt_path nvidia\u002FCosmos-Policy-RoboCasa-Predict2-2B \\\n    --config_file cosmos_policy\u002Fconfig\u002Fconfig.py \\\n    --use_wrist_image True \\\n    --num_wrist_images 1 \\\n    --use_proprio True \\\n    --normalize_proprio True \\\n    --unnormalize_actions True \\\n    --dataset_stats_path nvidia\u002FCosmos-Policy-RoboCasa-Predict2-2B\u002Frobocasa_dataset_statistics.json \\\n    --t5_text_embeddings_path nvidia\u002FCosmos-Policy-RoboCasa-Predict2-2B\u002Frobocasa_t5_embeddings.pkl \\\n    --trained_with_image_aug True \\\n    --chunk_size 32 \\\n    --num_open_loop_steps 16 \\\n    --task_name TurnOffMicrowave \\\n    --obj_instance_split A \\\n    --num_trials_per_task 2 \\\n    --local_log_dir cosmos_policy\u002Fexperiments\u002Frobot\u002Frobocasa\u002Flogs\u002F \\\n    --seed 195 \\\n    --randomize_seed False \\\n    --deterministic True \\\n    --run_id_note smoke \\\n    --use_variance_scale False \\\n    --use_jpeg_compression True \\\n    --flip_images True \\\n    --num_denoising_steps_action 5 \\\n    --num_denoising_steps_future_state 1 \\\n    --num_denoising_steps_value 1 \\\n    --data_collection False\n```\n\n**Step 3: Validate outputs**\n\n- Confirm the eval log prints the expected task name, object split, and checkpoint\u002Fconfig values.\n- Inspect the final `Success rate:` line in the log.\n\n**Step 4: Expand scope**\n\nIncrease `--num_trials_per_task` or add more tasks. Keep `--obj_instance_split` fixed across repeated runs for comparability.\n\n---\n\n## Workflow 3: Blank-machine cluster launch\n\n```text\nCluster Launch Progress:\n- [ ] Step 1: Clone the public repo and enter the supported runtime\n- [ ] Step 2: Sync the benchmark-specific dependency group\n- [ ] Step 3: Export rendering and cache environment variables before eval\n```\n\n**Step 1: Clone and enter the supported runtime**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FNVlabs\u002Fcosmos-policy.git\ncd cosmos-policy\n# Follow SETUP.md, start the Docker container, and enter it before continuing.\n```\n\n**Step 2: Sync dependencies**\n\n```bash\nuv sync --extra cu128 --group libero --python 3.10\n# or, for RoboCasa:\nuv sync --extra cu128 --group robocasa --python 3.10\n# then install the Cosmos-compatible RoboCasa fork:\ngit clone https:\u002F\u002Fgithub.com\u002Fmoojink\u002Frobocasa-cosmos-policy.git\nuv pip install -e robocasa-cosmos-policy\n```\n\n**Step 3: Export runtime environment**\n\n```bash\nexport CUDA_VISIBLE_DEVICES=0\nexport MUJOCO_EGL_DEVICE_ID=0\nexport MUJOCO_GL=egl\nexport PYOPENGL_PLATFORM=egl\nexport HF_HOME=${HF_HOME:-$HOME\u002F.cache\u002Fhuggingface}\nexport TRANSFORMERS_CACHE=${TRANSFORMERS_CACHE:-$HF_HOME}\n```\n\n---\n\n## Expected performance benchmarks\n\nReference values from official evaluation (tied to specific setup and seeds):\n\n| Task Suite | Success Rate | Notes |\n|-----------|-------------|-------|\n| LIBERO-Spatial | 98.1% | Official LIBERO spatial result |\n| LIBERO-Object | 100.0% | Official LIBERO object result |\n| LIBERO-Goal | 98.2% | Official LIBERO goal result |\n| LIBERO-Long | 97.6% | Official LIBERO long-horizon result |\n| LIBERO-Average | 98.5% | Official average across LIBERO suites |\n| RoboCasa | 67.1% | Official RoboCasa average result |\n\n**Reproduction note**: Published success rates still depend on checkpoint choice, task suite, seeds, and simulator setup. Record the exact command and environment alongside any reported number.\n\n---\n\n## Non-negotiable rules\n\n- **EGL alignment**: Always set `CUDA_VISIBLE_DEVICES`, `MUJOCO_EGL_DEVICE_ID`, `MUJOCO_GL=egl`, and `PYOPENGL_PLATFORM=egl` together on headless GPU nodes.\n- **Official runtime first**: If host-Python installs hit binary compatibility issues, fall back to the supported container workflow from `SETUP.md` before debugging package internals.\n- **Cache consistency**: Use the same cache directory across setup and eval so Hugging Face and dependency caches are reused.\n- **Run comparability**: Keep task name, object split, seed, and trial count fixed across repeated runs.\n\n---\n\n## Common issues\n\n**Issue: binary compatibility or loader failures on host Python**\n\nFix: rerun inside the official container\u002Fruntime from `SETUP.md`. Do not assume host-package rebuilds will match the public release environment.\n\n**Issue: LIBERO prompts for config path in a non-interactive shell**\n\nFix: pre-create `LIBERO_CONFIG_PATH\u002Fconfig.yaml`:\n\n```python\nimport os, yaml\n\nconfig_dir = os.path.expanduser(\"~\u002F.libero\")\nos.makedirs(config_dir, exist_ok=True)\nwith open(os.path.join(config_dir, \"config.yaml\"), \"w\") as f:\n    yaml.dump({\"benchmark_root\": \"\u002Fpath\u002Fto\u002Flibero\u002Fdatasets\"}, f)\n```\n\n**Issue: EGL initialization or shutdown noise**\n\nFix: align EGL environment variables first. Treat teardown-only `EGL_NOT_INITIALIZED` warnings as low-signal unless the job exits non-zero.\n\n**Issue: Kitchen object sampling NaNs or asset lookup failures in RoboCasa**\n\nFix: rerun asset setup and confirm the patched robocasa install is intact:\n\n```bash\npython -m robocasa.scripts.download_kitchen_assets\npython -c \"import robocasa; print(robocasa.__file__)\"\n```\n\n**Issue: MuJoCo rendering mismatch**\n\nFix: verify GPU device alignment:\n\n```python\nimport os\ncuda_dev = os.environ.get(\"CUDA_VISIBLE_DEVICES\", \"not set\")\negl_dev = os.environ.get(\"MUJOCO_EGL_DEVICE_ID\", \"not set\")\nassert cuda_dev == egl_dev, f\"GPU mismatch: CUDA={cuda_dev}, EGL={egl_dev}\"\nprint(f\"Rendering on GPU {cuda_dev}\")\n```\n\n---\n\n## Advanced topics\n\n**LIBERO command matrix**: See [references\u002Flibero-commands.md](references\u002Flibero-commands.md)\n**RoboCasa command matrix**: See [references\u002Frobocasa-commands.md](references\u002Frobocasa-commands.md)\n\n## Resources\n\n- Cosmos Policy repository: https:\u002F\u002Fgithub.com\u002FNVlabs\u002Fcosmos-policy\n- LIBERO benchmark: https:\u002F\u002Fgithub.com\u002FLifelong-Robot-Learning\u002FLIBERO\n- Cosmos-compatible RoboCasa fork: https:\u002F\u002Fgithub.com\u002Fmoojink\u002Frobocasa-cosmos-policy\n- Upstream RoboCasa project: https:\u002F\u002Fgithub.com\u002Frobocasa\u002Frobocasa\n- MuJoCo documentation: https:\u002F\u002Fmujoco.readthedocs.io\u002F\n",{"name":5,"tags":24,"author":34,"license":15,"version":35,"description":7,"dependencies":36},[25,26,27,28,29,30,31,32,33],"Cosmos Policy","VLA","Robotics","LIBERO","RoboCasa","Simulation","Evaluation","Profiling","EGL Rendering","Orchestra Research","1.0.0",[37,38,39,40,41,42],"torch>=2.1.0","mujoco>=3.0.0","robosuite>=1.4.0","robocasa @ git+https:\u002F\u002Fgithub.com\u002Fmoojink\u002Frobocasa-cosmos-policy.git","transformers>=4.40.0","cosmos-policy @ git+https:\u002F\u002Fgithub.com\u002FNVlabs\u002Fcosmos-policy.git","main","18193d71ea3441d7c033dbf195b8a7c75ac96f75","packages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Fai-research-skills\u002F18-multimodal\u002Fcosmos-policy",0,"https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science","https:\u002F\u002Fgithub.com\u002FCZX-LBJ","一个没事喜欢随便写点代码的小菜鸡\r\n","2026-10-22 09:48:04",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add CZX-LBJ\u002Fdeepseek-science --skill evaluating-cosmos-policy",{"tool":57,"command":58},"bunx","bunx skills add CZX-LBJ\u002Fdeepseek-science --skill evaluating-cosmos-policy",{"tool":60,"command":61},"pnpm","pnpm dlx skills add CZX-LBJ\u002Fdeepseek-science --skill evaluating-cosmos-policy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Fai-research-skills\u002F18-multimodal\u002Fcosmos-policy\u002FSKILL.md",true,[65,71],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Flibero-commands.md","REFERENCE","参考文档",6863,"https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Fai-research-skills\u002F18-multimodal\u002Fcosmos-policy\u002Freferences\u002Flibero-commands.md",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Frobocasa-commands.md",5894,"https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Fai-research-skills\u002F18-multimodal\u002Fcosmos-policy\u002Freferences\u002Frobocasa-commands.md",[76,83,90,97,104,111],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7FEEKSNMRMKW6JEK93PFDFY","bio-free-energy-calculations","Performs alchemical free-energy calculations including relative binding free energy (RBFE \u002F FEP+) and absolute binding free energy (ABFE) via OpenFE, FEP+, GROMACS, AMBER pmemd, and OpenMM with explicit lambda scheduling, soft-core potentials, MBAR\u002FBAR analysis, cycle-closure validation, and protocol-appropriate enhanced sampling. Compares ML alternatives (Boltz-2 affinity, DeepDock). Use when ranking analogs by binding affinity beyond docking accuracy, performing prospective lead optimization, or validating SAR predictions.","https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Fbioskills\u002Fchemoinformatics\u002Ffree-energy-calculations\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7FEE5CTE5QK55CEMXNNVWY9","bio-conformer-generation","Generates 3D conformer ensembles using RDKit ETKDGv3 with knowledge-enhanced distance geometry, MMFF94\u002FUFF force-field optimization, CREST + GFN2-xTB semi-empirical refinement, and macrocycle-aware torsion preferences. Provides explicit decision rules for single vs ensemble conformer use, RMSD pruning, energy windows, conformer count, and force-field choice. Use when preparing 3D ligands for docking, generating descriptor input for 3D QSAR, or sampling macrocycle\u002Fpeptide conformational ensembles.","https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Fbioskills\u002Fchemoinformatics\u002Fconformer-generation\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7FEDNGFEMFWD1MSEDR5H7CY","bio-admet-prediction","Predicts ADMET properties using ADMETlab 3.0 (119 platform features, including 77 prediction models with modeled-endpoint uncertainty), ADMET-AI, DeepChem MolNet, and chemprop D-MPNN with explicit handling of OECD QSAR principles, applicability domain assessment, calibration, hERG\u002FCYP\u002FAMES endpoints, and PAINS \u002F Lipinski \u002F Ro5 \u002F Veber \u002F BBB druglikeness filters. Use when filtering compounds for drug-likeness, prioritizing leads by predicted safety, or building an in-house ADMET QSAR model.","https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Fbioskills\u002Fchemoinformatics\u002Fadmet-prediction\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7FED69GFB54FRF7AV5066DN","writing-systems-papers","Paragraph-level structural blueprint for 10-12 page systems papers targeting OSDI, SOSP, ASPLOS, NSDI, and EuroSys. Provides page allocation, paragraph templates, and writing patterns. Use when user says \"写系统论文\", \"systems paper structure\", \"OSDI paper\", \"SOSP paper\", or wants fine-grained structural guidance for a systems conference submission.","https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Faris\u002Fskills\u002Fwriting-systems-papers\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7FECVVDWZ0X0VEDTCE4B4DZ","wiki-enrich","Fill in the per-paper TODO sections of research-wiki\u002Fpapers\u002F\u003Cslug>.md pages that literature-ingest skills leave as bare scaffolds. Use when user says 'enrich wiki', 'fill paper TODOs', 'wiki body 補完', '把 paper 摘要寫進 wiki', 'research-wiki 自動填', or after a batch ingest that left papers\u002F as TODO scaffolds.","https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Faris\u002Fskills\u002Fwiki-enrich\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7FECD4BCJ2MTSBDDSE3ZAJ5","web-debug-search","Search GitHub, Stack Exchange, Chinese technical communities, official documentation, and general developer web sources for software errors, compatibility problems, API usage questions, and real-world workarounds. Use for debugging and discovery only; results are not paper-citation evidence.","https:\u002F\u002Fgithub.com\u002FCZX-LBJ\u002Fdeepseek-science\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-science\u002Fassets\u002Fsources\u002Faris\u002Fskills\u002Fweb-debug-search\u002FSKILL.md",[],[]]