Comments (11)
Is this in theano stable as well?
from theano.
Yes I think so. This was introduced long long time ago. I've tried at one
point to fix it (before we moved to git) but it turned out not to be a
trivial task. I'll give it another go,
but know that this will not be done in a matter of minutes :(. Maybe I can
disable scan working on GPU for now removing the import (that should be
quick) and work on
repairing the damage afterwards.
Razvan
On Thu, Oct 20, 2011 at 8:53 PM, David Warde-Farley <
[email protected]>wrote:
Is this in theano stable as well?
Reply to this email directly or view it on GitHub:
#134 (comment)
from theano.
I've looked through the code. cuda is imported only inside two functions
(exactly where I need it) when you use scan. So is it that the code that
generates the error actually uses scan, or this error happens even if you do
not use scan?
Razvan
On Fri, Oct 21, 2011 at 8:39 AM, Razvan Pascanu [email protected] wrote:
Yes I think so. This was introduced long long time ago. I've tried at one
point to fix it (before we moved to git) but it turned out not to be a
trivial task. I'll give it another go,
but know that this will not be done in a matter of minutes :(. Maybe I can
disable scan working on GPU for now removing the import (that should be
quick) and work on
repairing the damage afterwards.Razvan
On Thu, Oct 20, 2011 at 8:53 PM, David Warde-Farley <
[email protected]>wrote:Is this in theano stable as well?
Reply to this email directly or view it on GitHub:
#134 (comment)
from theano.
This seems straightforward, no?
-
https://github.com/Theano/Theano/blob/master/theano/__init__.py#L80
-
https://github.com/Theano/Theano/blob/master/theano/scan_module/scan.py#L56
On Fri, Oct 21, 2011 at 10:35 AM, Razvan Pascanu
[email protected]
wrote:
I've looked through the code. cuda is imported only inside two functions
(exactly where I need it) when you use scan. So is it that the code that
generates the error actually uses scan, or this error happens even if you do
not use scan?Razvan
On Fri, Oct 21, 2011 at 8:39 AM, Razvan Pascanu [email protected] wrote:
Yes I think so. This was introduced long long time ago. I've tried at one
point to fix it (before we moved to git) but it turned out not to be a
trivial task. I'll give it another go,
but know that this will not be done in a matter of minutes :(. Maybe I can
disable scan working on GPU for now removing the import (that should be
quick) and work on
repairing the damage afterwards.Razvan
On Thu, Oct 20, 2011 at 8:53 PM, David Warde-Farley <
[email protected]>wrote:Is this in theano stable as well?
Reply to this email directly or view it on GitHub:
#134 (comment)Reply to this email directly or view it on GitHub:
#134 (comment)
from theano.
Hmm .. sorry for that. I somehow missed that import ( I import cuda also in
scan_op and scan_utils, but there only inside the functions that need it).
I've moved the import cuda inside the scan function. Hopefully this will
make things better for those who don't use scna.
I'll work on removing it completely, but I do not have a lot of time to
dedicate to Theano
unfortunately...
Razvan
On Fri, Oct 21, 2011 at 10:40 AM, James Bergstra <
[email protected]>wrote:
This seems straightforward, no?
https://github.com/Theano/Theano/blob/master/theano/scan_module/scan.py#L56
On Fri, Oct 21, 2011 at 10:35 AM, Razvan Pascanu
[email protected]
wrote:I've looked through the code. cuda is imported only inside two functions
(exactly where I need it) when you use scan. So is it that the code that
generates the error actually uses scan, or this error happens even if you
do
not use scan?Razvan
On Fri, Oct 21, 2011 at 8:39 AM, Razvan Pascanu [email protected]
wrote:Yes I think so. This was introduced long long time ago. I've tried at
one
point to fix it (before we moved to git) but it turned out not to be a
trivial task. I'll give it another go,
but know that this will not be done in a matter of minutes :(. Maybe I
can
disable scan working on GPU for now removing the import (that should be
quick) and work on
repairing the damage afterwards.Razvan
On Thu, Oct 20, 2011 at 8:53 PM, David Warde-Farley <
[email protected]>wrote:Is this in theano stable as well?
Reply to this email directly or view it on GitHub:
#134 (comment)Reply to this email directly or view it on GitHub:
#134 (comment)Reply to this email directly or view it on GitHub:
#134 (comment)
from theano.
Thanks Razvan, just moving it out of the global import path is a good
enough for now I think. Put a comment next to the internal import
documenting why it isn't a global import, and that'd be fine by me.
- James
On Fri, Oct 21, 2011 at 10:45 AM, Razvan Pascanu
[email protected]
wrote:
Hmm .. sorry for that. I somehow missed that import ( I import cuda also in
scan_op and scan_utils, but there only inside the functions that need it).
I've moved the import cuda inside the scan function. Hopefully this will
make things better for those who don't use scna.I'll work on removing it completely, but I do not have a lot of time to
dedicate to Theano
unfortunately...Razvan
On Fri, Oct 21, 2011 at 10:40 AM, James Bergstra <
[email protected]>wrote:This seems straightforward, no?
https://github.com/Theano/Theano/blob/master/theano/scan_module/scan.py#L56
On Fri, Oct 21, 2011 at 10:35 AM, Razvan Pascanu
[email protected]
wrote:I've looked through the code. cuda is imported only inside two functions
(exactly where I need it) when you use scan. So is it that the code that
generates the error actually uses scan, or this error happens even if you
do
not use scan?Razvan
On Fri, Oct 21, 2011 at 8:39 AM, Razvan Pascanu [email protected]
wrote:Yes I think so. This was introduced long long time ago. I've tried at
one
point to fix it (before we moved to git) but it turned out not to be a
trivial task. I'll give it another go,
but know that this will not be done in a matter of minutes :(. Maybe I
can
disable scan working on GPU for now removing the import (that should be
quick) and work on
repairing the damage afterwards.Razvan
On Thu, Oct 20, 2011 at 8:53 PM, David Warde-Farley <
[email protected]>wrote:Is this in theano stable as well?
Reply to this email directly or view it on GitHub:
#134 (comment)Reply to this email directly or view it on GitHub:
#134 (comment)Reply to this email directly or view it on GitHub:
#134 (comment)Reply to this email directly or view it on GitHub:
#134 (comment)
from theano.
Just an idea to fix the problem, why not make gpu_hook in scan_module and have the import of cuda register fct in those hook?
Maybe there is better way to fix it, but this can work in all case I think and would solve the problem for people that use scan.
from theano.
Is this issue resolved by pull request #139? Can it be closed now?
from theano.
Just partially (as long as you do not use the scan op). So I think it
shouldn't be close just yet, because it can be solved in all cases with a
bit of care.
Razvan
On Mon, Oct 24, 2011 at 3:14 PM, David Warde-Farley <
[email protected]>wrote:
Is this issue resolved by pull request #139? Can it be closed now?
Reply to this email directly or view it on GitHub:
#134 (comment)
from theano.
Should we close it now?
from theano.
I think we can close it as now we should always be able to import cuda even if it isn't there. scan don't do it at import, so it is good I think.
from theano.
Related Issues (20)
- Theano crash when LSTM layer's hidden size is 1 using Keras backend
- matplotlib and keyring should be added to configuration files HOT 2
- deeplearning.net is DOWN
- Guided Backpropagation in Theano/Lasagne
- ImportError: cannot import name 'is_same_graph' HOT 2
- configparser.NoSectionError: No section: 'blas' (Theano does not run probably on Python 3.9 and Numpy 1.22.2) HOT 4
- Error while using pymc3 and Theano-PyMC package
- unexpected behaviour in dimension expansion
- theano error cannot convert 'cudnnConvolutionFwdAlgo_t*' to 'cudnnConvolutionFwdAlgoPerf_t
- TypeError: ufunc 'sin' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' HOT 1
- Project dependencies may have API risk issues HOT 1
- Incorrect Regular Expression Ranges
- HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.
- Use github.com/apssouza22/chatflow as a conversational layer. It would enable actual API requests to be carried out from natural language inputs. HOT 1
- theano.tensor.nnet.conv3d verify_grad fail when border_mode is "full"
- theano.gradient.verify_grad throws error if the rng parameter is not provided
- theano.tensor.nnet.bn.batch_normalization verify_grad fail
- theano.gradient.verify_grad lack of checking the validity of inputs HOT 1
- A Suspected Bug in `categorical_crossentropy`
- DepthwiseConv2D outputs normally when dilation_rate is 0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from theano.