runai inference distributed logs

view logs of a distributed inference workload

runai inference distributed logs [WORKLOAD_NAME] [flags]

Examples

# Get logs for a workload
runai inference distributed logs <workload-name>

# Get logs for a specific pod in a workload
runai inference distributed logs <workload-name> --pod=<pod-name>

# Get logs for a specific container in a workload
runai inference distributed logs <workload-name> --container=<container-name>

# Get the last 100 lines of logs
runai inference distributed logs <workload-name> --tail=100

# Get logs with timestamps
runai inference distributed logs <workload-name> --timestamps

# Follow the logs
runai inference distributed logs <workload-name> --follow

# Get logs for the previous instance of the workload
runai inference distributed logs <workload-name> --previous

# Limit the logs to 1024 bytes
runai inference distributed logs <workload-name> --limit-bytes=1024

# Get logs since the last 5 minutes
runai inference distributed logs <workload-name> --since=300s

# Get logs since a specific timestamp
runai inference distributed logs <workload-name> --since-time=2023-05-30T10:00:00Z

# Wait up to 30 seconds for a workload to be ready for logs
runai inference distributed logs <workload-name> --wait-timeout=30s

Options

Options inherited from parent commands

SEE ALSO

  • runai inference distributed - Runs multiple coordinated inference processes across multiple nodes. Required for models too large to run on a single node.

Last updated