Template updates

π0.5 LIBERO

pi05-libero · policy template by Physical Intelligence · Franka Panda · LIBERO suites. Each version below is fixed once published, newest first.

seq init pi05-libero gives the current version, and seq init pi05-libero@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

    π0.5 LIBERO as v12: a plain class under @seq.policy, which no longer subclasses seq.Policy.

    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.

    Use v13
    pi05-libero 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-libero@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-libero@v13
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v13 my_policy_user

    In the console, Deploy deploys this version.

  2. v12

    π0.5 LIBERO 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_libero_user --gpu L4 --cpu 1.25 --memory 16, the command seq init prints from its deploy.toml: @seq.policy names no card any more.
    • seq serve my_libero_user serves it from your own GPU; a client connects to it with sequence_ai.connect("http://<this machine>:8000").
    Use v12
    pi05-libero 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-libero@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-libero@v12
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v12 my_policy_user
  3. v10

    π0.5 LIBERO 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-libero 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-libero@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-libero@v10
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v10 my_policy_user
  4. v9

    π0.5 LIBERO 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-libero 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-libero@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-libero@v9
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v9 my_policy_user
  5. v8

    π0.5 LIBERO as v7; a worker asks for the memory it holds while it loads the model: 16 GiB, where v7 asked for 12.

    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).

    • memory=16: a worker holds about 16 GiB while it loads the model. v7's 12 was less than its weights (about 12.4 GB), and a worker could run out of memory while it loaded.
    • Billed as before on an L4: a worker is billed for its machine's 8 cores and 32 GiB, more than it asks for.
    Use v8
    pi05-libero 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-libero@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-libero@v8
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v8 my_policy_user
  6. v7

    π0.5 LIBERO as v6; policy.py says, as the README does, how a worker's CPU and memory are billed.

    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).

    • v6's files; only policy.py's comment on 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-libero 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-libero@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-libero@v7
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v7 my_policy_user
  7. v6

    π0.5 LIBERO as v5; the README says a worker's CPU and memory are billed as the machine its card sets.

    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).

    • v5'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 v6
    pi05-libero 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-libero@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-libero@v6
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v6 my_policy_user
  8. v5

    π0.5 LIBERO as before; the README's example renders at 256x256 and lets objects settle first, as openpi's does.

    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).

    • Render LIBERO at 256x256 and step 10 times with the arm still before the first observation, as openpi's LIBERO example does.
    • LIBERO's own environment is Python 3.8: install LIBERO into Python 3.10 or later for client.py.
    Use v5
    pi05-libero 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-libero@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-libero@v5
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v5 my_policy_user
  9. v4

    π0.5 LIBERO on an L4, as before: a first deploy is ready sooner.

    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).

    Use v4
    pi05-libero 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-libero@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-libero@v4
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v4 my_policy_user
  10. v3

    π0.5 LIBERO on an L4, 20 steps a second: each answer's first 5 steps played, then the next asked for.

    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).

    • Each copy seats one robot; an eval's environments are what share a batch.
    • 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.
    Use v3
    pi05-libero v3shell
    # 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-libero@v3 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-libero@v3
    
    # on the robot's machine: this version's client.py and its README
    pip install -U sequence-ai
    seq init pi05-libero@v3 my_policy_user
  11. v2

    An eval of it on a LIBERO suite runs with the adapter libero-openpi.

  12. v1

    The first version: Physical Intelligence's π0.5 fine-tuned on LIBERO, as a policy you deploy.