Skip to content

Add Hugging Face model access instructions to validator docs, fix LLM device mapping for multi-GPU#194

Merged
benliang99 merged 9 commits intov3from
V3/device-map
May 14, 2025
Merged

Add Hugging Face model access instructions to validator docs, fix LLM device mapping for multi-GPU#194
benliang99 merged 9 commits intov3from
V3/device-map

Conversation

@benliang99
Copy link
Contributor

  • Added section to Validating.md with instructions for gaining access to required Hugging Face models (FLUX.1-dev, DeepFloyd IF).
  • Added logging of generation arguments in generation_pipeline.py.
  • Fix LLM loading for multi-GPU in prompt_generator.py: use device_map and remove .to(self.device) for quantized models. Quantized LLMs must use device_map for correct device placement; calling .to(self.device) causes device mismatch errors. Parse GPU ID from device string for device_map assignment.

benliang99 and others added 9 commits May 13, 2025 22:27
… logging and fix LLM device mapping for multi-GPU

- Added section to Validating.md with instructions for gaining access to required Hugging Face models (FLUX.1-dev, DeepFloyd IF).
- Added logging of generation arguments in generation_pipeline.py.
- Fix LLM loading for multi-GPU in prompt_generator.py: use device_map and remove .to(self.device) for quantized models.
  Quantized LLMs must use device_map for correct device placement; calling .to(self.device) causes device mismatch errors. Parse GPU ID from device string for device_map assignment.
…ompatibility; add doc note for existing validators' Hugging Face access
@benliang99 benliang99 merged commit 918e182 into v3 May 14, 2025
@dylanuys dylanuys deleted the V3/device-map branch December 3, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants