Summary
• Implemented global offline mode for all HuggingFace-dependent modules to eliminate unauthenticated request warnings and prevent external connection attempts during startup and runtime. Changes • Global Offline Configuration: Added HF_HUB_OFFLINE=1 and TRANSFORMERS_OFFLINE=1 to the environment variables at the top of edit_api.py, embeddings.py, watcher.py, and pose_llm/pose_llm_api.py. • Explicit Local Files Only: Updated all huggingface_hub.hf_hub_download calls in edit_api.py to include local_files_only=True, ensuring they never attempt to reach the Hub if models are already cached. • LLM Service Optimization: Updated AutoTokenizer and AutoModelForCausalLM calls in pose_llm/pose_llm_api.py to use local_files_only=True. • Consistency: Ensured that shared modules like embeddings.py which uses open_clip are also locked to offline mode to prevent background downloads.
This commit is contained in:
@@ -69,7 +69,10 @@ Scenery:
|
||||
- samengestelde outpaint featurue lijkt niet goed te werken, but individual steps work perfect.
|
||||
- regenerate a single orbit - pose
|
||||
- when generating a known pose, we should know roughly the image ratio. Make a pose-table, when a pose is generated store the wireframe and meta data
|
||||
- we can rate an image if its OVER21, manually now in the UI. this is fine, however we want to backfill this TAG for evey image
|
||||
- we can rate an image if its OVER21, manually now in the UI. this is fine, however we want to backfill this TAG for evey image
|
||||
- backfill, people-count, 21+, IS_COMPLETE, RESTRAINT
|
||||
- the wireframe / videos / sub-clips worden niet direct weergegeven
|
||||
-
|
||||
## refine
|
||||
|
||||
- when refresh page, we lose track of current jobs running.
|
||||
|
||||
Reference in New Issue
Block a user