GPU: AMD radeon tm 890M graphics AMD Radeon™ 890M integrated GPU is based on the gfx1150 architecture, which corresponds to the RDNA 3.5 generation used in AMD's Strix Point APUs like the Ryzen AI 300 series
Issue:
PS C:\Users\chiliu12\Documents\src> git clone https://github.com/ROCm/TheRock.git
git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ git clone https://github.com/ROCm/TheRock.git
+ ~~~
+ CategoryInfo : ObjectNotFound: (git:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Solution:
Install git by https://git-scm.com/downloads/win Install python3.12
Issue:
PS C:\Users\chiliu12\Documents\src\TheRock> python3 -m venv venv
PS C:\Users\chiliu12\Documents\src\TheRock> source venv/bin/activate
source : The term 'source' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ source venv/bin/activate
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (source:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Solution: RUN PowerShell as Administrator
PS C:\Users\chiliu12\Documents\src\TheRock> venv\Scripts\Activate.ps1
venv\Scripts\Activate.ps1 : File C:\Users\chiliu12\Documents\src\TheRock\venv\Scripts\Activate.ps1 cannot be loaded
because running scripts is disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ venv\Scripts\Activate.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
PS C:\Users\chiliu12\Documents\src\TheRock> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): A
PS C:\Users\chiliu12\Documents\src\TheRock> venv\Scripts\Activate.ps1
(venv) PS C:\Users\chiliu12\Documents\src\TheRock>
Follow https://github.com/ROCm/TheRock/blob/main/external-builds/pytorch/README.md
RuntimeError: VCToolsRedistDir not set, can't copy libomp to torch libIt should be fixed by install visual studios and set its environment path. It will install vs2022 automatically, but you will find pytorch required 2019 later. Here is a 2022 style fix the issue. Once you got 2019 installed, should follow the same way.
Set enviroment variables.
OR