hi there,
I have to trying to install ryzen-ai-rt-1.3.0.1-20241217 on Windows 11 and it keeps failing with following error:
'conda' is not recognized as an internal or external command, operable program or batch file.
in C:\Temp\ryzenai_error_log
I have Anaconda3 installed, and PATH set up.
>conda
usage: conda-script.py [-h] [-v] [--no-plugins] [-V] COMMAND ...
...
please let me know how to fix this.
The machine is based on "AMD Ryzen 9 AI HX 370 APU".
Thanks,
Rajesh
Solved! Go to Solution.
Hi rajeshl,
There are two types of path, User PATH and System PATH.
Have you make sure you specified the Path under "System variable" as shown above. From there, you can click "Edit" and add path of Conda installation "Scripts" path. In most Systems Conda is installed something like "C:\Users\<user id>\AppData\Local\anaconda3\Scripts"... So please double check correct Conda PATH and please make sure it is specified to the System "Path" variable.
Happy New Year!
Any documents to show how to fix the issue above is much apprecaited.
Not sure I'm the only one facing this problem or probably no one is using these AMD chips to run any local AI/ML and LLM models.
Thanks!
i have the same issue with my ryzen ai 9 365
Hello, As per the installation documentation.
https://ryzenai.docs.amd.com/en/latest/inst.html
IMPORTANT:
Visual Studio 2022 Community: ensure that “Desktop Development with C++” is installed
Anaconda or Miniconda: ensure that the following path is set in the System PATH variable: path\to\anaconda3\Scripts
or path\to\miniconda3\Scripts
(The System PATH variable should be set in the System Variables section of the Environment Variables window).
The error you are getting because either you have not installed Anaconda or you did not specify the anaconda path in System PATH environment variable.
Thanks Uday.
I already have followed the steps and installed Visual Studio 2022 as well as set the system PATH as mentioned in the instructions.
not sure if I'm missing anything else.
Did you happen to get this working, by any chance?
Thanks!
Hi rajeshl,
There are two types of path, User PATH and System PATH.
Have you make sure you specified the Path under "System variable" as shown above. From there, you can click "Edit" and add path of Conda installation "Scripts" path. In most Systems Conda is installed something like "C:\Users\<user id>\AppData\Local\anaconda3\Scripts"... So please double check correct Conda PATH and please make sure it is specified to the System "Path" variable.
hi Uday,
Yes, I have it in both user and system paths.
What I did now was to remove all 3 paths in both places and inserted only the path to anaconda\scripts.
With this, the software installed fine. Thanks!
However, Tensorflow does not see the GPU. yet. I think that's for another ticket and few more days 🙂
I'm using the following test code..
import tensorflow as tf
# Check for available GPUs
gpus = tf.config.list_physical_devices('GPU')
print("Num GPUs Available: ", len(gpus))
# If GPUs are found, print device information
if gpus:
for gpu in gpus:
print("GPU:", gpu)
Let me know if I you have this step working as well.
Thank you!
Rajesh