Instructions to use yurans/flux-lora-training with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yurans/flux-lora-training with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("yurans/flux-lora-training") prompt = "unconditional (blank prompt)" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Potential Exposure of Hugging Face Token
Hello,
We are a group of security researchers conducting an analysis of publicly available resources to assess common misconfiguration risks.
During our research, we came across a Hugging Face access token exposed in a public configuration: hf_hKUd******nAim. This token appears to be linked to your account and could potentially allow unauthorized access to Hugging Face services. If left unrevoked, it may be vulnerable to misuse.
We strongly recommend that you revoke this token immediately and generate a new one. Additionally, please review your configurations to ensure that no other sensitive credentials are publicly accessible.
If you have any questions or would like assistance in securing your environment, feel free to reach out.
Best regards,