AI Tools from Intel
Find answers to your toolkit installation, configuration, and get-started questions.
121 Discussions

Anyone Knows how to integrate my Intel Arc to windows or ubuntu to train and run LLMS on it

MJY
Beginner
1,012 Views

Hey 

i wanted to ask if you guys know how to use my intel GPU for AI training and Deploying 

i tried everything but nothing works wsl, torch extention kit for Intel gpus everything

soo yep

Labels (4)
0 Kudos
10 Replies
Vipin_Singh1
Moderator
929 Views

Hi Maximilian, Could you please share the below details with us?

 

  • Provide the exact product name and version that you are using or wish to use.
  • Include the operating system and its build version on which you are installing the product.
  • Provide a brief explanation of your query.

 

To assist you further, we would require these details.


0 Kudos
MJY
Beginner
883 Views

Hey

 

  • Iam using Windows 10 ( Build version 22H2 with latest updates)

  • Intel Arc A750 latest drivers installed

  • WSL ( latest)

I try to integrate my intel arc A750 in Windows 10 in wsl ( Windows Subsystm for Linux ) to train and execute LLM on it with the oneapi toolkit but it never works even though I follow the guide on intel so I ask here for help if someone has done this before and can help me

0 Kudos
Srii
Employee
856 Views

Do you have an specific models in mind. Please keep in mind to use a LLM that fits in the memory of Arc . This link will help you get started. https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/example/GPU/LLM-Finetuning. Additionally if you are looking at training resnet based models you can refer here too : https://github.com/intel/intel-extension-for-pytorch/tree/xpu-master/examples/gpu/training








0 Kudos
MJY
Beginner
842 Views

Can i run and finetune them over WSL?

and do you have a post or a guide how i can finetune them and run them in WSL?

0 Kudos
MJY
Beginner
626 Views

Hey so i try to use oneapi toolkit on my windows 10 maschine wiht Visual studio 22 installed and the IDE integrated and oneAPI toolkid succesfully installed.

i follow this guide: "https://www.intel.com/content/www/us/en/docs/oneapi-base-toolkit/get-started-guide-windows/2024-0/run-a-sample-project-using-an-ide.html"

 

and when they start with the first project with this topic: 

Create a Project Using Microsoft Visual Studio*

 

and i get down succesfully without error until this comes: 

  1. In the center area, select Vector Add. Vector Add is a simple test application that will help verify that the tools are setup correctly and can access your system's GPU.
  2. Click OK.
  3. From the Solution Explorer, right-click on vector-add and select Rebuild.
  4. After the program is built, click Debug > Start Without Debugging. The results will display

i tried everything but nothing is wokring i dont get the Rebuild things in my  Visual studio tried everything wiht chatgpt some listed help guides nothing is working

0 Kudos
MJY
Beginner
579 Views

MJY_0-1726392224746.png

see there is no rebuild

0 Kudos
Srii
Employee
505 Views

This should help you finetune on arc770:https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/example/GPU/LLM-Finetuning/LoRA#finetuning-llama2-7b-on-single-arc-a770


And with respect to rebuild option not being shown, did you select continue without code option at the beginning?


0 Kudos
MJY
Beginner
473 Views

Yep i selected it and selected the Oneapi example the first one and the one that they told in the start guide i did everything exactly how the start guide told me

 

And i want to use my Intel Arc A750 GPU for finetunening.

0 Kudos
MJY
Beginner
449 Views

Hey again

 

Today i tried setting it up in ubuntu but intel extention for pytorch isnt working for me not inWSL or Ubuntu and your docs how to do it are so complicated becouse one says so but the other one the other.

So could you please guide me trough the Enviroment setup and how to see that Intel extention for pytorch is working.

0 Kudos
MJY
Beginner
445 Views

MJY_0-1726577724778.pngMJY_1-1726577753100.pngMJY_2-1726577774050.png

So firstly like in the how to i go to continue without code then to extentions and then to Intel and then to browse OneAPI samples and i select: Base: Vector Add i click on okey and then i want to do the rebuild but i dont have it.

MJY_3-1726577931802.png

 

i go up where you can see Build and there is an option named rebuild on i click on it and get this error:
Severity Code Description Project File Line Suppression State Details
Error LNK1104 cannot open file 'libircmt.lib' D:\Base_Vector_Add1\out\build\x64-Debug\Base_Vector_Add1 D:\Base_Vector_Add1\out\build\x64-Debug\LINK 1

but i get it becouse i installed one API onto an other Volume.

then i get to Cmakelist.txt and put the path in where the lib file is located

MJY_6-1726578289410.png

 

then i rebuild it again and get this error: 

Severity Code Description Project File Line Suppression State Details
Error CMake Error at D:\Base_Vector_Add1\CMakeLists.txt:31 (add_executable):
Cannot find source file:

src/main.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc VectorAdd D:\Base_Vector_Add1\CMakeLists.txt 31

so yea i hope that helped a bit with troubleshooting 



 

 

0 Kudos
Reply