missim-cli 3.1.3__tar.gz → 3.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. {missim_cli-3.1.3 → missim_cli-3.3.0}/PKG-INFO +1 -1
  2. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/docker/docker-compose.dev.yaml +4 -0
  3. missim_cli-3.3.0/missim_cli/docker/docker-compose.gpu.yaml +20 -0
  4. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/docker/docker-compose.yaml +0 -16
  5. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/groups/base.py +16 -1
  6. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli.egg-info/PKG-INFO +1 -1
  7. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli.egg-info/SOURCES.txt +1 -0
  8. {missim_cli-3.1.3 → missim_cli-3.3.0}/setup.cfg +1 -1
  9. {missim_cli-3.1.3 → missim_cli-3.3.0}/README.md +0 -0
  10. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/__init__.py +0 -0
  11. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/auth_helpers.py +0 -0
  12. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/banner.py +0 -0
  13. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/cli.py +0 -0
  14. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/docker/docker-compose.cache.yaml +0 -0
  15. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/docker/docker-compose.network-host.yaml +0 -0
  16. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/docker/docker-compose.network-proxy.yaml +0 -0
  17. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/docker/docker-compose.prod.yaml +0 -0
  18. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/docker/docker-compose.ue_editor_nas_cache.yaml +0 -0
  19. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/groups/__init__.py +0 -0
  20. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/groups/docker.py +0 -0
  21. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/groups/git.py +0 -0
  22. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/groups/image.py +0 -0
  23. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/groups/setup.py +0 -0
  24. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/helpers.py +0 -0
  25. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli/render_fbx.py +0 -0
  26. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli.egg-info/dependency_links.txt +0 -0
  27. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli.egg-info/entry_points.txt +0 -0
  28. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli.egg-info/requires.txt +0 -0
  29. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli.egg-info/top_level.txt +0 -0
  30. {missim_cli-3.1.3 → missim_cli-3.3.0}/missim_cli.egg-info/zip-safe +0 -0
  31. {missim_cli-3.1.3 → missim_cli-3.3.0}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: missim_cli
3
- Version: 3.1.3
3
+ Version: 3.3.0
4
4
  Summary: A CLI for interacting with the MISSIM platform
5
5
  Home-page: https://github.com/Greenroom-Robotics/missim
6
6
  Author: Greenroom Robotics
@@ -51,6 +51,10 @@ services:
51
51
  secrets:
52
52
  - apt_conf
53
53
  - API_TOKEN_GITHUB
54
+ cap_add:
55
+ - SYS_PTRACE
56
+ ports:
57
+ - "1234:1234"
54
58
  volumes:
55
59
  - ./projects/missim_ue/:/home/ue4/mis_sim/
56
60
  - ./projects/:/home/ue4/Unreal Projects/
@@ -0,0 +1,20 @@
1
+ services:
2
+ missim_ue:
3
+ deploy:
4
+ resources:
5
+ reservations:
6
+ devices:
7
+ - driver: nvidia
8
+ count: 1
9
+ capabilities: [gpu]
10
+ devices:
11
+ - /dev/dri:/dev/dri
12
+
13
+ missim_ue_standalone:
14
+ deploy:
15
+ resources:
16
+ reservations:
17
+ devices:
18
+ - driver: nvidia
19
+ count: 1
20
+ capabilities: [gpu]
@@ -56,15 +56,6 @@ services:
56
56
  image: ghcr.io/greenroom-robotics/missim_ue:${MISSIM_VERSION:-latest}
57
57
  profiles:
58
58
  - ue-editor
59
- deploy:
60
- resources:
61
- reservations:
62
- devices:
63
- - driver: nvidia
64
- count: 1
65
- capabilities: [gpu]
66
- devices:
67
- - /dev/dri:/dev/dri
68
59
  volumes:
69
60
  - /tmp/.X11-unix:/tmp/.X11-unix:rw
70
61
  - /dev/shm:/dev/shm
@@ -88,13 +79,6 @@ services:
88
79
  image: ghcr.io/greenroom-robotics/missim_ue_standalone:${MISSIM_VERSION:-latest}
89
80
  profiles:
90
81
  - ue-standalone
91
- deploy:
92
- resources:
93
- reservations:
94
- devices:
95
- - driver: nvidia
96
- count: 1
97
- capabilities: [gpu]
98
82
  volumes:
99
83
  - /tmp/.X11-unix:/tmp/.X11-unix:rw
100
84
  - /dev/shm:/dev/shm
