singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] chrishkchris commented on issue #704: Creation of tensor in 3.0.0 results in NonImplementedError
Date Tue, 19 May 2020 06:20:50 GMT

chrishkchris commented on issue #704:
URL: https://github.com/apache/singa/issues/704#issuecomment-630608187


   You may check the anaconda cloud for the existing version available
   https://anaconda.org/nusdbsystem/singa-cpu/files
   
   I have run python 3.7 singa 3.0.0 cpu in ubuntu without any problem, you may see the following
log:
   
   ```
   dcsysh@ncrs:/$ conda create -n singacpu37 python=3.7
   Collecting package metadata (current_repodata.json): done
   Solving environment: done
   
   ==> WARNING: A newer version of conda exists. <==
     current version: 4.8.2
     latest version: 4.8.3
   
   Please update conda by running
   
       $ conda update -n base -c defaults conda
   
   ## Package Plan ##
   
     environment location: /home/dcsysh/anaconda3/envs/singacpu37
   
     added / updated specs:
       - python=3.7
   
   
   The following packages will be downloaded:
   
       package                    |            build
       ---------------------------|-----------------
       python_abi-3.7             |          1_cp37m           4 KB  conda-forge
       setuptools-46.4.0          |   py37hc8dfbb8_0         633 KB  conda-forge
       ------------------------------------------------------------
                                              Total:         637 KB
   
   The following NEW packages will be INSTALLED:
   
     _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
     _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-0_gnu
     ca-certificates    conda-forge/linux-64::ca-certificates-2020.4.5.1-hecc5488_0
     certifi            conda-forge/linux-64::certifi-2020.4.5.1-py37hc8dfbb8_0
     ld_impl_linux-64   conda-forge/linux-64::ld_impl_linux-64-2.34-h53a641e_0
     libffi             conda-forge/linux-64::libffi-3.2.1-he1b5a44_1007
     libgcc-ng          conda-forge/linux-64::libgcc-ng-9.2.0-h24d8f2e_2
     libgomp            conda-forge/linux-64::libgomp-9.2.0-h24d8f2e_2
     libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-9.2.0-hdf63c60_2
     ncurses            conda-forge/linux-64::ncurses-6.1-hf484d3e_1002
     openssl            conda-forge/linux-64::openssl-1.1.1g-h516909a_0
     pip                conda-forge/noarch::pip-20.1-pyh9f0ad1d_0
     python             conda-forge/linux-64::python-3.7.6-h8356626_5_cpython
     python_abi         conda-forge/linux-64::python_abi-3.7-1_cp37m
     readline           conda-forge/linux-64::readline-8.0-hf8c457e_0
     setuptools         conda-forge/linux-64::setuptools-46.4.0-py37hc8dfbb8_0
     sqlite             conda-forge/linux-64::sqlite-3.30.1-hcee41ef_0
     tk                 conda-forge/linux-64::tk-8.6.10-hed695b0_0
     wheel              conda-forge/noarch::wheel-0.34.2-py_1
     xz                 conda-forge/linux-64::xz-5.2.5-h516909a_0
     zlib               conda-forge/linux-64::zlib-1.2.11-h516909a_1006
   
   
   Proceed ([y]/n)? y
   
   
   Downloading and Extracting Packages
   python_abi-3.7       | 4 KB      | ##########################################################################################################################
| 100%
   setuptools-46.4.0    | 633 KB    | ##########################################################################################################################
| 100%
   Preparing transaction: done
   Verifying transaction: done
   Executing transaction: done
   #
   # To activate this environment, use
   #
   #     $ conda activate singacpu37
   #
   # To deactivate an active environment, use
   #
   #     $ conda deactivate
   
   dcsysh@ncrs:/$ source activate singacpu37
   (singacpu37) dcsysh@ncrs:/$ conda install -c nusdbsystem -c conda-forge singa-cpu=3.0.0
   Collecting package metadata (current_repodata.json): done
   Solving environment: failed with initial frozen solve. Retrying with flexible solve.
   Solving environment: failed with repodata from current_repodata.json, will retry with next
repodata source.
   Collecting package metadata (repodata.json): done
   Solving environment: done
   
   
   ==> WARNING: A newer version of conda exists. <==
     current version: 4.8.2
     latest version: 4.8.3
   
   Please update conda by running
   
       $ conda update -n base -c defaults conda
   
   
   
   ## Package Plan ##
   
     environment location: /home/dcsysh/anaconda3/envs/singacpu37
   
     added / updated specs:
       - singa-cpu=3.0.0
   
   
   The following packages will be downloaded:
   
       package                    |            build
       ---------------------------|-----------------
       _openmp_mutex-4.5          |           1_llvm           5 KB  conda-forge
       dnnl-1.1                   |            build         3.6 MB  nusdbsystem
       future-0.18.2              |   py37hc8dfbb8_1         712 KB  conda-forge
       libblas-3.8.0              |      16_openblas          10 KB  conda-forge
       libcblas-3.8.0             |      16_openblas          10 KB  conda-forge
       liblapack-3.8.0            |      16_openblas          10 KB  conda-forge
       numpy-1.16.5               |   py37h95a1406_0         4.3 MB  conda-forge
       onnx-1.6.0                 |   py37he1b5a44_0         2.9 MB  conda-forge
       pillow-7.1.2               |   py37h718be6c_0         658 KB  conda-forge
       protobuf-3.9.2             |   py37he1b5a44_1         688 KB  conda-forge
       singa-3.0.0                |         cpu_py37        22.4 MB  nusdbsystem
       singa-cpu-3.0.0            |             py37           4 KB  nusdbsystem
       wrapt-1.12.1               |   py37h8f50634_1          46 KB  conda-forge
       ------------------------------------------------------------
                                              Total:        35.3 MB
   
   The following NEW packages will be INSTALLED:
   
     deprecated         conda-forge/noarch::deprecated-1.2.7-py_0
     dnnl               nusdbsystem/linux-64::dnnl-1.1-build
     freetype           conda-forge/linux-64::freetype-2.10.2-he06d7ca_0
     future             conda-forge/linux-64::future-0.18.2-py37hc8dfbb8_1
     glog               conda-forge/linux-64::glog-0.3.5-hf484d3e_1001
     jpeg               conda-forge/linux-64::jpeg-9c-h14c3975_1001
     libblas            conda-forge/linux-64::libblas-3.8.0-16_openblas
     libcblas           conda-forge/linux-64::libcblas-3.8.0-16_openblas
     libgfortran-ng     conda-forge/linux-64::libgfortran-ng-7.5.0-hdf63c60_6
     liblapack          conda-forge/linux-64::liblapack-3.8.0-16_openblas
     libopenblas        conda-forge/linux-64::libopenblas-0.3.9-h5ec1e0e_0
     libpng             conda-forge/linux-64::libpng-1.6.37-hed695b0_1
     libprotobuf        conda-forge/linux-64::libprotobuf-3.9.2-h8b12597_0
     libtiff            conda-forge/linux-64::libtiff-4.1.0-hc7e4089_6
     libwebp-base       conda-forge/linux-64::libwebp-base-1.1.0-h516909a_3
     llvm-openmp        conda-forge/linux-64::llvm-openmp-10.0.0-hc9558a2_0
     lz4-c              conda-forge/linux-64::lz4-c-1.9.2-he1b5a44_1
     numpy              conda-forge/linux-64::numpy-1.16.5-py37h95a1406_0
     olefile            conda-forge/noarch::olefile-0.46-py_0
     onnx               conda-forge/linux-64::onnx-1.6.0-py37he1b5a44_0
     pillow             conda-forge/linux-64::pillow-7.1.2-py37h718be6c_0
     protobuf           conda-forge/linux-64::protobuf-3.9.2-py37he1b5a44_1
     singa              nusdbsystem/linux-64::singa-3.0.0-cpu_py37
     singa-cpu          nusdbsystem/linux-64::singa-cpu-3.0.0-py37
     six                conda-forge/noarch::six-1.14.0-py_1
     tqdm               conda-forge/noarch::tqdm-4.46.0-pyh9f0ad1d_0
     wrapt              conda-forge/linux-64::wrapt-1.12.1-py37h8f50634_1
     zstd               conda-forge/linux-64::zstd-1.4.4-h6597ccf_3
   
   The following packages will be DOWNGRADED:
   
     _openmp_mutex                                   4.5-0_gnu --> 4.5-1_llvm
   
   
   Proceed ([y]/n)? y
   
   
   Downloading and Extracting Packages
   libblas-3.8.0        | 10 KB     | ##########################################################################################################################
| 100%
   onnx-1.6.0           | 2.9 MB    | ##########################################################################################################################
| 100%
   singa-3.0.0          | 22.4 MB   | ##########################################################################################################################
| 100%
   dnnl-1.1             | 3.6 MB    | ##########################################################################################################################
| 100%
   _openmp_mutex-4.5    | 5 KB      | ##########################################################################################################################
| 100%
   wrapt-1.12.1         | 46 KB     | ##########################################################################################################################
| 100%
   pillow-7.1.2         | 658 KB    | ##########################################################################################################################
| 100%
   protobuf-3.9.2       | 688 KB    | ##########################################################################################################################
| 100%
   numpy-1.16.5         | 4.3 MB    | ##########################################################################################################################
| 100%
   libcblas-3.8.0       | 10 KB     | ##########################################################################################################################
| 100%
   future-0.18.2        | 712 KB    | ##########################################################################################################################
| 100%
   singa-cpu-3.0.0      | 4 KB      | ##########################################################################################################################
| 100%
   liblapack-3.8.0      | 10 KB     | ##########################################################################################################################
| 100%
   Preparing transaction: done
   Verifying transaction: done
   Executing transaction: done
   (singacpu37) dcsysh@ncrs:/$ python
   Python 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 23:03:20)
   [GCC 7.3.0] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import numpy as np
   >>> from singa import tensor
   >>>
   >>> tensor.from_numpy( np.asarray([[1, 0, 0], [0, 1, 0]], dtype=np.float32) )
   [[1. 0. 0.]
    [0. 1. 0.]]
   >>>
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message