Coder Social home page Coder Social logo

Comments (4)

dwofk avatar dwofk commented on July 17, 2024

Hi,

Could you please provide more information about the system on which you are running? Are you getting this error on an NVIDIA Jetson TX2 platform?

The model that you are trying to load was compiled specifically to run with CUDA 8.0 on the TX2.

from fast-depth.

Trinity-Actual avatar Trinity-Actual commented on July 17, 2024

Hi,

Was wondering if this error was resolved? I'm getting the same issue when i try to run the compiled model on my computer.
I'm on Cudatoolkit 10.2. is it only compatible with Cuda 8.0?

File "/home/ubuntu/.conda/envs/Labyrinth/lib/python3.7/site-packages/tvm/contrib/cc.py", line 132, in _linux_compile
raise RuntimeError(msg)

RuntimeError: Compilation error:
/usr/bin/ld: results/tvm_compiled/tx2_cpu_mobilenet_nnconv5dw_skipadd_pruned/deploy_lib.o: Relocations in generic ELF (EM: 183)
/usr/bin/ld: results/tvm_compiled/tx2_cpu_mobilenet_nnconv5dw_skipadd_pruned/deploy_lib.o: Relocations in generic ELF (EM: 183)
results/tvm_compiled/tx2_cpu_mobilenet_nnconv5dw_skipadd_pruned/deploy_lib.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status

Thanks!

from fast-depth.

dwofk avatar dwofk commented on July 17, 2024

Hi @Trinity-Actual,

The compiled models in this repo were indeed compiled with the backend set as CUDA 8.0 and are likely not compatible with newer versions of CUDA. This is because the compilation process itself is CUDA version-specific. In this case, the original models would need to be re-compiled using TVM with the backend set as CUDA 10.2.

from fast-depth.

Ruinmou avatar Ruinmou commented on July 17, 2024

Has this problem been solved? The same problem occurs when I run under Ubuntu 18 and CUDA 10.2. Without using the GPU as CPU model, this problem still exists. Is there any good solution?
TVM specifies CUDA 10.2

from fast-depth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.