Skip to content

[Proposal] Enhanced Offline Mode #4478

Closed as not planned
Closed as not planned

Description

@clayton-littlejohn

Proposal

See PR: #4479 | README.md

Add enhanced offline training support to Isaac Lab that enables training environments without internet connectivity. The feature should automatically redirect asset paths from Nucleus/S3 servers to local storage while maintaining the same directory structure, requiring zero configuration changes to existing environments.

Core capabilities:

  • One-time asset download script that mirrors Nucleus directory structure locally (offline_assets)
    • Can then be used for Isaac Sim in an offline setting
  • Automatic path resolution from Nucleus URLs to local filesystem
  • Single --offline flag for all tutorial, demo, and training scripts
  • Use --offline-permissive flag for graceful fallback to Nucleus if local asset is missing
  • Works with any robot and environment without hardcoded boilerplate paths
  • Quickly identifies required missing assets for offline demos and provided script for targeting them

Motivation

Current Problem:
Training Isaac Lab environments requires constant internet connectivity to load assets from Nucleus/S3 servers. This creates several critical issues:

  1. Airgapped Environments: Impossible to train in secure/classified facilities that prohibit internet access
  2. Network Reliability: Training fails or becomes extremely slow on unstable networks
  3. Reproducibility: Repeated downloads slow iteration and depend on external server availability
  4. Development Workflow: Researchers waste time waiting for assets during rapid prototyping
  5. Users can already pre-download the exact assets they intend to use: True, but they are fixed in that predetermined environment, and will to manually configure boilerplate for those assets and paths (creates a messy development environment)
  6. DGX Spark is Rooted: I should be able to take my Spark anywhere regardless of internet connectivity and live out Isaac Lab and Isaac Sim to it's fullest

User Story:
"I'm always frustrated when I need to train in an airgapped lab environment or on an unstable network connection. I have to create custom configs with hardcoded local paths for each asset and robot, which results in unmaintainable code duplication and can break when I switch robots or update Isaac Lab. I would like to take Isaac Lab on the go and quickly demo anything in an independent localized ecosystem without nit-picking configurations and assets while dealing with complex asset management. As a user, I should be free to demo offline whatever I want, wherever I want, whenever I want."

Core User Needs:

  • Train without internet connectivity
  • Avoid hardcoded paths and setup in environment configs
  • Work seamlessly with any robot, demo, training, or tutorial
  • Maintain same configs for both online and offline modes
  • Provides a suite of tools to help identify and download missing assets

Alternatives

Alternative 1: Hardcoded Local Paths (Current workaround)

