Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 22 23:23

    peterbell10 on master

    Fix assert lower bound (compare)

  • Jun 22 23:23
    peterbell10 closed #258
  • Jun 22 23:02
    peterbell10 opened #258
  • Jun 22 23:02

    peterbell10 on fix-assert-2

    Fix assert lower bound (compare)

  • Jun 22 14:06

    peterbell10 on master

    Fix assert statement (compare)

  • Jun 22 14:06
    peterbell10 closed #257
  • Jun 22 13:50
    peterbell10 opened #257
  • Jun 22 13:47

    peterbell10 on assert-fix

    Fix assert statement (compare)

  • 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
Quansight
@quansightai_twitter
[Unknown, Quansight]
*5 new commits pushed to master*
Quansight-Labs/unumpy@e079d01 - Add multimethods for random routines
Quansight-Labs/unumpy@d93a45e - Add default_rng, BitGenerator and SeedSequence
Quansight-Labs/unumpy@9da7501 - Add multimethods for Generator's methods
Quansight-Labs/unumpy@ba6a968 - Add further tests to RandomState and Generator
Quansight-Labs/unumpy@5720e11 - Merge pull request #73 from joaosferreira/random-routines
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/unumpy#73
[Unknown, Quansight]
Pull request closed by hameerabbasi
Quansight-Labs/unumpy#46
esang
@sangyx
Hi, here is my project summary. Your valuable advice is most welcome.
Quansight
@quansightai_twitter
[Unknown, Quansight]
*9 new commits pushed to master*
Quansight-Labs/udiff@73c3624 - split DIffArray into VJPDiffArray and JVPDiffArray
Quansight-Labs/udiff@1726b0d - update docs
Quansight-Labs/udiff@a4619fa - fix build docs
Quansight-Labs/udiff@e87aae6 - fix lint docs
Quansight-Labs/udiff@350b073 - add namespaces
Quansight-Labs/udiff@cd518f6 - remove unused namespaces
Quansight-Labs/udiff@56751d7 - update vjp doctest
Quansight-Labs/udiff@b4708c5 - fix broadcast
Quansight-Labs/udiff@0e40adb - Merge pull request #35 from sangyx/master
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/udiff#35
joaosferreira
@joaosferreira
Hey everyone, here is my last blog post for GSoC. Have a nice week!
Hameer Abbasi
@hameerabbasi
@joaosferreira Do we need to have a meeting today?
Quansight
@quansightai_twitter
[Unknown, Quansight]
Issue closed by hameerabbasi
Quansight-Labs/udiff#32
joaosferreira
@joaosferreira
@hameerabbasi No, not today, thanks. I'm on vacation for a week btw, I should probably have mentioned that before.
Hameer Abbasi
@hameerabbasi
No problem, and thanks for letting us know. 😀
Quansight
@quansightai_twitter
[Unknown, Quansight]
Pull request opened by sangyx
Quansight-Labs/udiff#36
I have split the lambda g, ans, x, y: into lambda ans, x, y: lambda g: and add jacobian support. While the higher-order derivative is still subject to the forward gradient calculation and falls into an infinite loop. I need more time.
You may check the code and come up with new ideas.
Hameer Abbasi
@hameerabbasi
@joaosferreira Will you be able to make it this week? It's perfectly fine if not.
joaosferreira
@joaosferreira
@hameerabbasi Sorry, I missed the Gitter notification. :( Can't meet today. Maybe we should cancel the scheduled meetings and instead I can message you here when I need one if that's okay with you.
Quansight
@quansightai_twitter
[Hameer Abbasi, Quansight] Of course! =D
joaosferreira
@joaosferreira
I'm thinking of doing the JAX backend next btw. Seems like something different I would enjoy trying. I would also like to work on other projects besides unumpy, any suggestions?
Quansight
@quansightai_twitter
[Hameer Abbasi, Quansight] Depends — What kinds of projects are you looking for; or if you don’t know yet: What do you like, what’s your skillset, what do you enjoy?
Quansight
@quansightai_twitter
[Hameer Abbasi, Quansight] NumPy itself will have a lot of stuff similar to what you did here, but it takes a lot longer to get changes in due to the lack of reviewers. Dask is fast-moving and you can get your changes merged soon.
joaosferreira
@joaosferreira
Regarding open-source I would say projects that relate to the Python array ecosystem. Skills are mostly Python programming but eventually would like to learn C/C++ since it seems relevant in these projects and is something I think I would enjoy. I had some small exposure to those languages in a university setting before but it was a long time ago so most knowledge of it has vanished.
Quansight
@quansightai_twitter
[Hameer Abbasi, Quansight] We also welcome contributions at PyData/Sparse, that’s one of our (Quansight-Labs’) projects with a not-insignificant user-base.
[Hameer Abbasi, Quansight] But it requires a lot more thought, it’s also currently undergoing a re-write.
joaosferreira
@joaosferreira
I have though of Dask as an option yes. So probably the libraries used as backends in unumpy are other good options.
Quansight
@quansightai_twitter
[Hameer Abbasi, Quansight] If you’re looking for similar work; yes. :)
joaosferreira
@joaosferreira
I will look into those libraries issues and PRs in due time. At the moment I'm still figuring out how the upcoming semesters will be with the course work and thesis work but my hope is that I will be able to contribute regularly to these projects. :)
Quansight
@quansightai_twitter
[Hameer Abbasi, Quansight] Don’t take any pressure. My advice: Real life comes first.
Quansight
@quansightai_twitter
[Unknown, Quansight]
*5 new commits pushed to master*
Quansight-Labs/udiff@595b941 - add jvp diff
Quansight-Labs/udiff@8dcb9b0 - add jvp jacobian
Quansight-Labs/udiff@849dabd - add jvp test cases
Quansight-Labs/udiff@c8574dd - support higher-order derivative
Quansight-Labs/udiff@6b60758 - Merge pull request #36 from sangyx/master
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/udiff#36
Nikhil Choudhary
@Nikhil1O1
Hello @hameerabbasi
I'm new to Open source but I have interest in python and I'm intrigued by array manipulation
I went through your blog and tbh i wasn't able to comprehend much
😑
It's clear I lack things on my technology stack
But I'm willing to learn new tech
Hameer Abbasi
@hameerabbasi
I’d ask you to not just read it, but experiment with it in a Jupyter Notebook or something similar.
Nikhil Choudhary
@Nikhil1O1
So what should I do now
Hameer Abbasi
@hameerabbasi
Also, uarray/unumpy are Dispatch and backend systems first and only unumpy has an array manipulation component to it.
Also, it might have more specific questions about which parts you didn’t understand— in that situation I might be able to help you better.
Nikhil Choudhary
@Nikhil1O1
Okay I will experiment with it first then give you a proper report
Do you have any documentation for the library?
Quansight
@quansightai_twitter

