Coder Social home page Coder Social logo

Comments (3)

wensdong avatar wensdong commented on June 21, 2024 1

After a little back and forth, it worked. Thanks so much!

from chatrwkv.

wensdong avatar wensdong commented on June 21, 2024

The following is the full error mesaage:

"ChatRWKV project: https://github.com/BlinkDL/ChatRWKV

Loading ChatRWKV - English - cuda - fp16 - QA_PROMPT False

RWKV_JIT_ON 1

Loading model - /content/ChatRWKV/rwkv-4-pile-169m/RWKV-4-Pile-169M-20220807-8023

RuntimeError Traceback (most recent call last)
in
197
198 print(f'Loading model - {MODEL_NAME}')
--> 199 model = RWKV_RNN(args)
200
201 model_tokens = []

2 frames
/usr/local/lib/python3.8/dist-packages/torch/cuda/init.py in _lazy_init()
245 if 'CUDA_MODULE_LOADING' not in os.environ:
246 os.environ['CUDA_MODULE_LOADING'] = 'LAZY'
--> 247 torch._C._cuda_init()
248 # Some of the queued calls may reentrantly call _lazy_init();
249 # we need to just return without initializing in that case.

RuntimeError: No CUDA GPUs are available"

from chatrwkv.

BlinkDL avatar BlinkDL commented on June 21, 2024

pip install torch --extra-index-url https://download.pytorch.org/whl/cu117
Make sure you install torch 1.13.1+cu117

from chatrwkv.

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.