Comments (2)
See upstream issue openxla/iree#9087 (comment)
from shark.
<stdin>:295:11: error: failed to materialize conversion for result #0 of operation 'hal.interface.binding.subspan' that remained live after conversion
%55 = tensor.expand_shape %54 [[0], [1, 2, 3]] : tensor<1x?xf32> into tensor<1x1x1x?xf32>
^
<stdin>:23:3: note: called from
func.func @forward(%arg0: tensor<1x128xi64>) -> tensor<1x2xf32> {
^
<stdin>:315:11: note: see existing live user here: %19 = memref.subview %13[0, 0, 0, %18] [1, 1, 1, %5] [1, 1, 1, 1] : memref<1x1x1x?xf32> to memref<?xf32, affine_map<(d0)[s0] -> (d0 + s0)>> loc(callsite("<stdin>":315:11 at "<stdin>":23:3))
%75 = tensor.extract_slice %55[0, 0, 0, %64] [1, 1, 1, %74] [1, 1, 1, 1] : tensor<1x1x1x?xf32> to tensor<1x1x1x?xf32>
^
<stdin>:325:11: error: failed to run translation of source executable to target executable for backend #hal.executable.target<"vulkan", "vulkan-spirv-fb", {spv.target_env = #spv.target_env<#spv.vce<v1.3, [Shader, GroupNonUniform, GroupNonUniformVote, GroupNonUniformArithmetic, GroupNonUniformBallot, GroupNonUniformShuffle, GroupNonUniformShuffleRelative], [SPV_KHR_storage_buffer_storage_class]>, SwiftShader:CPU, {cooperative_matrix_properties_nv = [], max_compute_shared_memory_size = 16384 : i32, max_compute_workgroup_invocations = 128 : i32, max_compute_workgroup_size = dense<[128, 128, 64]> : vector<3xi32>, subgroup_size = 4 : i32}>}>
%78 = linalg.generic {indexing_maps = [#map3, #map5, #map4], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%77, %cst_6 : tensor<1x1x1x?xf32>, tensor<f64>) outs(%76 : tensor<1x1x1x?xf32>) {
^
<stdin>:23:3: note: called from
func.func @forward(%arg0: tensor<1x128xi64>) -> tensor<1x2xf32> {
^
<stdin>:325:11: error: failed to serialize executables
%78 = linalg.generic {indexing_maps = [#map3, #map5, #map4], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%77, %cst_6 : tensor<1x1x1x?xf32>, tensor<f64>) outs(%76 : tensor<1x1x1x?xf32>) {
^
<stdin>:23:3: note: called from
func.func @forward(%arg0: tensor<1x128xi64>) -> tensor<1x2xf32> {
^
compilation from source to vm failed
Invoked with:
iree-compile /home/prashant/SHARK/shark.venv/lib/python3.9/site-packages/iree/compiler/tools/../_mlir_libs/iree-compile - --iree-input-type=none --iree-vm-bytecode-module-output-format=flatbuffer-binary --iree-hal-target-backends=vulkan --iree-mlir-to-vm-bytecode-module --iree-llvm-embedded-linker-path=/home/prashant/SHARK/shark.venv/lib/python3.9/site-packages/iree/compiler/tools/../_mlir_libs/iree-lld --mlir-print-debuginfo --mlir-print-op-on-diagnostic=false --iree-llvm-target-cpu-features=host --iree-flow-demote-i64-to-i32 --iree-flow-demote-f64-to-f32
from shark.
Related Issues (20)
- LoRA models not showing up in dropdown
- System interrupts gets very high CPU followed by complete computer shutdown HOT 3
- Document for the compilation flow ?
- Enable llama2 benchmarking with Turbine HOT 1
- FP8 Support HOT 10
- (Shark-1.0) setup_venv.ps1 specifies a torch-mlir version that has dropped off the end of package index
- RuntimeError: duplicate registrations HOT 3
- Gradio Button has no attr "label"
- Gradio JSON has no option interactive
- problem with Torch-mlir on Ubuntu, latest en previous Shark version
- (Studio2) Centralize and minimize prompt handling for LLMs
- (Studio2) (Windows) 'rocm devices are not available'
- Drastic difference in images generated in 984 vs 1091
- Can't run SDXL Turbo at all. My 32GB of RAM at 100% and fails. HOT 2
- After compiling Vulkan shaders, multiple errors ensue HOT 3
- bf16 result mismatch for Conv2D op HOT 30
- Compiling vulkan shaders never ends HOT 4
- "AttributeError: module 'mpmath' has no attribute 'rational'" when recreating .venv (+workaround) HOT 2
- Error registering modules: C:\actions-runner\w\SRT\SRT\c\runtime\src\iree\hal\drivers\vulkan\native_executable.cc:51:
- running SDXL set to 1024x1024 renders a black image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shark.