[Hameer Abbasi, Quansight] For uarray there’s documentation. https://uarray.org/en/latest/

For unumpy, not that much. https://unumpy.uarray.org/en/latest/

Nikhil Choudhary
@Nikhil1O1
okay it feels like i got some idea of what exactly you are trying to achieve here
i went through your uarray intro post
i executed the first code i.e

import uarray as ua

Let's ignore this for now

def myfunc_rd(a, kw, d):
return a, kw

We define a multimethod

@ua.create_multimethod(myfunc_rd)
def myfunc():
return () # Let's also ignore this for now

Now let's define two backends!

be1 = ua.Backend()
be2 = ua.Backend()

And register their implementations for the method!

@ua.register_implementation(myfunc, backend=be1)
def myfunc_be1(): # Note that it has exactly the same signature
return "Potato"

@ua.register_implementation(myfunc, backend=be2)
def myfunc_be2(): # Note that it has exactly the same signature
return "Strawberry"

and this is what my notebook threw at me

TypeError Traceback (most recent call last)

<ipython-input-8-6c4a4111bba6> in <module>
6
7 # We define a multimethod
----> 8 @ua.create_multimethod(myfunc_rd)
9 def myfunc():
10 return () # Let's also ignore this for now

C:\ProgramData\Anaconda3\lib\site-packages\uarray_backend.py in wrapper(a)
166
167 def wrapper(a):
--> 168 return generate_multimethod(a, args, *kwargs)
169
170 return wrapper

TypeError: generate_multimethod() missing 1 required positional argument: 'domain'

like is this an error at my end?
moreover, while going through your documentation it feels like you don't intend any newbie to use this library. Isn't it?
@hameerabbasi