Stringify path for ireec.compile_file (#1901)

* Stringify path for ireec.compile_file

* Update test-models.yml
This commit is contained in:
Ean Garvey
2023-10-18 12:59:23 -07:00
committed by GitHub
parent 205e57683a
commit 4797bb89f5
2 changed files with 3 additions and 2 deletions

View File

@@ -137,7 +137,8 @@ jobs:
source shark.venv/bin/activate
echo $PATH
pip list | grep -E "torch|iree"
pytest --ci --ci_sha=${SHORT_SHA} --local_tank_cache="/Volumes/builder/anush/shark_cache" --tank_url="gs://shark_tank/nightly/" -k metal
# disabled due to a low-visibility memory issue with pytest on macos.
# pytest --ci --ci_sha=${SHORT_SHA} --local_tank_cache="/Volumes/builder/anush/shark_cache" --tank_url="gs://shark_tank/nightly/" -k metal
- name: Validate Vulkan Models (a100)
if: matrix.suite == 'vulkan' && matrix.os == 'a100'

View File

@@ -324,7 +324,7 @@ def compile_module_to_flatbuffer(
else:
assert os.path.isfile(module)
flatbuffer_blob = ireec.compile_file(
module,
str(module),
input_type=input_type,
target_backends=[iree_target_map(device)],
extra_args=args,