CI env fix
This commit is contained in:
parent
8c56770318
commit
c3f8d14fd8
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,104 @@
|
||||||
|
[tool.poetry]
|
||||||
|
name = "lerobot"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Le robot is learning"
|
||||||
|
authors = [
|
||||||
|
"Rémi Cadène <re.cadene@gmail.com>",
|
||||||
|
"Simon Alibert <alibert.sim@gmail.com>",
|
||||||
|
]
|
||||||
|
repository = "https://github.com/Cadene/lerobot"
|
||||||
|
readme = "README.md"
|
||||||
|
license = "MIT"
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"Topic :: Software Development :: Build Tools",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
]
|
||||||
|
packages = [{include = "lerobot"}]
|
||||||
|
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = "^3.10"
|
||||||
|
cython = "^3.0.8"
|
||||||
|
termcolor = "^2.4.0"
|
||||||
|
omegaconf = "^2.3.0"
|
||||||
|
dm-env = "^1.6"
|
||||||
|
pandas = "^2.2.1"
|
||||||
|
wandb = "^0.16.3"
|
||||||
|
moviepy = "^1.0.3"
|
||||||
|
imageio = {extras = ["pyav"], version = "^2.34.0"}
|
||||||
|
gdown = "^5.1.0"
|
||||||
|
hydra-core = "^1.3.2"
|
||||||
|
einops = "^0.7.0"
|
||||||
|
pygame = "^2.5.2"
|
||||||
|
pymunk = "^6.6.0"
|
||||||
|
zarr = "^2.17.0"
|
||||||
|
shapely = "^2.0.3"
|
||||||
|
scikit-image = "^0.22.0"
|
||||||
|
numba = "^0.59.0"
|
||||||
|
mpmath = "^1.3.0"
|
||||||
|
torch = {version = "^2.2.1", source = "torch-cpu"}
|
||||||
|
tensordict = {git = "https://github.com/pytorch/tensordict"}
|
||||||
|
torchrl = {git = "https://github.com/pytorch/rl", rev = "13bef426dcfa5887c6e5034a6e9697993fa92c37"}
|
||||||
|
mujoco = "^3.1.2"
|
||||||
|
mujoco-py = "^2.1.2.14"
|
||||||
|
gym = "^0.26.2"
|
||||||
|
opencv-python = "^4.9.0.80"
|
||||||
|
diffusers = "^0.26.3"
|
||||||
|
torchvision = {version = "^0.17.1", source = "torch-cpu"}
|
||||||
|
h5py = "^3.10.0"
|
||||||
|
|
||||||
|
|
||||||
|
[tool.poetry.group.dev.dependencies]
|
||||||
|
pre-commit = "^3.6.2"
|
||||||
|
debugpy = "^1.8.1"
|
||||||
|
pytest = "^8.1.0"
|
||||||
|
|
||||||
|
|
||||||
|
[[tool.poetry.source]]
|
||||||
|
name = "torch-cpu"
|
||||||
|
url = "https://download.pytorch.org/whl/cpu"
|
||||||
|
priority = "supplemental"
|
||||||
|
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
line-length = 110
|
||||||
|
target-version = "py310"
|
||||||
|
exclude = [
|
||||||
|
".bzr",
|
||||||
|
".direnv",
|
||||||
|
".eggs",
|
||||||
|
".git",
|
||||||
|
".git-rewrite",
|
||||||
|
".hg",
|
||||||
|
".mypy_cache",
|
||||||
|
".nox",
|
||||||
|
".pants.d",
|
||||||
|
".pytype",
|
||||||
|
".ruff_cache",
|
||||||
|
".svn",
|
||||||
|
".tox",
|
||||||
|
".venv",
|
||||||
|
"__pypackages__",
|
||||||
|
"_build",
|
||||||
|
"buck-out",
|
||||||
|
"build",
|
||||||
|
"dist",
|
||||||
|
"node_modules",
|
||||||
|
"venv",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
|
select = ["E4", "E7", "E9", "F", "I", "N", "B", "C4", "SIM"]
|
||||||
|
|
||||||
|
|
||||||
|
[tool.poetry-dynamic-versioning]
|
||||||
|
enable = true
|
||||||
|
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
|
||||||
|
build-backend = "poetry_dynamic_versioning.backend"
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,98 @@
|
||||||
|
[tool.poetry]
|
||||||
|
name = "lerobot"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Le robot is learning"
|
||||||
|
authors = [
|
||||||
|
"Rémi Cadène <re.cadene@gmail.com>",
|
||||||
|
"Simon Alibert <alibert.sim@gmail.com>",
|
||||||
|
]
|
||||||
|
repository = "https://github.com/Cadene/lerobot"
|
||||||
|
readme = "README.md"
|
||||||
|
license = "MIT"
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"Topic :: Software Development :: Build Tools",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
]
|
||||||
|
packages = [{include = "lerobot"}]
|
||||||
|
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = "^3.10"
|
||||||
|
cython = "^3.0.8"
|
||||||
|
termcolor = "^2.4.0"
|
||||||
|
omegaconf = "^2.3.0"
|
||||||
|
dm-env = "^1.6"
|
||||||
|
pandas = "^2.2.1"
|
||||||
|
wandb = "^0.16.3"
|
||||||
|
moviepy = "^1.0.3"
|
||||||
|
imageio = {extras = ["pyav"], version = "^2.34.0"}
|
||||||
|
gdown = "^5.1.0"
|
||||||
|
hydra-core = "^1.3.2"
|
||||||
|
einops = "^0.7.0"
|
||||||
|
pygame = "^2.5.2"
|
||||||
|
pymunk = "^6.6.0"
|
||||||
|
zarr = "^2.17.0"
|
||||||
|
shapely = "^2.0.3"
|
||||||
|
scikit-image = "^0.22.0"
|
||||||
|
numba = "^0.59.0"
|
||||||
|
mpmath = "^1.3.0"
|
||||||
|
torch = "^2.2.1"
|
||||||
|
tensordict = {git = "https://github.com/pytorch/tensordict"}
|
||||||
|
torchrl = {git = "https://github.com/pytorch/rl", rev = "13bef426dcfa5887c6e5034a6e9697993fa92c37"}
|
||||||
|
mujoco = "^3.1.2"
|
||||||
|
mujoco-py = "^2.1.2.14"
|
||||||
|
gym = "^0.26.2"
|
||||||
|
opencv-python = "^4.9.0.80"
|
||||||
|
diffusers = "^0.26.3"
|
||||||
|
torchvision = "^0.17.1"
|
||||||
|
h5py = "^3.10.0"
|
||||||
|
|
||||||
|
|
||||||
|
[tool.poetry.group.dev.dependencies]
|
||||||
|
pre-commit = "^3.6.2"
|
||||||
|
debugpy = "^1.8.1"
|
||||||
|
pytest = "^8.1.0"
|
||||||
|
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
line-length = 110
|
||||||
|
target-version = "py310"
|
||||||
|
exclude = [
|
||||||
|
".bzr",
|
||||||
|
".direnv",
|
||||||
|
".eggs",
|
||||||
|
".git",
|
||||||
|
".git-rewrite",
|
||||||
|
".hg",
|
||||||
|
".mypy_cache",
|
||||||
|
".nox",
|
||||||
|
".pants.d",
|
||||||
|
".pytype",
|
||||||
|
".ruff_cache",
|
||||||
|
".svn",
|
||||||
|
".tox",
|
||||||
|
".venv",
|
||||||
|
"__pypackages__",
|
||||||
|
"_build",
|
||||||
|
"buck-out",
|
||||||
|
"build",
|
||||||
|
"dist",
|
||||||
|
"node_modules",
|
||||||
|
"venv",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
|
select = ["E4", "E7", "E9", "F", "I", "N", "B", "C4", "SIM"]
|
||||||
|
|
||||||
|
|
||||||
|
[tool.poetry-dynamic-versioning]
|
||||||
|
enable = true
|
||||||
|
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
|
||||||
|
build-backend = "poetry_dynamic_versioning.backend"
|
|
@ -46,8 +46,8 @@ jobs:
|
||||||
id: restore-poetry-cache
|
id: restore-poetry-cache
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.local # the path depends on the OS
|
path: ~/.local
|
||||||
key: poetry-${{ env.POETRY_VERSION }} # increment to reset cache
|
key: poetry-${{ env.POETRY_VERSION }}
|
||||||
|
|
||||||
- name: Install Poetry
|
- name: Install Poetry
|
||||||
if: steps.restore-poetry-cache.outputs.cache-hit != 'true'
|
if: steps.restore-poetry-cache.outputs.cache-hit != 'true'
|
||||||
|
@ -64,8 +64,8 @@ jobs:
|
||||||
id: save-poetry-cache
|
id: save-poetry-cache
|
||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.local # the path depends on the OS
|
path: ~/.local
|
||||||
key: poetry-${{ env.POETRY_VERSION }} # increment to reset cache
|
key: poetry-${{ env.POETRY_VERSION }}
|
||||||
|
|
||||||
- name: Configure Poetry
|
- name: Configure Poetry
|
||||||
run: poetry config virtualenvs.in-project true
|
run: poetry config virtualenvs.in-project true
|
||||||
|
@ -73,6 +73,10 @@ jobs:
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
# install dependencies
|
# install dependencies
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
|
# TODO(aliberts): move to gpu runners
|
||||||
|
- name: Select cpu dependencies # HACK
|
||||||
|
run: cp -t . .github/poetry/cpu/pyproject.toml .github/poetry/cpu/poetry.lock
|
||||||
|
|
||||||
- name: Load cached venv
|
- name: Load cached venv
|
||||||
id: restore-dependencies-cache
|
id: restore-dependencies-cache
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v3
|
||||||
|
@ -80,18 +84,10 @@ jobs:
|
||||||
path: .venv
|
path: .venv
|
||||||
key: venv-${{ steps.setup-python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}
|
key: venv-${{ steps.setup-python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}
|
||||||
|
|
||||||
- name: Info
|
|
||||||
run: |
|
|
||||||
sudo du -sh /tmp
|
|
||||||
sudo df -h
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.restore-dependencies-cache.outputs.cache-hit != 'true'
|
if: steps.restore-dependencies-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
mkdir ~/tmp
|
mkdir ~/tmp
|
||||||
echo $TMPDIR
|
|
||||||
echo $TEMP
|
|
||||||
echo $TMP
|
|
||||||
poetry install --no-interaction --no-root
|
poetry install --no-interaction --no-root
|
||||||
|
|
||||||
- name: Save cached venv
|
- name: Save cached venv
|
||||||
|
|
Loading…
Reference in New Issue