-
Notifications
You must be signed in to change notification settings - Fork 49
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
clean up README and add CONTRIBUTING guide #31
Conversation
README.md
Outdated
## License | ||
|
||
In your local checkout of [web](https://github.com/replicate/web), run | ||
Flux Dev falls under the [`FLUX.1 [dev]` Non-Commercial License](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md). | ||
|
||
```shell | ||
script/manage-prod update_hotswap_base_version \ | ||
--from-model ostris/flux-dev-lora-trainer \ | ||
--to-latest \ | ||
--trained-version-filter="<your-username>/<your-model-name>" | ||
``` | ||
|
||
This is a dry run to list the versions that will be updated. The `--trained-version-filter` can be just "<your-username>" if you want to test all your models. | ||
|
||
When you're happy to with the list of models that will be updated, run | ||
|
||
```shell | ||
script/manage-prod update_hotswap_base_version \ | ||
--from-model ostris/flux-dev-lora-trainer \ | ||
--to-latest \ | ||
--trained-version-filter="<your-username>/<your-model-name>" \ | ||
--force | ||
``` | ||
|
||
Now you can test that the predictor works for the updated model(s). | ||
|
||
When you're happy with that, do the same thing but for all models. First, a dry run: | ||
|
||
```shell | ||
script/manage-prod update_hotswap_base_version \ | ||
--from-model ostris/flux-dev-lora-trainer \ | ||
--to-latest \ | ||
``` | ||
|
||
And then actually update all the trained Flux versions: | ||
|
||
```shell | ||
script/manage-prod update_hotswap_base_version \ | ||
--from-model ostris/flux-dev-lora-trainer \ | ||
--to-latest \ | ||
--force | ||
``` | ||
|
||
This process is being improved -- soon it will be possible to configure base versions in Django admin. | ||
Flux Schnell falls under the [Apache-2.0 License](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fofr @andreasjansson does this license bit look right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I think that's good enough for now.
The contributing docs are completely out of date. Let's just delete them for now and I can make an internal guide. |
This PR updates the README and moves the nitty gritty dev env details to the new CONTRIBUTING guide.
Oh and it also mentions Flux licenses.