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 | |
Python | ≥ 3.7 | needs to be manylinux_2_17 compatible |
GCC | ≥ 8.3 | ≥ 9.0 when using PyTorch ≥ 2.2 |
GraphViz | any | if using debug features |
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_17" | 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
_ instead of @ in your username. So
something@your-domain.eu needs to be
something_your-domain.eu .
|
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.
How can I automate the SOL installation? | |
---|---|
Since v0.5.1 the installer has a non-interactive mode. Please check out
nec-sol --help to get all available options.
|
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 --devices x86 ve
nvidia and --framework torch numpy onnx tensorflow
attributes for nec-sol .
|
I get -bash: !...: event not found or __main__.py: error: unrecognized arguments: ... | |
---|---|
If your password contains special characters such as ! or
* , you need to put your entire password into single quotes
--password 'my!passw*rd' , otherwise your shell will try to
interpret these.
|
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 pip3 install nec-sol-core[FEATURES] -f .
where FEATURES can be: torch, tensorflow, onnx, numpy, vllm, x86,
nvidia, ve, tests and sdk.
In setuptools you can similarly use nec-sol-core[FEATURES] as a
dependency.
|
How can I upgrade/change the version of SOL? | |
---|---|
For upgrading run:
|
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 --trust when running nec-sol .
|
Solution #2 |
On CentOS pip does not trusts not the systems certificates. As user you can fix this problem with: pip3 config set cert /etc/pki/tls/certs/ca-bundle.crt . As root you can fix this for all users using:
|
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 nec-sol install
--user you can enforce installation into the user folder.
|
My license expired. How can I renew my SOL license? | |
---|---|
Just run nec-sol renew-license .
|