Comments (3)
Thanks for reporting this, I've put a quick fix in #1993 , the longer term fix is to have this properly handled in the matmul but that's a bit more work.
from candle.
Reverted the temporary fix in favor of a proper fix #1998 (that avoids the intermediate copy). It worked fine for me on both cpu and cuda + some tests have been added but let me know if this is still an issue on your side.
from candle.
Closing as hopefully fixed, feel free to reopen if you run into further issues.
from candle.
Related Issues (20)
- inefficient implementation of gelu for fp16 HOT 4
- Recent revision for contiguous check has problems HOT 14
- Writing up a "Contributing" guide HOT 3
- How to get different outputs for the same prompt? HOT 4
- How to run inference of a (very) large model across mulitple GPUs ? HOT 2
- does candle support nvidia 2080ti on windows 11? HOT 2
- Metavoice with quantized model - "Non contiguous rmsnorm is not implemented" - on M1 Max using metal HOT 2
- How to specify which graphics card to run a task on in a server with multiple graphics cards? HOT 2
- Flash attention 2 support ? HOT 2
- Could someone please explain why this is happening? (batcher.rs seq_len:4294967040) HOT 1
- The output diverges in comparison to the Python implementation. HOT 5
- Running models with different precisions HOT 8
- How to use CUDA as the backend in `candle-wasm-examples/llama2-c` ? HOT 2
- Support for tensors with 0-length dimensions
- Unsound usages of unsafe function `slice::from_raw_parts` HOT 2
- Error: DriverError(CUDA_ERROR_NOT_FOUND, "named symbol not found") when loading cast_f32_bf16 HOT 3
- Falcon example seems broken (on metal) HOT 3
- Error: DriverError(CUDA_ERROR_OUT_OF_MEMORY, "out of memory") with multiple GPU HOT 2
- wait_until_completed is not working for metal device HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from candle.