Can we cross build iree-run-module for RISCV architecture?
              
              #17881
            
            
                  
                    
                      FlintWangacc
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| Yep, the runtime is designed to be cross compiled for all sorts of platforms. See https://iree.dev/building-from-source/riscv/#configure-and-build for RISC-V. This could also be helpful to run or reference: https://github.com/iree-org/iree/blob/main/build_tools/cmake/build_riscv.sh. Here is a recent run of that script on our CI where you can see the variables fully expanded and other logs: https://github.com/iree-org/iree/actions/runs/9900554673/job/27351890948#step:7:129 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to run a model on RISCV devices. But the RISCV enviornment has limited resources so I can't build whole iree toolchain.
Is the following way possible?
iree-run-moduleon server and copy to RISCV device.I understand how to build .vmfb file. Is there any way to cross build
iree-run-moduleBeta Was this translation helpful? Give feedback.
All reactions