Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 23 14:15
    hameerabbasi commented #256
  • Apr 23 14:15

    hameerabbasi on module-free

    (compare)

  • Apr 23 14:15

    hameerabbasi on master

    Use PyModule's m_free instead o… Qualify uarray module name Merge pull request #256 from Qu… (compare)

  • Apr 23 14:15
    hameerabbasi closed #256
  • Apr 23 13:55
    peterbell10 synchronize #256
  • Apr 23 13:55

    peterbell10 on module-free

    Qualify uarray module name (compare)

  • Apr 22 22:09
    peterbell10 opened #256
  • Apr 22 22:06

    peterbell10 on module-free

    Use PyModule's m_free instead o… (compare)

  • Apr 20 18:56

    hameerabbasi on vectorcall

    (compare)

  • Apr 20 18:56

    hameerabbasi on master

    Accelerate multimethod-calls wi… Use vectorcall for no argument … Vendor a private version of _Py… and 2 more (compare)

  • Apr 20 18:56
    hameerabbasi closed #255
  • Apr 20 18:54
    rgommers commented #255
  • Apr 20 15:12
    peterbell10 synchronize #255
  • Apr 20 15:12

    peterbell10 on vectorcall

    Accelerate multimethod-calls wi… Use vectorcall for no argument … Vendor a private version of _Py… and 1 more (compare)

  • Apr 20 14:52
    peterbell10 synchronize #255
  • Apr 20 14:52

    peterbell10 on vectorcall

    Vendor a private version of _Py… (compare)

  • Apr 20 12:49
    peterbell10 synchronize #255
  • Apr 20 12:49

    peterbell10 on vectorcall

    Accelerate multimethod-calls wi… Use vectorcall for no argument … (compare)

  • Apr 20 12:35
    peterbell10 synchronize #255
  • Apr 20 12:35

    peterbell10 on vectorcall

    Accelerate multimethod-calls wi… Use vectorcall for no argument … (compare)

Quansight
@quansightai_twitter
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/uarray#249
Quansight
@quansightai_twitter
[Unknown, Quansight]
Pull request opened by hameerabbasi
Quansight-Labs/uarray#250
Quansight
@quansightai_twitter
[Unknown, Quansight]
Pull request opened by Czaki
Quansight-Labs/uarray#251
test
Quansight
@quansightai_twitter
[Unknown, Quansight]
Pull request opened by sangyx
Quansight-Labs/udiff#37
☑︎ update comments.
☑︎ update docs.
Quansight
@quansightai_twitter
[Unknown, Quansight]
*3 new commits pushed to master*
Quansight-Labs/udiff@95c5da6 - update docs
Quansight-Labs/udiff@c72783d - Fix up Azure.
Quansight-Labs/udiff@e5f2bfe - Merge pull request #37 from sangyx/master
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/udiff#37
[Unknown, Quansight]
Pull request closed by hameerabbasi
Quansight-Labs/uarray#251
[Unknown, Quansight]
Pull request closed by hameerabbasi
Quansight-Labs/uarray#250
[Unknown, Quansight]
Issue closed by hameerabbasi
Quansight-Labs/uarray#245
Quansight
@quansightai_twitter
[Unknown, Quansight]
*1 new commit pushed to master*
Quansight-Labs/uarray@df32a69 - Fix errors on MSVC.
[Unknown, Quansight]
*1 new commit force-pushed to master*
Quansight-Labs/uarray@b276df9 - Fix errors on MSVC.
[Unknown, Quansight]
*1 new commit force-pushed to master*
Quansight-Labs/uarray@a2012fc - Fix errors on MSVC.
Quansight
@quansightai_twitter
[Unknown, Quansight]
*1 new commit pushed to master*
Quansight-Labs/uarray@6184ac6 - Updates to requirements and drop Py3.5.
[Unknown, Quansight]
*1 new commit force-pushed to master*
Quansight-Labs/uarray@71007c9 - Updates to requirements and drop Py3.5.
[Unknown, Quansight]
*1 new commit force-pushed to master*
Quansight-Labs/uarray@a17c531 - Updates to requirements and drop Py3.5.
Quansight
@quansightai_twitter
[Unknown, Quansight]
*1 new commit force-pushed to master*
Quansight-Labs/uarray@17c0ba8 - Updates to requirements and drop Py3.5.
[Unknown, Quansight]
*1 new commit force-pushed to master*
Quansight-Labs/uarray@64bdeb5 - Updates to requirements and drop Py3.5.
Quansight
@quansightai_twitter
[Unknown, Quansight]
*1 new commit force-pushed to master*
Quansight-Labs/uarray@40b0d29 - Updates to requirements and drop Py3.5.
[Unknown, Quansight]
*1 new commit force-pushed to master*
Quansight-Labs/uarray@eec0bbd - Updates to requirements and drop Py3.5.
Quansight
@quansightai_twitter

