Configure Your System
Intel® oneAPI AI Analytics Toolkit
Set Environment Variables for CLI Development
Use the Conda Clone Function to Add Packages as a Non-Root User
- From the same terminal window where you ransetvars.sh, identify the Conda environments on your system:
You will see results similar to this:conda env list
- Use the clone function to clone the environment to a new folder. In the example below, the new environment is namedusr_intelpythonand the environment being cloned is namedbase(as shown in the image above).
The clone details will appear:conda create --name usr_intelpython --clone baseIf the command does not execute, you may not have access to the~/.condafolder. To fix this, delete the.condafolder and execute this command again:conda create --name usr_intelpython --clone base.
- Activate the new environment to enable the ability to add packages.conda activate usr_intelpython
- Verify the new environment is active.conda env list
For GPU Users, Install GPU Drivers
GPU: Disable Hangcheck
sudo sh -c "echo N> /sys/module/i915/parameters/enable_hangcheck"
- Open a terminal.
- Open thegrubfile in/etc/default.
- In the grub file, find the lineGRUB_CMDLINE_LINUX_DEFAULT="".
- Enter this text between the quotes (""):i915.enable_hangcheck=0
- Run this command:sudo update-grub
- Reboot the system. Hangcheck remains disabled.
GPU: Add User to Video Group
sudo usermod -a -G video <username>