Skip to content

kcyarn/oobabooga_intel_arc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Making Oobabooga and Intel Arc Work Together

These are helpers and scripts for using Intel Arc gpus with oobabooga's text-generation-webui. Contributions welcome.

See the original post for more details.

This is just a starting point. Changes are welcome. Once it's right in bash, we can decide whether to integrate it with oobabooga's start_linux.sh, requirements files, and one_click.py.

Getting Started

  1. Download or clone a fresh copy of Oobabooga.

  2. Save the below scripts into text-generation-webui. These should be in the same folder as one_click.py, cmd_linux.sh, etc.

  3. Make them executable.

    cd text-generation-webui
    ./install_arch.sh
  4. Check clinfo for your hardware information.

    clinfo -l
  5. In run_arc.sh, find GGML_OPENCL_PLATFORM and change it to your platform number. Then change the GGML_OPENCL_DEVICE to your device name. If you have not added OneAPI's setvars.sh to your .bashrc, uncomment the source line. Save the file.

  6. Start the server with run_arch.sh. This uses any flags you've saved in CMD_FLAGS.txt. You can also use flags like --listen --api with the script.

    ./run_arch.sh

About

Helpers and scripts for using Intel Arc gpus with oobabooga's text-generation-webui

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages