Function runtime_resource_snapshot
This page is for NeMo Fabric, version v0.7.1.
For other versions, use one of these documentation indexes:
- Latest (v0.7.1) (default): https://docs.nvidia.com/nemo/fabric/latest/llms.txt
- dev: https://docs.nvidia.com/nemo/fabric/dev/llms.txt
- v0.7.1: https://docs.nvidia.com/nemo/fabric/v0.7.1/llms.txt
- v0.7.0: https://docs.nvidia.com/nemo/fabric/v0.7.0/llms.txt
- v0.6.1: https://docs.nvidia.com/nemo/fabric/v0.6.1/llms.txt
- v0.6.0: https://docs.nvidia.com/nemo/fabric/v0.6.0/llms.txt
- v0.5.0: https://docs.nvidia.com/nemo/fabric/v0.5.0/llms.txt
- v0.4.0: https://docs.nvidia.com/nemo/fabric/v0.4.0/llms.txt
- v0.3.0: https://docs.nvidia.com/nemo/fabric/v0.3.0/llms.txt
- v0.2.0: https://docs.nvidia.com/nemo/fabric/v0.2.0/llms.txt
- v0.1.1: https://docs.nvidia.com/nemo/fabric/v0.1.1/llms.txt
- v0.1.0: https://docs.nvidia.com/nemo/fabric/v0.1.0/llms.txt
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub fn runtime_resource_snapshot(
plan: &RunPlan,
runtime: &RuntimeHandle,
) -> Result<RuntimeResourceSnapshot>
Read a timestamped resource snapshot of a started runtime.
The snapshot covers the runtime’s local adapter host process and its live descendants. It does not wait for a running invocation. It returns FabricError::ResourceObservationUnavailable when the runtime stopped, is stopping, its host exited, a live process in its tree or the process table cannot be read, or the process tree kept changing during the read, and FabricError::ResourceObservationUnsupported when the adapter kind, environment provider, or operating system has no resource reader.