Comments (3)
Note that I'm also adding a synchronize
method across devices in #2055, this will ensure that there is a unified and simple way to make these calls.
from candle.
I'm actually in the middle of an overhaul of the metal backend on this PR, could you try out this branch with your benchmark and see if it's still an issue? Note that I've replaced the "wait_until_completed" method with a "synchronize" method to match the cuda backend
from candle.
CC @louisfd
from candle.
Related Issues (20)
- 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
- Falcon implementation issues HOT 2
- llama example seems broken HOT 4
- flash attention does not yield speed gains on llama example HOT 1
- [Possible bug?] Apparent memory leak in repeat_kv, KV cache HOT 3
- [Bug] Multiple batches fails in `quantized` example HOT 2
- Quantized Matmul: Small batches are slower than no-batch HOT 11
- VarBuilder from custom VarMap causes OOM HOT 4
- `Op::Unary(arg, UnaryOp::Silu)` branch in Tensor::backward() may cause NaN HOT 2
- Codegemma-7b-instruct failure on Metal HOT 4
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.