[Numpy-discussion] Re: ENH: Introducing a pipe Method for Numpy arrays

2024-02-15 Thread Michael Siebert
Hi all, in PyTorch they (kind of) recently introduced torch.compile: https://pytorch.org/tutorials/intermediate/torch_compile_tutorial.html In TensorFlow, eager execution needs to be activated manually, otherwise it creates a graph object which then acts like this kind of pipe. Don‘t know whet

[Numpy-discussion] Re: NEP 55 Updates and call for testing

2023-12-08 Thread Michael Siebert
Hi Nathan, thank you for your great work on UTF8 strings and their integration in Numpy. This is a very important dtype to support, especially with the widespread use of large language models (LLM) nowadays. However, I would like to comment on the serialization. Hope it's not too late at this p

[Numpy-discussion] Re: Windows default integer now 64bit in main

2023-11-02 Thread Michael Siebert
Hi Sebastian, great news! Does that mean that Windows Numpy 64 bit default integers are coming before Numpy 2.0, like in Numpy 1.27? Will there be another release before 2.0? Best, Michael > On 2. Nov 2023, at 16:25, Sebastian Berg wrote: > Hi all, > > just a heads up, the PR to change the

[Numpy-discussion] Re: Add to NumPy a function to compute cumulative sums from 0.

2023-08-20 Thread Michael Siebert
Dear all,another aspect to think about is that there is not only cumsum. There are other cumulative aggregations as well (whether or not they have top-level np functions, like cummax is represented by np.maximum.accumulate):1. cumprod: there instead of starting with zero one would need to start wit

[Numpy-discussion] Re: NumPy 2.0 meeting - Monday, April 3rd, 3 - 7pm UTC

2023-04-08 Thread Michael Siebert
Hi everybody, thanks a lot for the great meeting! I took it as inspiration for a few conversations with GPT4 (easter eggs included): https://gist.github.com/xor2k/3baf9cfaf2cde16193204c6148315ecd If anyone likes, I’d be in for a GPT4 session and maybe we can come up with more specific question

[Numpy-discussion] Re: New feature: binary (arbitrary base) rounding

2022-11-11 Thread Michael Siebert
Hi all, an advantage of sub-byte datatypes is the potential for accelerated computing. For GPUs, int4 is already happening. Or take int1 for example: if one had two arrays of size 64, that would be eight bytes. Now, if one wanted to add those two arrays, one could simply xor them as a uint64 (o

[Numpy-discussion] Re: An extension of the .npy file format

2022-08-24 Thread Michael Siebert
Hi Matti, hi all, @Matti: I don’t know what exactly you are referring to (Pull request or the Github project, links see below). Maybe some clarification is needed, which I hereby try to do ;) A .npy file created by some appending process is a regular .npy file and does not need to be read in c

[Numpy-discussion] Re: writing a known-size 1D ndarray serially as it's calced

2022-08-23 Thread Michael Siebert
Hi all, I‘ve made the Pip/Conda module npy-append-array for exactly this purpose, see https://github.com/xor2k/npy-append-array It works with one dimensional arrays, too, of course. The key challange is to properly initialize and update the header accordingly as the array grows which my module

[Numpy-discussion] StackOverflow Developer Survey

2022-06-23 Thread Michael Siebert
Hi all, just found some more survey data on Numpy, see (need to scroll down a little to „Other frameworks and libraries“): https://survey.stackoverflow.co/2022 Numpy seems to enjoy an exceptional position as a library over a wide spectrum of programming languages: rank 2 overall and among prof

[Numpy-discussion] Re: [Job] NumPy Open Source Developer at NVIDIA

2022-03-04 Thread Michael Siebert
They were in my spam folder, too. > On 2. Mar 2022, at 22:51, Ilhan Polat wrote: > >  > Found the original in the spam folder. > > > > Hi all, > > I'm excited to share that I'm hiring a remote NumPy developer at NVIDIA! The > majority of their time will be focused on open source contr

[Numpy-discussion] An extension of the .npy file format

2022-01-08 Thread Michael Siebert
Dear all, originally, I have planned to make an extension of the .npy file format a dedicated follow-up pull request, but I have upgraded my current request instead, since it was not as difficult to implement as I initially thought and probably a more straight-forward solution: https://github.com

[Numpy-discussion] Re: An article on numpy data types

2021-12-26 Thread Michael Siebert
] fits the description > > >" If not given, then the type will be determined as the minimum type > >required to hold the objects in the sequence." > https://numpy.org/doc/stable/reference/generated/numpy.array.html > > better than int64 on linux/macos. > > B

[Numpy-discussion] Re: An article on numpy data types

2021-12-26 Thread Michael Siebert
the default if it‘s a 32 bit Python installation. There are still so many 32 bit programs around on Windows - quite scary in 2021 where probably almost every smartphone is 64 bit. > On 26. Dec 2021, at 16:22, Matti Picus wrote: > >  >> On 26/12/21 3:44 pm, Michael Siebert wr

[Numpy-discussion] Re: An article on numpy data types

2021-12-26 Thread Michael Siebert
eeling there's a trend of migrating towards > the c-style notation. > > Best regards, > Lev > >> On Sun, Dec 26, 2021 at 7:05 PM Michael Siebert >> wrote: >> Dear Lev, >> >> thank you a lot! Something like this should be part of the Numpy &

[Numpy-discussion] Re: An article on numpy data types

2021-12-26 Thread Michael Siebert
Dear Lev, thank you a lot! Something like this should be part of the Numpy documentation. I like the diagram, looks very nice! Also, I’ve opened an issue regarding data types https://github.com/numpy/numpy/issues/20662 Some feedback from my side:

[Numpy-discussion] Re: ENH: add functionality NpyAppendArray to numpy.format

2021-11-08 Thread Michael Siebert
maybe the preferable solution after all? On Sun, Nov 7, 2021 at 6:11 PM Michael Siebert wrote: > Dear all, > > I'd like to add the NpyAppendArray functionality, compare > > https://github.com/xor2k/npy-append-array (15 Stars so far) > > and > > https://stackove

[Numpy-discussion] ENH: add functionality NpyAppendArray to numpy.format

2021-11-07 Thread Michael Siebert
Dear all, I'd like to add the NpyAppendArray functionality, compare https://github.com/xor2k/npy-append-array (15 Stars so far) and https://stackoverflow.com/a/64403144/2755796 (10 Upvotes so far) I have prepared a pull request and want to "test the waters" as suggested by the message I have r