Giter Site home page Giter Site logo

Comments (2)

teoliphant avatar teoliphant commented on June 23, 2024

llvmpy change recently. You have to disable the Pass --- we are working to get an actual release of Numba out soon. Apologies for the problems.

-Travis

On Aug 10, 2012, at 12:59 PM, Alex Wiltschko wrote:

In [1]: from numba.decorators import vectorize

In [2]: @vectorize
...: def my_add(x):
...: return x+x
...:
str_to_llvmtype(): str = 'f64'
str_to_llvmtype(): str = 'f64'
{'blocks': {0: },
'blocks_dom': {0: set([0])},
'blocks_in': {0: set()},
'blocks_out': {0: set()},
'blocks_reaching': {0: set([0])},
'blocks_reads': {0: set([0])},
'blocks_writer': {0: {}},
'blocks_writes': {0: set([0])},
'translator': }
op_BINARY_ADD(): , _llvm=, typ='f64')> + , _llvm=, typ='f64')>
resolve_type(): arg1 = , _llvm=, typ='f64')>, arg2 = , _llvm=, typ='f64')>
resolve_type() ==> 'f64'
Warning: Could not create fast version... 'module' object has no attribute 'PASS_DEAD_CODE_ELIMINATION'
Traceback (most recent call last):
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/numba/decorators.py", line 55, in vectorize
t.translate()
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/numba/translate.py", line 935, in translate
fpm.add(lp.PASS_DEAD_CODE_ELIMINATION)
AttributeError: 'module' object has no attribute 'PASS_DEAD_CODE_ELIMINATION'

Note that I had to install minivect by manually cloning from numba/minivect. I don't know if that's causing the problem.

?
Reply to this email directly or view it on GitHub.

from numba.

alexbw avatar alexbw commented on June 23, 2024

Sounds good. I will wait for an official release.

On Fri, Aug 10, 2012 at 2:03 PM, Travis E. Oliphant <
[email protected]> wrote:

llvmpy change recently. You have to disable the Pass --- we are working to
get an actual release of Numba out soon. Apologies for the problems.

-Travis

On Aug 10, 2012, at 12:59 PM, Alex Wiltschko wrote:

In [1]: from numba.decorators import vectorize

In [2]: @vectorize
...: def my_add(x):
...: return x+x
...:
str_to_llvmtype(): str = 'f64'
str_to_llvmtype(): str = 'f64'
{'blocks': {0: },
'blocks_dom': {0: set([0])},
'blocks_in': {0: set()},
'blocks_out': {0: set()},
'blocks_reaching': {0: set([0])},
'blocks_reads': {0: set([0])},
'blocks_writer': {0: {}},
'blocks_writes': {0: set([0])},
'translator': }
op_BINARY_ADD(): , _llvm=, typ='f64')> + , _llvm=, typ='f64')>
resolve_type(): arg1 = , _llvm=, typ='f64')>, arg2 = , _llvm=,
typ='f64')>
resolve_type() ==> 'f64'
Warning: Could not create fast version... 'module' object has no
attribute 'PASS_DEAD_CODE_ELIMINATION'
Traceback (most recent call last):
File
"/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/numba/decorators.py",
line 55, in vectorize
t.translate()
File
"/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/numba/translate.py",
line 935, in translate
fpm.add(lp.PASS_DEAD_CODE_ELIMINATION)
AttributeError: 'module' object has no attribute
'PASS_DEAD_CODE_ELIMINATION'

Note that I had to install minivect by manually cloning from
numba/minivect. I don't know if that's causing the problem.

?
Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-7652149.

from numba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.