VEDA Tensorflow
Project description
VEDA TensorFlow
VEDA TensorFlow is a library to add device support for the NEC SX-Aurora TSUBASA into TensorFlow using the Pluggable Device API.
Release Notes
Version | Comment |
---|---|
v7 |
|
v6 |
|
v5 |
|
v4 |
|
v3 |
|
v2 |
|
v1 | Initial Release |
F.A.Q.
I get the error message: "Internal: platform is already registered with name: "NEC_SX_AURORA"
This error is caused by the combination of RH-Python38 package and using a VirtualEnv. Due to improper checking for symlinks in TensorFlow the device support library gets loaded and initialized twice causing this error message.
You can use the following workaround as long as the bug is not resolved in TensorFlow.
# BEGIN BUGFIX
import sys
import os
sys.path = list(set(os.path.realpath(p) for p in sys.path))
import site
getsitepackages = site.getsitepackages
def getsitepackages_(prefixes=None):
return list(filter(lambda x: 'lib64' not in x, getsitepackages(prefixes)))
site.getsitepackages = getsitepackages_
# END BUGFIX
import tensorflow
...
I get the error message "tensorflow.python.framework.errors_impl.InvalidArgumentError: 'visible_device_list' listed an invalid Device id '1' but visible device count is 1"
This is a known problem within TF due to TF throws: "'visible_device_list' listed an invalid Device id" when using non-GPU PluggableDevices when using CUDA and VE devices at the same time. The VE devices get added to list of GPUs, ultimately creating invalid devices indices.
Either you need to manually patch your TF installation (see the TF issue), or
use VEDA_VISIBLE_DEVICES=100
or CUDA_VISIBLE_DEVICES=
to disable either the
CUDA or VE devices.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file veda_tensorflow-2.8.4.post7-py3-none-manylinux_2_17_x86_64.whl
.
File metadata
- Download URL: veda_tensorflow-2.8.4.post7-py3-none-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 332.2 kB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a308e0cd447542cb0efebdb096fc3f7baca1fc89faf946db9e8bff442a0b8d27 |
|
MD5 | f849c5f950e15a7ffbbb12a4302ff210 |
|
BLAKE2b-256 | 835e4775c1fde640be83a5f347c1ded551af54e393e369e84f5a701048440194 |