Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 19 15:20

    hameerabbasi on master

    Updates to requirements and dro… (compare)

  • Oct 19 15:17

    hameerabbasi on master

    Updates to requirements and dro… (compare)

  • Oct 19 15:17

    hameerabbasi on master

    Updates to requirements and dro… (compare)

  • Oct 19 15:12

    hameerabbasi on master

    Updates to requirements and dro… (compare)

  • Oct 19 15:09

    hameerabbasi on master

    Updates to requirements and dro… (compare)

  • Oct 19 15:05

    hameerabbasi on master

    Updates to requirements and dro… (compare)

  • Oct 19 15:04

    hameerabbasi on master

    Updates to requirements and dro… (compare)

  • Oct 19 14:53

    hameerabbasi on master

    Fix errors on MSVC. (compare)

  • Oct 19 14:52

    hameerabbasi on master

    Fix errors on MSVC. (compare)

  • Oct 19 14:50

    hameerabbasi on master

    Fix errors on MSVC. (compare)

  • Sep 28 11:43
    hameerabbasi commented #245
  • Sep 28 11:43
    hameerabbasi closed #245
  • Sep 28 11:42
    hameerabbasi closed #250
  • Sep 28 11:42
    hameerabbasi closed #251
  • Sep 28 11:42
    hameerabbasi commented #251
  • Sep 28 11:41
    hameerabbasi commented #37
  • Sep 28 11:40

    hameerabbasi on master

    update docs Fix up Azure. Merge pull request #37 from san… (compare)

  • Sep 28 11:40
    hameerabbasi closed #37
  • Sep 28 11:36
    hameerabbasi synchronize #37
  • Sep 27 07:11
    sangyx opened #37
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
Sayandip Halder
@sayandip18

I tried running

import uarray as ua
import numpy as np
my_multimethod=ua.generate_multimethod(
    lambda a,b=None: (),
    lambda a,kw,d: (a, kw),
    "test",
    default=lambda a,b=None: (a,b)
)

and got this error

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-0d9ce782868f> in <module>
----> 1 my_multimethod=ua.generate_multimethod(
      2     lambda a,b=None: (),
      3     lambda a,kw,d: (a, kw),
      4     "test",
      5     default=lambda a,b=None: (a,b)

AttributeError: module 'uarray' has no attribute 'generate_multimethod'
Quansight
@quansightai_twitter
[Hameer Abbasi, Quansight] Can you post the output of ua.__version__?
Sayandip Halder
@sayandip18
My bad, I had installed uarray in a virtual environment. It's working now.
Hameer Abbasi
@hameerabbasi
@Nikhil1O1 It’s meant for library authors who want a backend system. If you want to use and not contribute, then it’s simple enough.
joaosferreira
@joaosferreira
Hey guys, congratulations on Nature's NumPy paper! I'll be sure to give it a read. :)
Quansight
@quansightai_twitter
[Hameer Abbasi, Quansight] Thanks, Joao!
Quansight
@quansightai_twitter
[Unknown, Quansight]
*1 new commit pushed to master*
Quansight-Labs/uarray@5a27e24 - Update cibuildwheel to 1.6.1
Quansight
@quansightai_twitter
[Unknown, Quansight]
Pull request opened by hameerabbasi
Quansight-Labs/uarray#249
Quansight
@quansightai_twitter
[Unknown, Quansight]
*2 new commits pushed to master*
Quansight-Labs/uarray@3b57c07 - Make sure build isn't dirty.
Quansight-Labs/uarray@1c1ddac - Merge pull request #249 from hameerabbasi/release
[Unknown, Quansight]
Pull request merged by hameerabbasi
Quansight-Labs/uarray#249