Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add OpenCL support #661

Closed
wants to merge 5 commits into from
Closed

feat: Add OpenCL support #661

wants to merge 5 commits into from

Conversation

itlackey
Copy link

This feature would enable running Tabby locally on Intel GPUs such as Arc (and potentially integrated GPUs).

Copy link
Member

@wsxiaoys wsxiaoys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also move files from contrib/clblast to contrib/opencl

contrib/clblast/Dockerfile Outdated Show resolved Hide resolved
contrib/clblast/Dockerfile Outdated Show resolved Hide resolved
contrib/clblast/Dockerfile.llama Outdated Show resolved Hide resolved
contrib/clblast/start.sh Outdated Show resolved Hide resolved
crates/llama-cpp-bindings/Cargo.toml Outdated Show resolved Hide resolved
crates/llama-cpp-bindings/build.rs Outdated Show resolved Hide resolved
crates/tabby/src/serve/mod.rs Outdated Show resolved Hide resolved
@itlackey itlackey changed the title Feature/clblast (feat): Add OpenCL support Oct 29, 2023
@itlackey itlackey changed the title (feat): Add OpenCL support feat: Add OpenCL support Oct 29, 2023
@@ -0,0 +1,47 @@
FROM rust:latest as build
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
FROM rust:latest as build
FROM ubuntu:23.04 as build

Since you're not using rust from rust:latest anyway

contrib/opencl/README.md Show resolved Hide resolved
crates/llama-cpp-bindings/build.rs Outdated Show resolved Hide resolved
crates/tabby/src/serve/mod.rs Outdated Show resolved Hide resolved
@wsxiaoys
Copy link
Member

@itlackey itlackey closed this by deleting the head repository Mar 10, 2024
@lunks
Copy link

lunks commented May 6, 2024

@itlackey Hey, did you drop this? I might want to take a shot at it. Are there any issues with the current implementation? The comments indicate it was almost ready for merging.

@wsxiaoys
Copy link
Member

wsxiaoys commented May 6, 2024

@itlackey Hey, did you drop this? I might want to take a shot at it. Are there any issues with the current implementation? The comments indicate it was almost ready for merging.

Might consider using vulkan backend, see https://tabby.tabbyml.com/blog/2024/05/01/vulkan-support/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants