I've specified the command as floyd run --gpu 'python myfile.py'
This is the current status:
2018-11-21 08:16:28,081 INFO - Preparing to run TaskInstance <TaskInstance: dbhadra/projects/chotka/4 (id: RzngmsxL526CwAe3eiLBFQ)
2018-11-21 08:16:28,103 INFO - Starting attempt 1
2018-11-21 08:16:28,114 INFO - Downloading and setting up data sources
2018-11-21 08:16:28,371 INFO - Using Docker image: floydhub/tensorflow:1.9.0-gpu.cuda9cudnn7-py3_aws.35
2018-11-21 08:16:28,501 INFO - Starting container...
2018-11-21 08:16:28,715 INFO -
################################################################################
2018-11-21 08:16:28,715 INFO - Run Output:
2018-11-21 08:16:29,423 INFO - Collecting haversine (from -r floyd_requirements.txt (line 1))
2018-11-21 08:16:29,545 INFO - Downloading https://files.pythonhosted.org/packages/92/1c/de387b6399070587970fe2007f8b1064d7f948cbb78c07fb61c65cbff560/haversine-1.0.2.tar.gz
2018-11-21 08:16:30,119 INFO - Collecting xlrd (from -r floyd_requirements.txt (line 2))
2018-11-21 08:16:30,150 INFO - Downloading https://files.pythonhosted.org/packages/07/e6/e95c4eec6221bfd8528bcc4ea252a850bffcc4be88ebc367e23a1a84b0bb/xlrd-1.1.0-py2.py3-none-any.whl (108kB)
2018-11-21 08:16:30,222 INFO - Building wheels for collected packages: haversine
2018-11-21 08:16:30,223 INFO - Running setup.py bdist_wheel for haversine: started
2018-11-21 08:16:30,621 INFO - Running setup.py bdist_wheel for haversine: finished with status 'done'
2018-11-21 08:16:30,621 INFO - Stored in directory: /root/.cache/pip/wheels/a9/65/e6/0f765377c5b6fbe2dd7f784ba50d5b37934f695270bed97ffb
2018-11-21 08:16:30,628 INFO - Successfully built haversine
2018-11-21 08:16:31,156 INFO - menpo 0.8.1 has requirement matplotlib<2.0,>=1.4, but you'll have matplotlib 2.2.3 which is incompatible.
2018-11-21 08:16:31,157 INFO - menpo 0.8.1 has requirement pillow<5.0,>=3.0, but you'll have pillow 5.2.0 which is incompatible.
2018-11-21 08:16:31,157 INFO - menpo 0.8.1 has requirement scipy<1.0,>=0.16, but you'll have scipy 1.1.0 which is incompatible.
2018-11-21 08:16:31,157 INFO - Installing collected packages: haversine, xlrd
2018-11-21 08:16:31,455 INFO - Successfully installed haversine-1.0.2 xlrd-1.1.0
2018-11-21 08:16:31,617 INFO - You are using pip version 10.0.1, however version 18.1 is available.
2018-11-21 08:16:31,617 INFO - You should consider upgrading via the 'pip install --upgrade pip' command.
2018-11-21 08:16:31,666 INFO - Starting services.
2018-11-21 08:16:33,463 INFO - Chotka.py:17: FutureWarning: the 'parse_cols' keyword is deprecated, use 'usecols' instead
2018-11-21 08:16:33,463 INFO - df = pd.read_excel(path,parse_cols = [1,2,3,4,5,7,8])
2018-11-21 08:16:36,710 INFO - /usr/local/lib/python3.6/site-packages/pandas/core/indexing.py:189: SettingWithCopyWarning:
2018-11-21 08:16:36,712 INFO - A value is trying to be set on a copy of a slice from a DataFrame
2018-11-21 08:16:36,712 INFO -
2018-11-21 08:16:36,712 INFO - See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy
2018-11-21 08:16:36,712 INFO - self._setitem_with_indexer(indexer, value)
Why is it not using the GPU?