-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compile support, PNGinfo, fixes, fixes, quality improvements.
- Loading branch information
matatonic
committed
Sep 9, 2024
1 parent
3e77c5a
commit e564df5
Showing
10 changed files
with
192 additions
and
375 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
#!/bin/sh | ||
|
||
prompt="An astronaut in the jungle, blue-orange colour scheme" | ||
CSV=perf.csv | ||
G=$1 # A100 or other | ||
folder="$1" | ||
G="$2" # A100 or other | ||
prompt="cool street art of an astronaut in a jungle, stencil and spray paint style, the flag says 'FLUX.1', on a door in a graffiti covered alley scene with used spray paint cans littering the ground, a sign by the door says 'Open' in faded, yellowed, black and white plastic, the secret door to a great club, the other writing says 'matatonic', 'flux.1 2024', 'black forest labs', 'openedai' and 'uNStaBLe' in unique styles" | ||
CSV="$folder/perf.csv" | ||
|
||
T40="schnell merged dev" | ||
T40="dall-e-3 schnell merged dev" | ||
T40C="schnell-compile merged-compile dev-compile" | ||
T24="schnell-fp8 merged-fp8-4step merged-fp8 dev-fp8 dev-fp8-e5m2" | ||
T24C="merged-fp8-4step-compile dev-fp8-e5m2-compile" | ||
T16="schnell-fp8-16GB merged-fp8-4step-16GB merged-fp8-16GB dev-fp8-16GB dev-fp8-e5m2-16GB" | ||
T24="schnell-fp8 merged-fp8-4step merged-fp8 dev-fp8" | ||
T24C="schnell-fp8-compile merged-fp8-4step-compile merged-fp8-compile dev-fp8-compile" | ||
T16="schnell-fp8-16GB merged-fp8-4step-16GB merged-fp8-16GB dev-fp8-16GB" | ||
T12="" #"sayakpaul-dev-nf4-12GB" | ||
T4="schnell-low merged-low dev-low" | ||
|
||
if [ "$G" = "A100" ]; then | ||
for i in $T40 ; do | ||
./test_images.py -p -t test/$i/$G "$prompt" -n 1 -m $i --csv $CSV -T $G | ||
./test_images.py -p -t $folder/$i/$G "$prompt" -n 1 -m "$i" --csv "$CSV" -T $G | ||
done | ||
|
||
for i in $T40C ; do | ||
./test_images.py -p -t test/$i/$G "$prompt" -n 3 -m $i --csv $CSV -T $G | ||
./test_images.py -p -t "$folder/$i/$G" "$prompt" -n 3 -m "$i" --csv "$CSV" -T $G | ||
done | ||
fi | ||
|
||
for i in $T24 $T16 $T12 $T4 ; do | ||
./test_images.py -p -t test/$i/$G "$prompt" -n 1 -m $i --csv $CSV -T $G | ||
./test_images.py -p -t "$folder/$i/$G" "$prompt" -n 1 -m "$i" --csv "$CSV" -T $G | ||
done | ||
|
||
for i in $T24C ; do | ||
./test_images.py -p -t test/$i/$G "$prompt" -n 3 -m $i --csv $CSV -T $G | ||
./test_images.py -p -t "$folder/$i/$G" "$prompt" -n 3 -m "$i" --csv "$CSV" -T $G | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.