If you are upgrading from a pre v0.4 release you need to first run pip3 uninstall sol as the package name has changed!
SOL has rather small number of requirements:
| Requirement | Version | Comment |
|---|---|---|
| Linux | any | needs to be manylinux_2_28 compatible |
| Python | ≥ 3.9 | |
| GCC | ≥ 8.3 | ≥ 9.0 when using PyTorch ≥ 2.2 |
| GraphViz | any | if using debug features |
| CUDA Toolkit | ≥ 11.8 | if using NVIDIA GPUs, lower versions disable CUBLASLT support. |
| CUDNN | ≥ 8.9 | if using NVIDIA GPUs, lower versions disable CUDNN support. |
| file | if using NVIDIA GPUs | |
| which | if using NVIDIA GPUs |
Further, requirements see in the respective framework or device sections.
To verify if your system is Manylinux compatible run this command:
python3 -c "import packaging.tags; print(*list(packaging.tags.sys_tags()),sep='\n')" | grep "py3-none-manylinux_2_28" | wc -l
If the output is 1, then your system is compatible. If 0, you need to upgrade your system.
Before you can install SOL, you need to have a SOL Closed Beta User Account. If you don’t have one, please contact your NEC sales representative or use our application form.
| How can I change my password? | |
|---|---|
|
Login to portal.neclab.eu and follow the instructions for password change. |
| My account got disabled/deleted. What can I do? | |
|---|---|
|
In this case you need to contact us, and we need to reenable your account manually. |
| Why does my account not work for the Bug Tracker? | |
|---|---|
|
For technical reasons, the login to the Bug Tracker uses
|
First you need to install the SOL installer using:
pip3 install --upgrade nec-sol
The SOL installer allow you to manage your installation. The installer automatically detects which frameworks you have installed, and only installs necessary SOL extensions. This means you need to install all frameworks you want to use prior installing SOL.
For installing SOL modules, just run:
nec-sol install
The installer will prompt you to enter your login credentials and accept the user license agreement. Since v0.5.1 the installer automatically installs all SOL extensions that are supported on your system and that you have access to.
Since v0.8 the SOL installer supports Python keyrings. For this please install
pip3 install keyring, and setup a backed (follow the instructions in the
keyring documentation).
Next, you need to execute the following two commands to set your username and password accordingly.
python3 -m keyring set nec-sol username
python3 -m keyring set nec-sol password
After you can run the SOL installer without providing any username or password!
To install SOL using UV, you can use the following script.
Be aware that UV automatically accepts the SOL license agreement on your behalf and you will not be explicitly prompted to accept them! By using this method you accept all terms of the SOL license agreement!
[project]
...
dependencies = [
"nec-sol-core[{FEATURES}]=={VERSION}",
]
[tool.uv]
find-links = [
"https://sol.neclab.eu/core/dist/",
"https://sol.neclab.eu/core/v{VERSION}/",
"https://sol.neclab.eu/nvidia/dist/",
"https://sol.neclab.eu/nvidia/v{VERSION}/",
"https://sol.neclab.eu/ve/dist/",
"https://sol.neclab.eu/ve/v{VERSION}/",
"https://sol.neclab.eu/x86/dist/",
"https://sol.neclab.eu/x86/v{VERSION}/",
"https://sol.neclab.eu/license/index.php/pip-license-index",
]
You need to replace {FEATURES} with a list of features you want to use and
{VERSION} with the version you want to use, e.g.,
nec-sol-core[torch,x86]==0.7.3. Ensure that you also replace {VERSION} in
the URLs!
For authentication please follow these
instructions. tl;dr;
you can alternatively create the file ~/.netrc, with following content:
machine sol.neclab.eu
user your_email@address.com
password your_password
Be aware that the .netrc stores your password in plain text!
| How can I automate the SOL installation? | |
|---|---|
|
Since v0.5.1 the installer has a non-interactive mode. Please check out
|
| How can I install/download specific devices/frameworks? | |
|---|---|
|
By default, the installer installs devices and frameworks detected in your OS.
If you want to specify them manully, just use the |
I get -bash: !...: event not found or __main__.py: error: unrecognized arguments: ... | |
|---|---|
|
If your password contains special characters such as |
I get 'latin-1' codec can't encode character '\u2019' in position 50: ordinal not in range(256) | |
|---|---|
|
This is caused by non-utf-8 encoding in your Python installation. Set this env
var |
Just run:
nec-sol uninstall
Alternatively you can run:
pip3 freeze | grep nec-sol | xargs pip3 uninstall -y
To install SOL on a server without internet connectivity run the following commands on a machine with internet access:
pip3 install nec-sol
pip3 download nec-sol
nec-sol download
scp *.whl target_machine:/some/path
Then switch to your target machine and execute:
cd /some/path
pip3 install nec_sol-*.whl
nec-sol install -f .
| How can I install SOL on the remote system without using the installer? | |
|---|---|
|
Since v0.5.2 you can use In setuptools you can similarly use |
| How can I upgrade/change the version of SOL? | |
|---|---|
|
For upgrading run: Be aware that previous versions of SOL used a different installer and might need different steps to be installed. |
| I totally messed up everything, how can I reset SOL? | |
|---|---|
|
PIP does not trust sol.neclab.eu OR I get following error: SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)
| |
|---|---|
| Solution #1 (not recommended) |
Add |
| Solution #2 |
On CentOS pip does not trusts not the systems certificates. As user you can fix this problem with: |
| How can I decide to install into user or global site-packages? | |
|---|---|
|
By default the installer uses pip’s default. Usually this is to install globally
if run as root, otherwise to install to user. Using |
| My license expired. How can I renew my SOL license? | |
|---|---|
|
Just run |