Spaces:
Running
Running
Space fails to run when Dev Mode is enabled
#27
by
CoopMeisterFresh - opened
I have a Space running on ZeroGPU. Every time I enable this stupid Dev Mode, the container rebuilds itself and upon relaunching, spits out this:
===== Application Startup at 2026-02-20 22:57:47 =====
ACCELERATOR='zero'
COMMIT_SHA='60ade5458c3a4f49cfadbeace1ba6f4462488d83'
CPU_CORES='16'
DEBIAN_FRONTEND='noninteractive'
GRADIO_ALLOW_FLAGGING='never'
GRADIO_CACHE_EXAMPLES='lazy'
GRADIO_CACHE_MODE='lazy'
GRADIO_DEFAULT_CONCURRENCY_LIMIT='36'
GRADIO_FLAGGING_MODE='never'
GRADIO_NUM_PORTS='1'
GRADIO_SERVER_NAME='0.0.0.0'
GRADIO_SSR_MODE='True'
GRADIO_THEME='huggingface'
HF_DATASETS_TRUST_REMOTE_CODE='0'
HF_DEACTIVATE_ASYNC_LOAD='true'
HF_HUB_ENABLE_HF_TRANSFER='1'
HF_XET_HIGH_PERFORMANCE='1'
HOME='/home/user'
HOSTNAME='r-coopmeisterfresh-qwen-image-edit-rapid-aio-nsfw-v23-54b3x94lm'
IFS='
'
IMAGE_SHA='60ade5458c3a4f49cfadbeace1ba6f4462488d83'
KUBERNETES_PORT='tcp://172.20.0.1:443'
KUBERNETES_PORT_443_TCP='tcp://172.20.0.1:443'
KUBERNETES_PORT_443_TCP_ADDR='172.20.0.1'
KUBERNETES_PORT_443_TCP_PORT='443'
KUBERNETES_PORT_443_TCP_PROTO='tcp'
KUBERNETES_SERVICE_HOST='172.20.0.1'
KUBERNETES_SERVICE_PORT='443'
KUBERNETES_SERVICE_PORT_HTTPS='443'
LD_LIBRARY_PATH='/usr/local/cuda/lib64:'
MEMORY='96Gi'
NVIDIA_DRIVER_CAPABILITIES='compute,utility'
NVIDIA_VISIBLE_DEVICES='all'
OMP_NUM_THREADS='16'
OPTIND='1'
PATH='/usr/local/cuda/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
PERSISTANT_STORAGE_ENABLED='false'
PERSISTENT_STORAGE_ENABLED='false'
PPID='1'
PS1='$ '
PS2='> '
PS4='+ '
PWD='/home/user/app'
PYTHONPATH='/home/user/app'
PYTHONUNBUFFERED='1'
PYTORCH_NVML_BASED_CUDA_CHECK='1'
SPACES_ZERO_DEVICE_API_URL='http://device-api.zero'
SPACES_ZERO_GPU='1'
SPACE_AUTHOR_NAME='CoopMeisterFresh'
SPACE_CREATOR_USER_ID='69922fbab797d5ce00a3aa90'
SPACE_HOST='coopmeisterfresh-qwen-image-edit-rapid-aio-nsfw-v23.hf.space'
SPACE_ID='CoopMeisterFresh/qwen-image-edit-rapid-aio-nsfw-v23'
SPACE_REPO_NAME='qwen-image-edit-rapid-aio-nsfw-v23'
SPACE_SUBDOMAIN='coopmeisterfresh-qwen-image-edit-rapid-aio-nsfw-v23'
SPACE_TITLE='Qwen Image Edit Rapid AIO (NSFW)'
SYSTEM='spaces'
TQDM_MININTERVAL='1'
TQDM_POSITION='-1'
TZ='Europe/Paris'
ZEROGPU_OFFLOAD_DIR='/data-nvme/zerogpu-offload'
ZEROGPU_PROC_SELF_CGROUP_PATH='/etc/host-cgroup'
ZEROGPU_V2='true'
=== Application stopped (exit code: 0) at 2026-02-20 22:58:05.755127579 UTC ===
And then I see this in the sidebar:
If I click the "View logs" link, the focus is sent back to the left panel showing the above output. WTF??? Where the **** is the Python error, or ANY helpful details about what ACTUALLY went wrong?? A dump of all the env. variables doesn't ****ing help me at al!!!
Once I get the Space to build locally (while NOT connected to the Dev Mode server), it runs perfectly fine with Dev Mode disabled. But enable it again, and the same freaking bull**** occurs. WHY??? What a useless freaking feature to have!
