2026-07-20 14:59:31 +08:00
|
|
|
COMPUTE_ENV=prod
|
|
|
|
|
COMPUTE_HOST_ID=gpu-node-01
|
2026-07-21 10:09:36 +08:00
|
|
|
MODELTF_ROUTE_PREFIX=/modelTF
|
2026-07-21 09:23:43 +08:00
|
|
|
# Five-digit host ports exposed outside the compute server.
|
|
|
|
|
COMPUTE_API_PORT=19100
|
|
|
|
|
FILE_GATEWAY_PORT=19101
|
|
|
|
|
COMPUTE_API_IMAGE=yg-ft-compute-api:latest
|
2026-07-20 14:59:31 +08:00
|
|
|
|
|
|
|
|
# The application server actively polls Compute API; compute server does not need reverse access.
|
|
|
|
|
COMPUTE_SERVICE_TOKEN=change_me
|
|
|
|
|
ENABLE_APP_CALLBACK=false
|
|
|
|
|
|
2026-07-21 09:23:43 +08:00
|
|
|
# LLaMA-Factory is provided by the official hiyouga/llamafactory base image.
|
|
|
|
|
LLAMA_FACTORY_HOME=/app/LLaMA-Factory
|
2026-07-20 14:59:31 +08:00
|
|
|
|
|
|
|
|
YG_FT_DATA_ROOT=/data/yg-ft
|
|
|
|
|
YG_FT_DATA_ROOT_HOST=/data/yg-ft
|
|
|
|
|
|
|
|
|
|
LOG_DIR=/opt/yg-ft/logs/compute
|
|
|
|
|
CUDA_VISIBLE_DEVICES=all
|
|
|
|
|
NVIDIA_VISIBLE_DEVICES=all
|
|
|
|
|
NVIDIA_DRIVER_CAPABILITIES=compute,utility
|