Skip to content

Commit 3ac47af

Browse files
authored
Merge pull request #1 from OpenDriveLab/dev
Dev v0.0 push to main
2 parents bad3b60 + f19ddd3 commit 3ac47af

157 files changed

Lines changed: 75119 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.venv
2+
checkpoints
3+
data

.github/CODEOWNERS

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# The CODEOWNERS file defines individuals or teams that are automatically requested for
2+
# review when someone opens a pull request that modifies certain code. When a draft pull
3+
# request is marked as ready for review, code owners are automatically notified.
4+
#
5+
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
6+
#
7+
# This is a comment.
8+
# Each line is a file pattern followed by one or more owners.
9+
10+
# Global owners.
11+
* @jimmyt857 @Michael-Equi @uzhilinsky
12+
13+
src/openpi/models/ @kvablack @uzhilinsky
14+
src/openpi/training/ @kvablack @uzhilinsky
15+
16+
scripts/ @jimmyt857 @kvablack @uzhilinsky

.github/workflows/pre-commit.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: pre-commit
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- "*"
9+
jobs:
10+
pre-commit:
11+
runs-on: ubuntu-latest
12+
env:
13+
GIT_LFS_SKIP_SMUDGE: true
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v3
17+
- uses: pre-commit/action@v3.0.1

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
on:
3+
pull_request:
4+
branches:
5+
- "*"
6+
7+
jobs:
8+
run_tests:
9+
name: Run Tests
10+
runs-on: openpi-verylarge
11+
env:
12+
GIT_LFS_SKIP_SMUDGE: true
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Install FFmpeg dependencies
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install -y ffmpeg libavcodec-dev libavformat-dev libavutil-dev
20+
21+
- name: Install uv
22+
uses: astral-sh/setup-uv@v5
23+
24+
- name: Set up Python
25+
run: uv python install
26+
27+
- name: Install the project
28+
run: uv sync --all-extras --dev
29+
30+
- name: Run tests
31+
run: uv run pytest --strict-markers -m "not manual"

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,6 @@ cython_debug/
205205
marimo/_static/
206206
marimo/_lsp/
207207
__marimo__/
208+
209+
% macOS
210+
.DS_Store

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "third_party/aloha"]
2+
path = third_party/aloha
3+
url = https://github.com/Physical-Intelligence/aloha.git
4+
[submodule "third_party/libero"]
5+
path = third_party/libero
6+
url = https://github.com/Lifelong-Robot-Learning/LIBERO.git

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
exclude: third_party/
2+
3+
repos:
4+
- repo: https://github.com/astral-sh/uv-pre-commit
5+
# uv version.
6+
rev: 0.5.14
7+
hooks:
8+
- id: uv-lock
9+
- repo: https://github.com/astral-sh/ruff-pre-commit
10+
# Ruff version.
11+
rev: v0.8.6
12+
hooks:
13+
# Run the linter.
14+
- id: ruff
15+
args: [--fix]
16+
- id: ruff-format

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"[python]": {
3+
"editor.defaultFormatter": "charliermarsh.ruff",
4+
"editor.formatOnSave": true,
5+
},
6+
"python.testing.pytestArgs": [
7+
"src"
8+
],
9+
"python.testing.unittestEnabled": false,
10+
"python.testing.pytestEnabled": true
11+
}

0 commit comments

Comments
 (0)