nerfbaselines.backends¶
- class nerfbaselines.backends.ApptainerBackend(spec: ApptainerBackendSpec)[source]¶
Bases:
RemoteProcessRPCBackend
- name = 'apptainer'¶
- class nerfbaselines.backends.ApptainerBackendSpec[source]¶
Bases:
TypedDict
- conda_spec: CondaBackendSpec | None¶
- default_cuda_archs: str¶
- environment_name: Required[str]¶
- home_path: str¶
- image: str | None¶
- python_path: str¶
- class nerfbaselines.backends.CondaBackend(spec: CondaBackendSpec)[source]¶
Bases:
RemoteProcessRPCBackend
- name = 'conda'¶
- class nerfbaselines.backends.CondaBackendSpec[source]¶
Bases:
TypedDict
- environment_name: Required[str]¶
- install_script: str | None¶
- python_version: str | None¶
- class nerfbaselines.backends.DockerBackend(spec: DockerBackendSpec)[source]¶
Bases:
RemoteProcessRPCBackend
- name = 'docker'¶
- class nerfbaselines.backends.DockerBackendSpec[source]¶
Bases:
TypedDict
- build_script: str¶
- conda_spec: CondaBackendSpec¶
- default_cuda_archs: str¶
- environment_name: Required[str]¶
- home_path: str¶
- image: str | None¶
- python_path: str¶
- replace_user: bool¶
- nerfbaselines.backends.get_backend(method_spec: MethodSpec, backend: str | None) Backend [source]¶
- nerfbaselines.backends.get_implemented_backends(method_spec: MethodSpec) Sequence[Literal['conda', 'docker', 'apptainer', 'python']] [source]¶
nerfbaselines.backends.protocol_shm_pickle¶
- exception nerfbaselines.backends.protocol_shm_pickle.ConnectionClosed[source]¶
Bases:
ConnectionError
Bases:
object