Discussion:
[theano-users] Using NumPy C-API based implementation for BLAS functions.
Mathias Müller
2017-11-23 10:00:09 UTC
Permalink
Hi,

With the newest Theano, I get the following warning:

WARNING (theano.tensor.blas): Using NumPy C-API based implementation for
BLAS functions.

What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?

Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pascal Lamblin
2017-11-28 17:59:31 UTC
Permalink
Hi,

Usually, Theano tries to link directly with a BLAS library (MKL,
OpenBlas...) if it is able to detect one, and use it for dot products on
CPU.
If it does not, it uses the fallback of using the C API of numpy
instead, which can be slower and result in more memory copies.
Hi,
|
WARNING (theano.tensor.blas):UsingNumPyC-API based implementation
forBLAS functions.
|
What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?
Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Qinpeng Wang
2018-03-29 23:38:55 UTC
Permalink
Hi,

I have mkl-service package installed via conda, but why do I still get this
error message? How can I link Theano with desired BLAS library?

Best,
Qinpeng
Post by Pascal Lamblin
Hi,
Usually, Theano tries to link directly with a BLAS library (MKL,
OpenBlas...) if it is able to detect one, and use it for dot products on
CPU.
If it does not, it uses the fallback of using the C API of numpy
instead, which can be slower and result in more memory copies.
Hi,
|
WARNING (theano.tensor.blas):UsingNumPyC-API based implementation
forBLAS functions.
|
What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?
Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Qinpeng Wang
2018-03-30 00:03:33 UTC
Permalink
Hi,

This link: http://deeplearning.net/software/theano/install_windows.html
mentions:

Optional requirements
GCC compiler with g++ (version >= 4.2.*)
If I installed m2w64-toolchain, do I still need to worry about g++?

Thanks!
Hi,
I have mkl-service package installed via conda, but why do I still get
this error message? How can I link Theano with desired BLAS library?
Best,
Qinpeng
Post by Pascal Lamblin
Hi,
Usually, Theano tries to link directly with a BLAS library (MKL,
OpenBlas...) if it is able to detect one, and use it for dot products on
CPU.
If it does not, it uses the fallback of using the C API of numpy
instead, which can be slower and result in more memory copies.
Hi,
|
WARNING (theano.tensor.blas):UsingNumPyC-API based implementation
forBLAS functions.
|
What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?
Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
Hi,
I have mkl-service package installed via conda, but why do I still get
this error message? How can I link Theano with desired BLAS library?
Best,
Qinpeng
Post by Pascal Lamblin
Hi,
Usually, Theano tries to link directly with a BLAS library (MKL,
OpenBlas...) if it is able to detect one, and use it for dot products on
CPU.
If it does not, it uses the fallback of using the C API of numpy
instead, which can be slower and result in more memory copies.
Hi,
|
WARNING (theano.tensor.blas):UsingNumPyC-API based implementation
forBLAS functions.
|
What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?
Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
Hi,
I have mkl-service package installed via conda, but why do I still get
this error message? How can I link Theano with desired BLAS library?
Best,
Qinpeng
Post by Pascal Lamblin
Hi,
Usually, Theano tries to link directly with a BLAS library (MKL,
OpenBlas...) if it is able to detect one, and use it for dot products on
CPU.
If it does not, it uses the fallback of using the C API of numpy
instead, which can be slower and result in more memory copies.
Hi,
|
WARNING (theano.tensor.blas):UsingNumPyC-API based implementation
forBLAS functions.
|
What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?
Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frédéric Bastien
2018-04-25 12:31:29 UTC
Permalink
It should install g++.

But your error message is probably different then what the original user
gave. What is your own error?
Post by Qinpeng Wang
Hi,
This link: http://deeplearning.net/software/theano/install_windows.html
Optional requirements
GCC compiler with g++ (version >= 4.2.*)
If I installed m2w64-toolchain, do I still need to worry about g++?
Thanks!
Hi,
I have mkl-service package installed via conda, but why do I still get
this error message? How can I link Theano with desired BLAS library?
Best,
Qinpeng
Post by Pascal Lamblin
Hi,
Usually, Theano tries to link directly with a BLAS library (MKL,
OpenBlas...) if it is able to detect one, and use it for dot products on
CPU.
If it does not, it uses the fallback of using the C API of numpy
instead, which can be slower and result in more memory copies.
Hi,
|
WARNING (theano.tensor.blas):UsingNumPyC-API based implementation
forBLAS functions.
|
What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?
Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
Hi,
I have mkl-service package installed via conda, but why do I still get
this error message? How can I link Theano with desired BLAS library?
Best,
Qinpeng
Post by Pascal Lamblin
Hi,
Usually, Theano tries to link directly with a BLAS library (MKL,
OpenBlas...) if it is able to detect one, and use it for dot products on
CPU.
If it does not, it uses the fallback of using the C API of numpy
instead, which can be slower and result in more memory copies.
Hi,
|
WARNING (theano.tensor.blas):UsingNumPyC-API based implementation
forBLAS functions.
|
What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?
Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
Hi,
I have mkl-service package installed via conda, but why do I still get
this error message? How can I link Theano with desired BLAS library?
Best,
Qinpeng
Post by Pascal Lamblin
Hi,
Usually, Theano tries to link directly with a BLAS library (MKL,
OpenBlas...) if it is able to detect one, and use it for dot products on
CPU.
If it does not, it uses the fallback of using the C API of numpy
instead, which can be slower and result in more memory copies.
Hi,
|
WARNING (theano.tensor.blas):UsingNumPyC-API based implementation
forBLAS functions.
|
What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?
Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Abdul Karim Obeid
2018-10-18 16:10:05 UTC
Permalink
Not sure if this helps, but try "sudo yum install blas blas-devel" (if your
system is Fedora (Aws Linux 2))
Post by Mathias Müller
Hi,
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for
BLAS functions.
What does this message mean? Does that mean there is an alternative to
Numpy C-API based BLAS functions?
Thanks a lot for your help.
Mathias
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...