Skip to content

Commit

Permalink
add clip
Browse files Browse the repository at this point in the history
  • Loading branch information
saienduri committed Mar 26, 2024
1 parent 92f79ad commit 0aaae7e
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_iree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ jobs:
source ${VENV_DIR}/bin/activate
pytest iree_tests/simple --durations=0
- name: "Running the generated ONNX test suite"
run: |
source ${VENV_DIR}/bin/activate
pytest iree_tests/onnx/node/generated -n auto -rpfE --timeout=30 --retries 2 --retry-delay 5 --durations=10
# - name: "Running the generated ONNX test suite"
# run: |
# source ${VENV_DIR}/bin/activate
# pytest iree_tests/onnx/node/generated -n auto -rpfE --timeout=30 --retries 2 --retry-delay 5 --durations=10

# TODO(scotttodd): add a local cache for these large files to a persistent runner
- name: "Downloading remote files for real weight model tests"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--parameters=model=real_weights.irpa
--input=1x77xi64=@inference_input.0.bin
--expected_output=1x77x768xf32=@inference_output.0.bin
--expected_output=1x768xf32=@inference_output.1.bin
Binary file not shown.
2 changes: 2 additions & 0 deletions iree_tests/pytorch/models/sd-clip-tank/splat_data_flags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--input="1x77xi64"
--parameters=splats.irpa
Binary file not shown.
26 changes: 26 additions & 0 deletions iree_tests/pytorch/models/sd-clip-tank/test_cases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"test_cases": [
{
"name": "splats",
"runtime_flagfile": "splat_data_flags.txt",
"remote_file_groups": []
},
{
"name": "real_weights",
"runtime_flagfile": "real_weights_data_flags.txt",
"remote_file_groups": [
{
"azure_account_url": "https://sharkpublic.blob.core.windows.net",
"azure_container_name": "sharkpublic",
"azure_base_blob_name": "sai/sd-clip-tank/",
"files": [
"inference_input.0.bin",
"inference_output.0.bin",
"inference_output.1.bin",
"real_weights.irpa"
]
}
]
}
]
}

0 comments on commit 0aaae7e

Please sign in to comment.