aa
This commit is contained in:
17
a6000-comfy/env.sh
Executable file
17
a6000-comfy/env.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
# Shared path resolver for the Qwen-Image-Edit service on the CUDA box (RTX A6000).
|
||||
# Sourced by bootstrap.sh / run_comfyui.sh / start_api.sh.
|
||||
#
|
||||
# Unlike tour-comfy/env.sh (which derives BASE from the script location and dodges
|
||||
# an NTFS venv), this box installs into a dedicated dir OUTSIDE the git repo so the
|
||||
# ~31GB model tree + ComfyUI checkout never land in `git status`. Override with
|
||||
# COMFY_BASE / COMFY_VENV if you want it elsewhere.
|
||||
|
||||
ENV_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # repo/a6000-comfy
|
||||
BASE="${COMFY_BASE:-$HOME/comfyui}" # install root (ext4)
|
||||
COMFY="$BASE/ComfyUI"
|
||||
VENV="${COMFY_VENV:-$BASE/venv}"
|
||||
|
||||
# The FastAPI service + workflow are backend-agnostic; reuse them from tour-comfy
|
||||
# (pure HTTP to ComfyUI on :8188 — nothing ROCm-specific in there).
|
||||
API_DIR="$( cd "$ENV_DIR/../tour-comfy" && pwd )"
|
||||
Reference in New Issue
Block a user