Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Based on training my own flux model #236

Open
KoDelioDa opened this issue Dec 14, 2024 · 3 comments
Open

Based on training my own flux model #236

KoDelioDa opened this issue Dec 14, 2024 · 3 comments

Comments

@KoDelioDa
Copy link

when I use run.py to train the model, the model is downloaded automatically. I want to know where this model is downloaded to, and I want to replace it with my own base model for training

@prp-e
Copy link

prp-e commented Dec 15, 2024

The better way would be tweaking the code to read from your own huggingface repo or local machine.

@0x1355
Copy link

0x1355 commented Jan 22, 2025

'name_or_path' in config.

Just point that to the path of your own model.

By default huggingface-hub downloads to cache directory - typically ~/.cache on Linux. Not sure about Windows. You can use huggingface-hub to specify local_dir and put that in 'name_or_path'.

No need to tweak the code base.

@jsemrau
Copy link

jsemrau commented Jan 22, 2025 via email

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

No branches or pull requests

4 participants