Coder Social home page Coder Social logo

chatwithangel's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

openaic

chatwithangel's Issues

RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'

Traceback (most recent call last):
File "/home/wangchenpeng/lib/python3.9/site-packages/gradio/routes.py", line 437, in run_predict
output = await app.get_blocks().process_api(
File "/home/wangchenpeng/lib/python3.9/site-packages/gradio/blocks.py", line 1352, in process_api
result = await self.call_function(
File "/home/wangchenpeng/lib/python3.9/site-packages/gradio/blocks.py", line 1093, in call_function
prediction = await utils.async_iteration(iterator)
File "/home/wangchenpeng/lib/python3.9/site-packages/gradio/utils.py", line 341, in async_iteration
return await iterator.anext()
File "/home/wangchenpeng/lib/python3.9/site-packages/gradio/utils.py", line 334, in anext
return await anyio.to_thread.run_sync(
File "/home/wangchenpeng/lib/python3.9/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/wangchenpeng/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/home/wangchenpeng/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/home/wangchenpeng/lib/python3.9/site-packages/gradio/utils.py", line 317, in run_sync_iterator_async
return next(iterator)
File "/home/wangchenpeng/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 35, in generator_context
response = gen.send(None)
File "/mnt1/wcp/baichuan/baichuan_chat_bot-master/src/ui/webui.py", line 166, in stream_chat
with torch.cuda.amp.autocast(): model.generate(**generation_params)
File "/home/wangchenpeng/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/wangchenpeng/lib/python3.9/site-packages/transformers/generation/utils.py", line 1485, in generate
return self.sample(
File "/home/wangchenpeng/lib/python3.9/site-packages/transformers/generation/utils.py", line 2524, in sample
outputs = self(
File "/home/wangchenpeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/mnt1/wcp/baichuan/baichuan_chat_bot-master/src/model/modeling_baichuan.py", line 629, in forward
outputs = self.model(
File "/home/wangchenpeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/mnt1/wcp/baichuan/baichuan_chat_bot-master/src/model/modeling_baichuan.py", line 521, in forward
layer_outputs = decoder_layer(
File "/home/wangchenpeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/mnt1/wcp/baichuan/baichuan_chat_bot-master/src/model/modeling_baichuan.py", line 326, in forward
hidden_states, self_attn_weights, present_key_value = self.self_attn(
File "/home/wangchenpeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/mnt1/wcp/baichuan/baichuan_chat_bot-master/src/model/modeling_baichuan.py", line 206, in forward
proj = self.W_pack(hidden_states)
File "/home/wangchenpeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/wangchenpeng/lib/python3.9/site-packages/torch/nn/modules/linear.py", line 114, in forward
return F.linear(input, self.weight, self.bias)

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.