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

Add support for SD3 testing along with a refactor of the suite. #266

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
all config, tolerance updates for prompt encoder
  • Loading branch information
saienduri committed Jun 15, 2024
commit e2559153789df4359ca71ee3eb1e42ed0f36dff4
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
"config_name": "cpu_llvm_task",
"iree_compile_flags" : [
"--iree-hal-target-backends=llvm-cpu",
"--iree-llvmcpu-target-cpu-features=host"
"--iree-llvmcpu-target-cpu-features=host",
"--iree-llvmcpu-fail-on-out-of-bounds-stack-allocation=false",
"--iree-llvmcpu-distribution-size=32",
"--iree-opt-const-eval=false",
"--iree-llvmcpu-enable-ukernels=all",
"--iree-global-opt-enable-quantized-matmul-reassociation"
],
"iree_run_module_flags": [
"--device=local-task",
Expand Down
4 changes: 3 additions & 1 deletion iree_tests/configs/config_sdxl_prompt_encoder_gpu_rocm.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
],
"skip_compile_tests": [],
"skip_run_tests": [],
"expected_compile_failures": [],
"expected_compile_failures": [
"sd3-prompt-encoder",
],
"expected_run_failures": []
}
Git LFS file not shown
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
--input=1x77x2xi64=@inference_input.0.bin
--input=1x77x2xi64=@inference_input.1.bin
--input=1x77x2xi64=@inference_input.2.bin
--input=1x77x2xi64=@inference_input.3.bin
--input=1x77x2xi64=@inference_input.4.bin
--input=1x77x2xi64=@inference_input.5.bin
--expected_output=2x154x4096xf32=@inference_output.0.bin
--expected_output=2x2048xf32=@inference_output.1.bin
--expected_f32_threshold=0.15f
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--input="1x77x2xi64"
--input="1x77x2xi64"
--input="1x77x2xi64"
--input="1x77x2xi64"
--input="1x77x2xi64"
--input="1x77x2xi64"
--parameters=splats.irpa
Git LFS file not shown
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"file_format": "test_cases_v0",
"test_cases": [
{
"name": "splats",
"runtime_flagfile": "splat_data_flags.txt",
"remote_files": []
},
{
"name": "real_weights",
"runtime_flagfile": "real_weights_data_flags.txt",
"remote_files": [
"https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sd3-prompt-encoder/inference_input.0.bin",
"https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sd3-prompt-encoder/inference_input.1.bin",
"https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sd3-prompt-encoder/inference_input.2.bin",
"https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sd3-prompt-encoder/inference_input.3.bin",
"https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sd3-prompt-encoder/inference_input.4.bin",
"https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sd3-prompt-encoder/inference_input.5.bin",
"https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sd3-prompt-encoder/inference_output.0.bin",
"https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sd3-prompt-encoder/inference_output.1.bin",
"https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sd3-prompt-encoder/real_weights.irpa"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"stream-aggregate": {
"global": {
"constant-count": 436,
"constant-size": 1280,
"variable-count": 0,
"variable-size": 0
},
"synchronization": {
"await-count": 0
},
"execution": {
"submission-count": 3,
"transient-memory-size": 4529224,
"fill-count": 2,
"copy-count": 7,
"dispatch-count": 1571,
"call-count": 0
},
"executable": {
"executable-count": 40
}
}
}
Loading