@@ -33,6 +33,7 @@ DOCKER_NETWORK_HOST = docker_compose_path("./docker-compose.network-host.yaml")
33
33
  DOCKER_NETWORK_PROXY = docker_compose_path("./docker-compose.network-proxy.yaml")
34
34
  DOCKER_UE_NAS = docker_compose_path("./docker-compose.ue_editor_nas_cache.yaml")
35
35
  DOCKER_CACHE = docker_compose_path("./docker-compose.cache.yaml")
36
+ DOCKER_GPU = docker_compose_path("./docker-compose.gpu.yaml")
36
37
 
37
38
 
38
39
  SERVICES = [
@@ -53,6 +54,7 @@ def get_compose_files(
53
54
  nas: bool = False,
54
55
  cache: bool = False,
55
56
  proxy: bool = False,
57
+ gpu: bool = True,
56
58
  ) -> List[ValidPath]:
57
59
  compose_files: List[ValidPath] = [DOCKER]
58
60
  if prod:
@@ -71,6 +73,9 @@ def get_compose_files(
71
73
  if cache:
72
74
  compose_files.append(DOCKER_CACHE)
73
75
 
76
+ if gpu:
77
+ compose_files.append(DOCKER_GPU)
78
+
74
79
  return compose_files
75
80
 
76
81
 
@@ -96,6 +101,7 @@ def get_docker_client(config: MissimConfig | None = None) -> DockerClient:
96
101
  mode=config.mode,
97
102
  prod=config.prod,
98
103
  proxy=config.proxy.enabled,
104
+ gpu=config.gpu,
99
105
  ),
100
106
  compose_project_directory=get_project_root(),
101
107
  compose_profiles=get_docker_profiles(config),
@@ -327,6 +333,7 @@ def compile(clean: bool = False):
327
333
  """Compile the UE project"""
328
334
  config = config_io.read()
329
335
  config.mode = Mode.UE_EDITOR
336
+ config.prod = False
330
337
  docker = get_docker_client(config)
331
338
  if clean:
332
339
  docker.compose.run(
@@ -501,14 +508,22 @@ def configure():
501
508
  @configure.command(name="all")
502
509
  @click.option("--mode", type=click.Choice(Mode), help="The mode", default=Mode.LOW_FIDELITY)
503
510
  @click.option("--prod", type=bool, help="Run in prod mode?", default=True)
511
+ @click.option("--gpu", type=bool, default=True, help="Reserve GPU resources for UE containers")
504
512
  @click.option("--default", is_flag=True, help="Use default values")
505
- def configure_all(mode: Mode, prod: bool, default: bool): # type: ignore
513
+ @click.option(
514
+ "--smoke-test", is_flag=True, help="Configure for smoke testing (zenoh discovery, with router)"
515
+ )
516
+ def configure_all(mode: Mode, prod: bool, gpu: bool, default: bool, smoke_test: bool): # type: ignore
506
517
  """Configure all MIS-SIM settings"""
507
518
 
508
519
  if default:
509
520
  config = MissimConfig()
510
521
  config.mode = mode
511
522
  config.prod = prod
523
+ config.gpu = gpu
524
+ if smoke_test:
525
+ config.discovery.type = "zenoh"
526
+ config.discovery.zenoh.with_router = True
512
527
  config_io.write(config)
513
528
  else:
514
529
  # Check if the file exists
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: missim_cli
3
- Version: 3.1.3
3
+ Version: 3.3.0
4
4
  Summary: A CLI for interacting with the MISSIM platform
5
5
  Home-page: https://github.com/Greenroom-Robotics/missim
6
6
  Author: Greenroom Robotics
@@ -16,6 +16,7 @@ missim_cli.egg-info/top_level.txt
16
16
  missim_cli.egg-info/zip-safe
17
17
  missim_cli/docker/docker-compose.cache.yaml
18
18
  missim_cli/docker/docker-compose.dev.yaml
19
+ missim_cli/docker/docker-compose.gpu.yaml
19
20
  missim_cli/docker/docker-compose.network-host.yaml
20
21
  missim_cli/docker/docker-compose.network-proxy.yaml
21
22
  missim_cli/docker/docker-compose.prod.yaml
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = missim_cli
3
- version = 3.1.3
3
+ version = 3.3.0
4
4
  url = https://github.com/Greenroom-Robotics/missim
5
5
  author = Greenroom Robotics
6
6
  author_email = team@greenroomrobotics.com
File without changes
File without changes
File without changes