Giter Club home page Giter Club logo

Comments (3)

sno2 avatar sno2 commented on May 28, 2024

Hello, I believe the issue is that you passed in the --unstable flag after the file. Can you try running your command again with the --unstable flag after the -A flag?

bash deno run -A --unstable ./src/tweets.ts

from bertml.

onmax avatar onmax commented on May 28, 2024

I am getting another error now:

Command

deno run -A --unstable ./src/tweets.ts

Error

error: Uncaught (in promise) Error: Could not open library: Could not open library: libtorch_cpu.so: cannot open shared object file: No such file or directory
  return Deno.dlopen(file.path, symbols);
              ^
    at new DynamicLibrary (deno:ext/ffi/00_ffi.js:274:39)
    at Object.dlopen (deno:ext/ffi/00_ffi.js:368:12)
    at Module.prepare (https://deno.land/x/[email protected]/plug.ts:77:15)
    at async Function.create (https://deno.land/x/[email protected]/model_manager.ts:181:17)
    at async file:///onmax/my-project/src/tweets.ts:25:17

from bertml.

sno2 avatar sno2 commented on May 28, 2024

Hmm, I suppose that means that rust-bert dynamically links torch. Sorry, did not know that it did that as I've only ran bertml locally. Can you try install libtorch v1.13.0 from https://pytorch.org/get-started/locally/ ?

Also, these are the full instructions from the rust-bert repo: https://github.com/guillaume-be/rust-bert#manual-installation-recommended

from bertml.

Related Issues (1)

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.