[Unknown, Quansight]
Pull request opened by Ponicode-bot
Quansight-Labs/uarray#252
Wowza
*We made a Pull Request with our AI powered DogString engine!\

*We placed a docstring in each and every one of your undocumented functions.*
And you can continue doing the same we our *Ponicode DogString Github Action*. How freaking :clap:MA :clap:GI :clap:CAL

Katy loves our Github Action

*Why are we trying to impress you so hard?*
*Because we need your support!*
*Our new Github Action is on Product Hunt today*

Please share it to your community if you like us.
And if you have any doubts? You can keep playing and challenge our AI with your most complex Python functions on our playground
I hope this little pull request dedicated to help you get 100% docstring coverage convinces you to support us on Product Hunt.
Take good care my friend.
Bye for now,
Mic drop

*The Ponicode Team**

Quansight
@quansightai_twitter
[Hameer Abbasi, Quansight] Did someone here trigger the bot or is this an out-of-the-blue bot PR?
Sayandip Halder
@sayandip18
Seems like the Ponicode Team did it, not sure though
Hameer Abbasi
@hameerabbasi
Hello everyone. I'd like to announce that we're gonna apply, once more, to GSoC '21 (although I cannot promise we'll get a slot). For those familiar with the process, it might be wise to start preparing your applications -- Nice, well-polished applications are indicative of a worthy student.
Quansight
@quansightai_twitter
[Unknown, Quansight]
Pull request opened by sayandip18
Quansight-Labs/uarray#253
This link under Argument Replacer is dead and is updated.
Quansight
@quansightai_twitter
[Unknown, Quansight]
*2 new commits pushed to master*
Quansight-Labs/uarray@91ebed9 - update broken link
Quansight-Labs/uarray@2c07c12 - Merge pull request #253 from sayandip18/doc_link
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/uarray#253
Sayandip Halder
@sayandip18
Currently, udiff has no github page to host its documentation, unlike uarray and unumpy. Shouldn't there be one?
Hameer Abbasi
@hameerabbasi
Unfortunately, udiff isn't a released package yet. :(
Quansight
@quansightai_twitter

[Unknown, Quansight]
Pull request opened by asmeurer
Quansight-Labs/uarray#254
This adds CODE_OF_CONDUCT.md. The contents of this file point back to the
actual Quansight Code of Conduct at
https://github.com/Quansight/.github/blob/master/CODE_OF_CONDUCT.md.

See Quansight/.github#8 for more information.

[Unknown, Quansight]
Pull request opened by asmeurer
Quansight-Labs/unumpy#74
This adds CODE_OF_CONDUCT.md. The contents of this file point back to the
actual Quansight Code of Conduct at
https://github.com/Quansight/.github/blob/master/CODE_OF_CONDUCT.md.

See Quansight/.github#8 for more information.

[Unknown, Quansight]
Pull request opened by asmeurer
Quansight-Labs/udiff#38
This adds CODE_OF_CONDUCT.md. The contents of this file point back to the
actual Quansight Code of Conduct at
https://github.com/Quansight/.github/blob/master/CODE_OF_CONDUCT.md.

See Quansight/.github#8 for more information.

