mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-20 19:19:56 +00:00
only export WallXConfig from wall_x package to avoid peft import in CI
This commit is contained in:
@@ -15,7 +15,5 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from .configuration_wall_x import WallXConfig
|
from .configuration_wall_x import WallXConfig
|
||||||
from .modeling_wall_x import WallXPolicy
|
|
||||||
from .processor_wall_x import make_wall_x_pre_post_processors
|
|
||||||
|
|
||||||
__all__ = ["WallXConfig", "WallXPolicy", "make_wall_x_pre_post_processors"]
|
__all__ = ["WallXConfig"]
|
||||||
|
|||||||
@@ -37,11 +37,9 @@ if WALLX_AVAILABLE:
|
|||||||
import torch
|
import torch
|
||||||
|
|
||||||
from lerobot.policies.factory import make_policy_config
|
from lerobot.policies.factory import make_policy_config
|
||||||
from lerobot.policies.wall_x import (
|
from lerobot.policies.wall_x import WallXConfig
|
||||||
WallXConfig,
|
from lerobot.policies.wall_x.modeling_wall_x import WallXPolicy
|
||||||
WallXPolicy,
|
from lerobot.policies.wall_x.processor_wall_x import make_wall_x_pre_post_processors
|
||||||
make_wall_x_pre_post_processors,
|
|
||||||
)
|
|
||||||
from lerobot.utils.random_utils import set_seed
|
from lerobot.utils.random_utils import set_seed
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user