Skip to content

Commit b2bfa5b

Browse files
WovchenaCopilot
andauthored
Remove flux-1-dev-non-commercial-license (openvinotoolkit#3350)
## Description The license isn't permissive. Maybe they'll negotiate it in future. CVS-181328 ## Checklist: - [x] This PR follows [GenAI Contributing guidelines](https://github.com/openvinotoolkit/openvino.genai?tab=contributing-ov-file#contributing). <!-- Always follow them. If there are deviations, explain what and why. --> - [x] Tests have been updated or added to cover the new code. <!-- Specify exactly which tests were added or updated. If the change isn't maintenance related, update the tests at https://github.com/openvinotoolkit/openvino.genai/tree/master/tests or explain in the description why the tests don't need an update. --> - [ ] This PR fully addresses the ticket - OV notebooks are out of this PR scope - [x] I have made corresponding changes to the documentation: https://wovchena.github.io/openvino.genai-public/docs/supported-models/#image-generation-models --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5dc54e9 commit b2bfa5b

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

site/docs/supported-models/_components/image-generation-models-table/models.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,12 @@ export const IMAGE_GENERATION_MODELS: ImageGenerationModelType[] = [
102102
textToImage: true,
103103
imageToImage: true,
104104
inpainting: true,
105-
loraSupport: false,
105+
loraSupport: true,
106106
links: [
107107
'https://huggingface.co/black-forest-labs/FLUX.1-schnell',
108-
'https://huggingface.co/Freepik/flux.1-lite-8B-alpha',
109-
'https://huggingface.co/black-forest-labs/FLUX.1-dev',
110108
'https://huggingface.co/shuttleai/shuttle-3-diffusion',
111109
'https://huggingface.co/shuttleai/shuttle-3.1-aesthetic',
112110
'https://huggingface.co/shuttleai/shuttle-jaguar',
113-
'https://huggingface.co/Shakker-Labs/AWPortrait-FL',
114-
'https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev',
115111
],
116112
},
117113
];

tests/python_tests/test_text_streamer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def chunks(arr: list, n: int):
1313
"openbmb/MiniCPM-o-2_6",
1414
"TinyLlama/TinyLlama-1.1B-Chat-v1.0",
1515
"NousResearch/Meta-Llama-3-8B-Instruct", # Open analog for gated "meta-llama/Meta-Llama-3-8B-Instruct",
16-
# ("black-forest-labs/FLUX.1-dev", dict(subfolder="tokenizer")), # FLUX.1-dev has tokenizer in subfolder
1716
]
1817

1918
# Check that fix for CVS-157216 works.

tests/python_tests/test_tokenizer.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ def test_set_chat_template(ov_hf_tokenizers):
298298
[
299299
"optimum-intel-internal-testing/tiny-random-Phi3ForCausalLM",
300300
"TinyLlama/TinyLlama-1.1B-Chat-v1.0",
301-
# ("black-forest-labs/FLUX.1-dev", dict(subfolder="tokenizer")), # FLUX.1-dev has tokenizer in subfolder
302301
],
303302
indirect=True,
304303
)
@@ -441,15 +440,13 @@ def hf_ov_genai_models(request, tmp_path_factory):
441440
"BAAI/bge-small-en-v1.5",
442441
{"padding_side": None},
443442
), # model with 2 RaggedToDense ops
444-
# ("black-forest-labs/FLUX.1-dev", dict(subfolder="tokenizer")), # FLUX.1-dev has tokenizer in subfolder
445443
],
446444
ids=[
447445
"phi3",
448446
"TinyLlama-1.1B-Chat-v1.0",
449447
"llava-next-right",
450448
"llava-next-left",
451449
"bge-small-en-v1.5",
452-
# "FLUX.1-dev",
453450
],
454451
indirect=True,
455452
)

tools/who_what_benchmark/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ wwb --target-model sd-lcm-int8 --gt-data lcm_test/gt.csv --model-type text-to-im
9797
### Compare Text-to-image models with LoRA
9898
```sh
9999
# Export FP16 model to OpenVINO
100-
optimum-cli export openvino -m black-forest-labs/FLUX.1-dev FLUX.1-dev-fp
100+
optimum-cli export openvino -m black-forest-labs/FLUX.1-schnell FLUX.1-schnell-fp
101101

102102
# Collect the references and save the mapping in the .csv file.
103103
# Reference images will be stored in the "reference" subfolder under the same path with .csv.
104-
wwb --base-model black-forest-labs/FLUX.1-dev --gt-data flux.1-dev/gt.csv --model-type text-to-image --adapters Octree/flux-schnell-lora Shakker-Labs/FLUX.1-dev-LoRA-add-details --alphas 0.1 0.9 --hf
104+
wwb --base-model black-forest-labs/FLUX.1-schnell --gt-data flux.1-schnell/gt.csv --model-type text-to-image --adapters Octree/flux-schnell-lora --alphas 0.1 --hf
105105
# Compute the metric
106106
# Target images will be stored in the "target" subfolder under the same path with .csv.
107-
wwb --target-model FLUX.1-dev-fp --gt-data flux.1-dev/gt.csv --model-type text-to-image --adapters flux-schnell-lora.safetensors FLUX-dev-lora-add_details.safetensors --alphas 0.1 0.9 --genai
107+
wwb --target-model FLUX.1-schnell-fp --gt-data flux.1-schnell/gt.csv --model-type text-to-image --adapters flux-schnell-lora.safetensors --alphas 0.1 --genai
108108
```
109109

110110
### Compare Text Rerank models

0 commit comments

Comments
 (0)