Comments (3)
Lookup CUDA_VISIBLE_DEVICES environment variable on how to restrict devices visible to your cuda code. Should not require any code changes.
from candle.
When you create the cuda device, you could should be able to choose the device id to use, e.g. Device::new_cuda(0)?
.
from candle.
thanks. environment var works.
from candle.
Related Issues (20)
- Qwen2: can not run with the latest Qwen2 models HOT 3
- How to Implement New Operators Using CUDA Host Functions Along with Thrust and CUB Libraries HOT 1
- Implement unfold function
- Implement torch.scatter HOT 1
- Provide a simple Stable Diffusion 3 (SD3) inference example
- Status of Apple silicon M3 GPU support?
- Quantized-t5 models on Cuda HOT 2
- WASM library examples require HTTPS
- Metal memory leak multiplying matrices HOT 3
- Is it advisable to avoid variable shadowing when using Candle?
- candle-flash-attn infinite compile time HOT 1
- Model Context Not Resetting Between Requests Leading to Invalid Responses
- Tensor not dropped after another tensor was assigned to variable in cuda HOT 3
- Mamba model is broken with `f16` precision HOT 1
- Slow YOLOv8 using MKL
- candle examples fail on cuda with CUDA_DEVICE_NO_ERROR. Device caps of 7.5 HOT 2
- Parler TTS support?
- Positional encoding in DINOv2: Case without interpolation
- new model : DINOv2 reg4 with weights from PlantCLEF 2024 HOT 1
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.