System Environment Variables
Execution Context Variables
# Execution paths
VH_CONFIG_DIR=/valohai/config # Configuration files
VH_INPUTS_DIR=/valohai/inputs # Downloaded input files
VH_OUTPUTS_DIR=/valohai/outputs # Files to upload
VH_REPOSITORY_DIR=/valohai/repository # Git repository code (working directory)
# Execution identifiers
VH_JOB_ID=exec-016eb6ec-50cb-0031-3f48-d556e47b1c78 # Job UUID
VH_EXECUTION_ID=016eb6ec-50cb-0031-3f48-d556e47b1c78 # Execution ID
VH_PROJECT_ID=04a37c09-dbe1-4c01-b715-0a3223c50188 # Project ID
# Pipeline context (when applicable)
VH_TASK_ID=f9c97759-513e-44a1-9666-97cf198cde80 # Task ID
VH_PIPELINE_ID=f403603b-ad11-4cc4-a90d-3118f51c8dcd # Pipeline ID
VH_PIPELINE_NODE_ID=972834e2-23b5-429a-9f6d-80b8c4a75c8a # Pipeline node ID
# TPU
VH_TPU= # Contains the GRPC endpoint(s) of the allocated Cloud TPU(s), separated by spaces (when TPUs are available)
# Distributed tasks context
VH_DIST_MEMBER_ID=abc123dfg # The name of this execution in the distributed execution group
VH_DIST_MEMBER_INDEX=1 # Zero-based index of this execution in the distributed execution group
VH_DIST_MEMBER_COUNT=3 # Number of executions in the distributed execution group
# Cloud instance IPs
VH_PUBLIC_IP=13.53.65.91 # Public IP (falls back to private if unavailable)
VH_LOCAL_IP=172.16.0.1 # Local/private IP address of cloud instance
Agent Behavior Controls
Interactive Terminal
VH_INTERACTIVE
Data
VH_NO_DATA_CACHE
VH_NO_OUTPUT_CACHE
VH_CLEAN
VH_NO_INPUT_HASHING
VH_NO_OUTPUT_HASHING
VH_RENAME_DUPLICATES
VH_ENABLE_DATASET_VERSION_PACKAGING
Configuration Files
Logging
VH_INPUT_LOGGING
Shared Cache
VH_ALLOW_INPUT_SYMLINK
VH_ALLOW_INPUT_COPY
Resource Limits
VH_CPU_LIMIT
VH_MEMORY_LIMIT
VH_SHM_SIZE
Docker
VH_DOCKER_NETWORK
VH_EXPOSE_PORTS
VH_INIT
VH_ALLOW_ENTRYPOINT
VH_NO_IMAGE_CACHE
Storage Behavior
VH_TMPFS
GPU
VH_RESET_GPU
VH_XORG
CODE
VH_CHOWN_REPOSITORY
Last updated
Was this helpful?