Quansight
@quansightai_twitter
[Unknown, Quansight]
*2 new commits pushed to master*
Quansight-Labs/uarray@8e95697 - Add CODE_OF_CONDUCT.md, linking to the Quansight Code of Conduct
Quansight-Labs/uarray@2e71fe7 - Merge pull request #254 from Quansight-Labs/add-code-of-conduct
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/uarray#254
[Unknown, Quansight]
*2 new commits pushed to master*
Quansight-Labs/udiff@65cf1a5 - Add CODE_OF_CONDUCT.md, linking to the Quansight Code of Conduct
Quansight-Labs/udiff@d671459 - Merge pull request #38 from Quansight-Labs/add-code-of-conduct
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/udiff#38
Quansight
@quansightai_twitter
[Unknown, Quansight]
*1 new commit pushed to master*
Quansight-Labs/unumpy@9a7975e - Fix test failures.
Quansight
@quansightai_twitter
[Unknown, Quansight]
*3 new commits pushed to master*
Quansight-Labs/unumpy@c7de443 - Add CODE_OF_CONDUCT.md, linking to the Quansight Code of Conduct
Quansight-Labs/unumpy@11cac54 - Empty commit
Quansight-Labs/unumpy@97dcc82 - Merge pull request #74 from Quansight-Labs/add-code-of-conduct
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/unumpy#74
Quansight
@quansightai_twitter
[Unknown, Quansight]
Pull request opened by KanzaSheikh
Quansight-Labs/udiff#39
Quansight
@quansightai_twitter
[Unknown, Quansight]
*2 new commits pushed to master*
Quansight-Labs/udiff@54357fb - Fixed typos in the docs
Quansight-Labs/udiff@711d2d4 - Merge pull request #39 from KanzaSheikh/documentation-fixes
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/udiff#39
Hameer Abbasi
@hameerabbasi
Quansight is participating again in GSoC, but for another project this time: PyData/Sparse. Go to https://gitter.im/pydata/sparse
joaosferreira
@joaosferreira
Thanks @hameerabbasi, I'll take a look at the project ideas for Sparse.
Quansight
@quansightai_twitter
[Unknown, Quansight] GitHub app is successfully upgraded in your workspace :tada:
To receive notifications in your private channels, you need to invite the GitHub app /invite @GitHub
Quansight
@quansightai_twitter

[Unknown, Quansight] [Quansight-Labs/uarray] Pull request opened by peterbell10
<https://github.com/Quansight-Labs/uarray/pull/255|\#255 Accelerate multimethod-calls with Vectorcall protocol>
Vectorcall is a new argument passing convention in CPython that was formalized in PEP-590, and made fully public in Python 3.9. It has a number of speed advantages over tp_call which make it desirable to use in uarray. It's also existed in some form since long before 3.9 as CPython's internal "FastCall" convention.

This PR provides shims to make Python 3.9-style Vectorcall available in CPython >= 3.6 and in PyPy as a wrapper around PyObject_Call. It also uses Vectorcall in places where previously I had to explicitly create a new PyTuple object to make the call.

In a simple benchmark, this gives a noticeable speedup on all CPython versions >= 3.7 and is neutral for Python 3.6.

Benchmark code

from timeit import Timer
import uarray as ua

class Backend:
    __ua_domain__ = 'bench'
    def __ua_function__(self, func, args, kwargs):
        return None

mm = ua.generate_multimethod(lambda a: (a,), lambda a, kw, d: (a, kw), 'bench')
ua.register_backend(Backend())

t = Timer('mm(None)', globals=dict(mm=mm))

results = []
n, _ = t.autorange()
n //= 10
for _ in range(10):
    t.timeit(n//10)  # Warm-up run
    results.extend([t.timeit(n) for _ in range(10)])

time = min(results) / n

print(f'{time*1e9:.2f} ns uarray overhead')
Quansight
@quansightai_twitter
[Unknown, Quansight]
*5 new commits pushed to `masterby hameerabbasi*Quansight-Labs/uarray@8f4b679- Accelerate multimethod-calls with Vectorcall protocolQuansight-Labs/uarray@3ef21cc- Use vectorcall for no argument callsQuansight-Labs/uarray@1133e44- Vendor a private version of _PyObject_GetMethodQuansight-Labs/uarray@8d6f35d- CI: Include vectorcall in clang-format checkQuansight-Labs/uarray@7beedd2` - Merge pull request #255 from Quansight-Labs/vectorcall
[Unknown, Quansight] [Quansight-Labs/uarray] Pull request merged by hameerabbasi
<https://github.com/Quansight-Labs/uarray/pull/255|\#255 Accelerate multimethod-calls with Vectorcall protocol>
Quansight
@quansightai_twitter
[Unknown, Quansight] [Quansight-Labs/uarray] Pull request opened by peterbell10
<https://github.com/Quansight-Labs/uarray/pull/256|\#256 Use PyModule's m_free instead of atexit>
Quansight
@quansightai_twitter
[Unknown, Quansight]
*3 new commits pushed to `masterby hameerabbasi*Quansight-Labs/uarray@6641d95- Use PyModule's m_free instead of atexitQuansight-Labs/uarray@c6b32f1- Qualify uarray module nameQuansight-Labs/uarray@af53966` - Merge pull request #256 from Quansight-Labs/module-free
[Unknown, Quansight] [Quansight-Labs/uarray] Pull request merged by hameerabbasi
<https://github.com/Quansight-Labs/uarray/pull/256|\#256 Use PyModule's m_free instead of atexit>