Template updates

π0.5 DROID + Qwen

pi05-droid-qwen · policy template by Physical Intelligence · Franka Panda · Qwen plans, π0.5 acts. Each version below is fixed once published, newest first.

seq init pi05-droid-qwen gives the current version, and seq init pi05-droid-qwen@v<N> any version from v3 on that is not withdrawn. A deployment made from this template names the version it runs in seq policy versions and on its page in the console; seq policy upgrade moves it to the current version.

Performance

No runs yet.

Versions

  1. v13current

    As v12, asking for 18 GiB of memory: a worker holds about 17 GiB while it loads the model.

    Needs sequence-ai 0.65.0 or later to serve it, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client needs Python 3.10 or later and pip install -U sequence-ai, and sequence-cloud too to connect to your deployment by its name.

    • Deploy it with seq deploy my_robot_user --gpu L4 --cpu 1.25 --memory 18, the command seq init prints from its deploy.toml.
    • policy.py's class is a plain class under @seq.policy: it no longer subclasses seq.Policy.
    Use v13
    pi05-droid-qwen v13shell
    # seq deploy and the platform's commands come with it:
    pip install sequence-ai
    
    # start a policy from this version, then deploy it
    # my_policy_user: the name you choose
    seq init pi05-droid-qwen@v13 my_policy_user
    seq deploy my_policy_user --gpu <card>   # the card seq init names
    
    # or move a deployment made from this template to it
    seq policy upgrade my_policy_user --to pi05-droid-qwen@v13
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-droid-qwen@v13 my_policy_user

    In the console, Deploy deploys this version.

  2. v12

    As v10; its card and worker size go on seq deploy's command, and seq serve runs it on your own GPU.

    Needs sequence-ai 0.65.0 or later to serve it, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client runs on 0.56.0 or later with its video encoder (pip install -U sequence-ai).

    • Deploy it with seq deploy my_robot_user --gpu L4 --cpu 1.25 --memory 11, the command seq init prints from its deploy.toml: @seq.policy names no card any more.
    • seq serve my_robot_user serves it from your own GPU; a robot connects to it with sequence_ai.connect("http://<this machine>:8000").
    Use v12
    pi05-droid-qwen v12shell
    # seq deploy and the platform's commands come with it:
    pip install sequence-ai
    
    # start a policy from this version, then deploy it
    # my_policy_user: the name you choose
    seq init pi05-droid-qwen@v12 my_policy_user
    seq deploy my_policy_user --gpu <card>   # the card seq init names
    
    # or move a deployment made from this template to it
    seq policy upgrade my_policy_user --to pi05-droid-qwen@v12
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-droid-qwen@v12 my_policy_user
  3. v10

    As v9; it loads its weights faster from a file packed once beside them with sequence_ai.engine.load.

    Needs sequence-ai 0.64.0 or later, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client runs on 0.56.0 or later with its video encoder (pip install -U sequence-ai).

    • params.load beside its weights, packed once with sequence_ai.engine.load (sequence-ai 0.65.0 or later), is read in place of them: π0.5 LIBERO's in 16.0 s instead of 25.0 s, from a cold disk on an L4.
    Use v10
    pi05-droid-qwen v10shell
    # seq deploy and the platform's commands come with it:
    pip install sequence-ai
    
    # start a policy from this version, then deploy it
    # my_policy_user: the name you choose
    seq init pi05-droid-qwen@v10 my_policy_user
    seq deploy my_policy_user --gpu <card>   # the card seq init names
    
    # or move a deployment made from this template to it
    seq policy upgrade my_policy_user --to pi05-droid-qwen@v10
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-droid-qwen@v10 my_policy_user
  4. v9

    As v8; it names the arm it was made for: a Panda.

    Needs sequence-ai 0.64.0 or later, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client runs on 0.56.0 or later with its video encoder (pip install -U sequence-ai).

    • robot="Panda": an eval on a benchmark that takes any arm runs it on a Panda; --param benchmark.robot=UR5e runs it on another, --sweep on several.
    Use v9
    pi05-droid-qwen v9shell
    # seq deploy and the platform's commands come with it:
    pip install sequence-ai
    
    # start a policy from this version, then deploy it
    # my_policy_user: the name you choose
    seq init pi05-droid-qwen@v9 my_policy_user
    seq deploy my_policy_user --gpu <card>   # the card seq init names
    
    # or move a deployment made from this template to it
    seq policy upgrade my_policy_user --to pi05-droid-qwen@v9
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-droid-qwen@v9 my_policy_user
  5. v8

    As v7; policy.py says, as the README now does for one card too, how a worker's CPU and memory are billed.

    Needs sequence-ai 0.56.5 or later, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client runs on 0.56.0 or later with its video encoder (pip install -U sequence-ai).

    • v7's files; only policy.py's comment on CPU and memory changed, and the README gives one card's machine beside two cards': an L4's 8 cores and 32 GiB, or what it declares where that is more.
    Use v8
    pi05-droid-qwen v8shell
    # seq deploy and the platform's commands come with it:
    pip install sequence-ai
    
    # start a policy from this version, then deploy it
    # my_policy_user: the name you choose
    seq init pi05-droid-qwen@v8 my_policy_user
    seq deploy my_policy_user --gpu <card>   # the card seq init names
    
    # or move a deployment made from this template to it
    seq policy upgrade my_policy_user --to pi05-droid-qwen@v8
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-droid-qwen@v8 my_policy_user
  6. v7

    As v6; the README says a worker's CPU and memory are billed as the machine its card sets.

    Needs sequence-ai 0.56.5 or later, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client runs on 0.56.0 or later with its video encoder (pip install -U sequence-ai).

    • v6's files; only the README's billing of CPU and memory changed: the machine its card sets (an L4's 8 cores and 32 GiB), or what it declares where that is more.
    Use v7
    pi05-droid-qwen v7shell
    # seq deploy and the platform's commands come with it:
    pip install sequence-ai
    
    # start a policy from this version, then deploy it
    # my_policy_user: the name you choose
    seq init pi05-droid-qwen@v7 my_policy_user
    seq deploy my_policy_user --gpu <card>   # the card seq init names
    
    # or move a deployment made from this template to it
    seq policy upgrade my_policy_user --to pi05-droid-qwen@v7
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-droid-qwen@v7 my_policy_user
  7. v6

    π0.5 DROID that plans its own steps, as before; client.py refuses a 4-channel camera frame, which is how DROID's come.

    Needs sequence-ai 0.56.5 or later, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client runs on 0.56.0 or later with its video encoder (pip install -U sequence-ai).

    • Pass each DROID camera as RGB, img[..., :3][..., ::-1], from Python 3.10 or later on the robot's laptop: DROID's own environment is Python 3.7, and its frames are BGRA.
    • An act with neither a plan nor a prompt keeps a gripper closed on a wide object closed; until the first plan, π0.5 runs the task you send.
    • The 7 action numbers are DROID's normalized joint velocities, in [-1, 1]: 1.0 is 3 rad/s, as DROID's own controller plays it.
    Use v6
    pi05-droid-qwen v6shell
    # seq deploy and the platform's commands come with it:
    pip install sequence-ai
    
    # start a policy from this version, then deploy it
    # my_policy_user: the name you choose
    seq init pi05-droid-qwen@v6 my_policy_user
    seq deploy my_policy_user --gpu <card>   # the card seq init names
    
    # or move a deployment made from this template to it
    seq policy upgrade my_policy_user --to pi05-droid-qwen@v6
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-droid-qwen@v6 my_policy_user
  8. v5

    π0.5 DROID that plans its own steps, as before: a first deploy is ready sooner.

    Needs sequence-ai 0.56.5 or later, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client runs on 0.56.0 or later with its video encoder (pip install -U sequence-ai).

    Use v5
    pi05-droid-qwen v5shell
    # seq deploy and the platform's commands come with it:
    pip install sequence-ai
    
    # start a policy from this version, then deploy it
    # my_policy_user: the name you choose
    seq init pi05-droid-qwen@v5 my_policy_user
    seq deploy my_policy_user --gpu <card>   # the card seq init names
    
    # or move a deployment made from this template to it
    seq policy upgrade my_policy_user --to pi05-droid-qwen@v5
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-droid-qwen@v5 my_policy_user
  9. v4

    π0.5 DROID on an L4 that plans its own steps: the Qwen plan is part of the policy now, not a separate deployment.

    Needs sequence-ai 0.56.5 or later, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client runs on 0.56.0 or later with its video encoder (pip install -U sequence-ai).

    • One deployment: seq deploy my_robot_user, and a robot connects with sequence_ai.connect("my_robot_user").
    • The policy's @seq.plan names each robot's step every 2 s, and a model service of your own still works through the planner secret.
    • An eval of the policy runs the plan beside π0.5, and a policy with no @seq.plan scores π0.5 alone.
    Use v4
    pi05-droid-qwen v4shell
    # seq deploy and the platform's commands come with it:
    pip install sequence-ai
    
    # start a policy from this version, then deploy it
    # my_policy_user: the name you choose
    seq init pi05-droid-qwen@v4 my_policy_user
    seq deploy my_policy_user --gpu <card>   # the card seq init names
    
    # or move a deployment made from this template to it
    seq policy upgrade my_policy_user --to pi05-droid-qwen@v4
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-droid-qwen@v4 my_policy_user
  10. v3

    π0.5 DROID on an L4 with a Qwen planner that names each step, and an eval of either.

    Needs sequence-ai 0.56.0 or later, and sequence-cloud to deploy it, with your key in SEQUENCES_API_KEY (pip install sequence-cloud --extra-index-url "https://$SEQUENCES_API_KEY@api.generalsequences.com/simple"); its client runs on 0.56.0 or later with its video encoder (pip install -U sequence-ai).

    • A planner that has the planner secret calls your own service, and an eval of the planner scores Qwen and π0.5 together.
    • Deployed as seq init wrote it, it reads the platform's copy of the weights; with any of its code changed it gets a copy of its own, billed as its storage.
    • A fine-tune of your own loads without openpi's tokenizer beside its checkpoint: it downloads the tokenizer.
  11. v2

    The policy and its planner deploy together, and a robot connects through the planner.

  12. v1

    The first version: π0.5 DROID with a Qwen planner beside it that names the step to take.