# Separate config file per robot
UNITREE_GO2_CFG = ArticulationCfg(
    spawn=sim_utils.UsdFileCfg(
        usd_path=f"{ISAACLAB_NUCLEUS_DIR}/Robots/Unitree/Go2/go2.usd"

Problems:

  • ❌ Requires separate config for each robot
  • ❌ Lines of boilerplate per robot
  • ❌ Breaks when Isaac Lab updates
  • ❌ Not maintainable

Alternative 2: Environment Variables

export ISAAC_ASSETS_DIR="/local/path"

Problems:

  • ❌ Doesn't work with S3 URLs
  • ❌ Requires Isaac Sim core changes
  • ❌ Can't have fallback to Nucleus
  • ❌ Not transparent to users

Alternative 3: Manual Asset Copying
Copy assets manually and update configs.
Problems:

  • ❌ Error-prone manual process
  • ❌ No directory structure guidelines
  • ❌ Still requires config changes

Proposed Solution Benefits:

  • ✅ Zero code or config changes
  • ✅ Works with all robots and environments automatically
  • ✅ Single flag: --offline for various training environments, tutorials, and demos
  • ✅ Localized mirrored Isaac/ directory for both Isaac Sim and Isaac Lab offline use
  • ✅ Asset Fallback flag: --offline-permissive flag for graceful fallback to Nucleus if local asset is missing
  • ✅ Easy offline_asset plug and play following Nucleus structure
  • ✅ Quick installer for any and all assets (helpful for missing asset identification)
  • ✅ Code and configuration reduction and offline simplification
  • ✅ Easy plug and play for Issac Sim offline

Build Info

  • Isaac Lab Version: main branch (as of January 2026)
  • Isaac Sim Version: 5.1.0

Additional Context

Use Cases:

  1. Defense/Aerospace: Training in classified airgapped facilities
  2. Remote Locations: Field robotics research with limited connectivity
  3. Development: Rapid iteration without network delays and firewall interruptions
  4. CI/CD: Reproducible builds without external dependencies
  5. Workshops/Tutorials: Teaching without relying on conference WiFi (i.e. localized everything on DGX Spark)

Technical Approach:
The implementation uses a dual-layer strategy:

  • Monkey patching: Intercepts asset loads at spawn config instantiation (90% coverage)
  • Config patching: Explicitly modifies pre-loaded configs (10% coverage)

This ensures ~100% asset coverage without modifying environment configs.

Expected Directory Structure:

IsaacLab/
├── source/isaaclab/isaaclab/utils/
│   └── asset_resolver.py           # Core resolver
├── scripts/setup/
│   └── download_assets.py          # Asset downloader
└── offline_assets/                 ← Mirror of Isaac/
├── IsaacLab/
│   ├── Robots/
│   │   ├── ANYbotics/
│   │   │   ├── ANYmal-B/
│   │   │   ├── ANYmal-C/
│   │   │   └── ANYmal-D/
│   │   ├── Unitree/
│   │   └── FrankaEmika/
│   ├── ActuatorNets/
│   ├── Controllers/
│   └── Policies/
├── Props/
│   └── UIElements/
├── Environments/
│   └── Grid/
├── Materials/
│   └── Textures/
└── Robots/                          ← Isaac Sim robots (different from IsaacLab/Robots)

Dynamically pulls and mirrors Nucleus structure for seamless path resolution.

Checklist

  • I have checked that there is no similar issue in the repo (required)

Acceptance Criteria

  • Asset download script that mirrors Nucleus directory structure to local storage (Isaac/ = offline_assets/)
  • Automatic path resolver that redirects Nucleus URLs to local filesystem
  • Optional --offline flag propagates globally AppLauncher and works across demos, tutorials, and training
  • Monkey patching of Isaac Lab spawn configs (UsdFileCfg, GroundPlaneCfg, PreviewSurfaceCfg)
  • Config patching for pre-loaded environment configs
  • Graceful fallback to Nucleus for missing assets
  • Support for versioned Nucleus URLs (e.g., /Assets/Isaac/5.1/...)
  • Documentation including setup guide, usage examples, and troubleshooting
  • Works with any robot without hardcoded paths
  • Zero breaking changes - existing code continues to work
  • Manual testing completed across multiple robots (Go2, H1, ANYmal)
  • Verification in complete offline mode (no internet connectivity)

Definition of Done:
A user can download all, or select assets by running ./isaaclab.sh -p scripts/offline_setup/download_assets.py --categories all, then simply train any robot completely offline, run any demo or tutorial simply by adding --offline to the command, with no boilerplate code or config changes required. Additionally I can now leverage all assets via my-computer://offline_assets for an internet free, uninterrupted Isaac Sim and Isaac Lab experience.

Activity

  1. RandomOakForest commented on Feb 2, 2026

    @RandomOakForest
    Collaborator

    Thank you for posting this and adding the PR. The team will review it.

  2. added
    enhancement
    on Feb 2, 2026
  3. AntoineRichard commented on Aug 27, 2026

    @AntoineRichard
    Collaborator

    Thanks for the thorough offline-mode proposal, @clayton-littlejohn — the airgapped use case is a real one. The core ask, redirecting Nucleus/S3 asset paths to a local mirror without touching every config, is now supported natively: _resolve_asset_root() in source/isaaclab/isaaclab/utils/assets.py honours ISAACSIM_ASSET_ROOT ahead of the kit file and feeds NUCLEUS_ASSET_ROOT_DIR, ISAAC_NUCLEUS_DIR and ISAACLAB_NUCLEUS_DIR. That landed in #6739, and docs/source/setup/installation/asset_caching_details.inc covers the setup on Linux and Windows.

    Closing in favour of that direction rather than a parallel --offline flag. If a gap remains — mirroring or download tooling, say — a focused issue on top of ISAACSIM_ASSET_ROOT would be very welcome.


    🤖 This issue was reviewed as part of an AI-assisted triage of the Isaac Lab backlog, with automated verification against the current codebase. If we got this wrong, please reopen — we'd rather hear about it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions