Skip to content

Commit eb5ee06

Browse files
authored
Qwen image edit (#37)
* New nodes (#35) * Add 'none' option to LoRA_MODELS and improve reference image handling in Predictor class * Update task choices in Predictor class to include 'none' option for improved flexibility in task selection. * Refactor error handling in Predictor class to require only 'image' parameter, simplifying input validation for predictions. * Remove unused character image files and update dataset loading functions to support spatial configurations. * import fix * Update .gitignore to improve file exclusion patterns and remove unused checkpoint files from the training directory. * Remove unused filtered image files from character spatial reference directory to clean up the dataset. * Add debug print statements for dataset loading and image optimization in FluxOminiKontextDataset class * Enhance print statements in training and dataset classes to clarify LoRA weight usage and provide image size during optimization. * Editor node rotation (#34) * rotation support * renaming * fixes * predit qwen * Update diffusers package version to 0.35.1 in requirements and cog.yaml; remove direct installation from git in build process.
1 parent c3c42b4 commit eb5ee06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ build:
1616

1717
# a list of packages in the format <package-name>==<version>
1818
python_packages:
19+
- diffusers==0.35.1
1920
- transformers
2021
- sentencepiece
2122
- protobuf
@@ -35,7 +36,6 @@ build:
3536

3637
run:
3738
- curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.6.0/pget_linux_x86_64" && chmod +x /usr/local/bin/pget
38-
- pip install git+https://github.com/huggingface/diffusers
3939

4040
predict: "predict.py:Predictor"
4141
# train: "trainer.py:train"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
torch>=2.0.0
22
lightning>=2.0.0
3-
diffusers>=0.25.0
3+
diffusers>=0.35.1
44
transformers>=4.35.0
55
peft>=0.17.0
66
prodigyopt>=1.0.0

0 commit comments

Comments
 (0)