Run this model with HF Jobs
Run PerceptronAI/Isaac-0.5-YAM on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/PerceptronAI/Isaac-0.5-YAM. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/PerceptronAI/Isaac-0.5-YAM on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use PerceptronAI/Isaac-0.5-YAM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use PerceptronAI/Isaac-0.5-YAM with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from PerceptronAI/Isaac-0.5-YAM: direct link, hf CLI and curl.
- Browser
- Download file 3.57 kB
-
https://huggingface.co/PerceptronAI/Isaac-0.5-YAM/resolve/main/README.md
- Command line
-
hf download hf://PerceptronAI/Isaac-0.5-YAM/README.md
-
curl -L -o README.md https://huggingface.co/PerceptronAI/Isaac-0.5-YAM/resolve/main/README.md
3.57 kB
| language: | |
| - en | |
| pipeline_tag: robotics | |
| library_name: lerobot | |
| tags: | |
| - robot-learning | |
| - isaac-0.5 | |
| - bimanual-yam | |
| # Isaac 0.5 for Bimanual YAM | |
| We fine-tuned Isaac 0.5 on bimanual YAM demonstrations from xDoF ABC and MolmoAct2. The policy reads three RGB views, a language instruction, and the state of both arms. It predicts absolute joint and gripper targets for both arms. | |
| This checkpoint was saved at step 200,000 of fine-tuning on 32 GPUs with a global batch of 256 sequences and a sequence length of 2,048 tokens. | |
| ## Quick Links | |
| [Isaac 0.5 base model](https://huggingface.co/PerceptronAI/Isaac-0.5) 路 [xDoF ABC-130k dataset](https://huggingface.co/datasets/XDOF/ABC-130k) 路 [MolmoAct2 Bimanual YAM dataset](https://huggingface.co/datasets/allenai/MolmoAct2-BimanualYAM-Dataset) 路 [Code](https://github.com/perceptron-ai-inc/isaac) 路 [Blog](https://www.perceptron.inc/blog/introducing-isaac-0-5) | |
| ## Get started | |
| Clone Isaac with its pinned LeRobot submodule. [Isaac on GitHub](https://github.com/perceptron-ai-inc/isaac) | |
| ```bash | |
| git clone --branch main --recurse-submodules https://github.com/perceptron-ai-inc/isaac.git | |
| cd isaac/lerobot | |
| uv venv --python 3.12 | |
| source .venv/bin/activate | |
| uv pip install -c constraints/perceptron_isaac-cu128.txt \ | |
| --index https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match \ | |
| '.[perceptron_isaac,training]' | |
| hf download PerceptronAI/Isaac-0.5-YAM --local-dir ./Isaac-0.5-YAM | |
| ``` | |
| ## Run inference | |
| | Top RGB | Left wrist RGB | Right wrist RGB | | |
| | --- | --- | --- | | |
| |  |  |  | | |
| The example loads the top, left wrist, and right wrist images with the recorded state of both arms. | |
| ```python | |
| import json | |
| from pathlib import Path | |
| import torch | |
| from lerobot.policies.factory import make_pre_post_processors | |
| from lerobot.policies.perceptron_isaac import PerceptronIsaacPolicy | |
| from torchvision.io import decode_image | |
| snapshot = Path("./Isaac-0.5-YAM") | |
| assets = snapshot / "assets" | |
| sample = json.loads((assets / "sample_observation.json").read_text()) | |
| observation = { | |
| key: decode_image(str(assets / file), mode="RGB").float().div(255).unsqueeze(0) | |
| for key, file in sample["cameras"].items() | |
| } | |
| observation["observation.state"] = torch.tensor([sample["state"]], dtype=torch.float32) | |
| observation["task"] = [sample["task"]] | |
| path = str(snapshot / "recorded_policy") | |
| policy = PerceptronIsaacPolicy.from_pretrained(path) | |
| preprocess, postprocess = make_pre_post_processors(policy.config, pretrained_path=path) | |
| with torch.inference_mode(): | |
| actions = postprocess(policy.predict_action_chunk(preprocess(observation))) | |
| ``` | |
| The policy returns a 60 脳 14 action chunk for each observation. | |
| ## Fine-tune | |
| From `isaac/lerobot`, set `DATASET_REPO_ID` to a compatible LeRobot dataset. This example uses two GPUs and CPU offload and saves a checkpoint at the end of training. [Isaac fine-tuning guide](https://github.com/perceptron-ai-inc/isaac#fine-tune) | |
| ```bash | |
| STEPS=10000 | |
| torchrun --standalone --nproc_per_node=2 ../scripts/finetune.py \ | |
| --policy.path="./Isaac-0.5-YAM/recorded_policy" --dataset.repo_id="$DATASET_REPO_ID" \ | |
| --steps="$STEPS" --policy.max_train_steps="$STEPS" --batch_size=1 \ | |
| --dataset.video_backend=pyav --parallelism.dp_shard=-1 \ | |
| --accelerator.mixed_precision=bf16 --accelerator.fsdp.cpu_offload=true \ | |
| --accelerator.fsdp.reduce_dtype=float32 --policy.push_to_hub=false \ | |
| --env_eval_freq=0 --eval_steps=0 | |
| ``` | |