Skip to content

Commit e392a02

Browse files
authored
Merge pull request #378 from yahoo/leewyang_v1.4.1
v1.4.1 release
2 parents 7bfeb61 + 38774d1 commit e392a02

File tree

4 files changed

+23
-14
lines changed

4 files changed

+23
-14
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
author = 'Yahoo Inc'
2828

2929
# The short X.Y version
30-
version = '1.4.0'
30+
version = '1.4.1'
3131
# The full version, including alpha/beta/rc tags
32-
release = '1.4.0'
32+
release = '1.4.1'
3333

3434

3535
# -- General configuration ---------------------------------------------------

setup.py

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
from setuptools import setup
22

3+
with open('README.md') as f:
4+
long_description = f.read()
5+
36
setup(
4-
name = 'tensorflowonspark',
5-
packages = ['tensorflowonspark'],
6-
version = '1.4.0',
7-
description = 'Deep learning with TensorFlow on Apache Spark clusters',
8-
author = 'Yahoo, Inc.',
9-
url = 'https://github.com/yahoo/TensorFlowOnSpark',
10-
keywords = ['tensorflowonspark', 'tensorflow', 'spark', 'machine learning', 'yahoo'],
11-
install_requires = ['tensorflow'],
12-
license = 'Apache 2.0',
13-
classifiers = [
7+
name='tensorflowonspark',
8+
packages=['tensorflowonspark'],
9+
version='1.4.1',
10+
description='Deep learning with TensorFlow on Apache Spark clusters',
11+
long_description=long_description,
12+
long_description_content_type='text/markdown',
13+
author='Yahoo, Inc.',
14+
url='https://github.com/yahoo/TensorFlowOnSpark',
15+
keywords=['tensorflowonspark', 'tensorflow', 'spark', 'machine learning', 'yahoo'],
16+
install_requires=['tensorflow'],
17+
license='Apache 2.0',
18+
classifiers=[
1419
'Development Status :: 4 - Beta',
1520
'Intended Audience :: Developers',
1621
'Intended Audience :: Science/Research',

tensorflowonspark/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s (%(threadName)s-%(process)d) %(message)s")
44

5-
__version__ = "1.4.0"
5+
__version__ = "1.4.1"

tensorflowonspark/util.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
import logging
1111
import os
1212
import socket
13+
import subprocess
1314
import errno
1415
from socket import error as socket_error
16+
from . import gpu_info
17+
1518

1619
def single_node_env(num_gpus=1):
1720
"""Setup environment variables for Hadoop compatibility and GPU allocation"""
@@ -34,12 +37,13 @@ def single_node_env(num_gpus=1):
3437
logging.info("Using CPU")
3538
os.environ['CUDA_VISIBLE_DEVICES'] = ''
3639

40+
3741
def get_ip_address():
3842
"""Simple utility to get host IP address."""
3943
try:
4044
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
4145
s.connect(("8.8.8.8", 80))
42-
ip_address = s.getsockname()[0]
46+
ip_address = s.getsockname()[0]
4347
except socket_error as sockerr:
4448
if sockerr.errno != errno.ENETUNREACH:
4549
raise sockerr

0 commit comments

Comments
 (0)