Skip to main content

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

VersionComment
v3
  • Bugfixes for loss functions
  • Added missing optimizers: SGD, Adadelta, Adagrad, Adam, and Adamax
  • Fixed possible segfault in PluggableDevice host_memory_allocate
v2
  • Minor changes to enable TF v2.7.1 and v2.8.0
  • Fixed vedaInit error checking to ignore if already initialized
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
...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

veda_tensorflow-2.7.1.post3-py3-none-any.whl (295.1 kB view details)

Uploaded Python 3

File details

Details for the file veda_tensorflow-2.7.1.post3-py3-none-any.whl.

File metadata

  • Download URL: veda_tensorflow-2.7.1.post3-py3-none-any.whl
  • Upload date:
  • Size: 295.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.2 importlib-metadata/4.8.1 keyring/18.0.1 rfc3986/1.5.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for veda_tensorflow-2.7.1.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 08fd2bb4d5322f681667a7edea40e6a602f0c03d8c46c38094e924c1246f8082
MD5 35c91fdf5e0e302c306252906131d352
BLAKE2b-256 5c7ca86473ba48450162b32813f5ab4b5ebdae4e3573aac76c463f2b6b67c48d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page