Search found 168 matches

by v923z
Fri Aug 07, 2020 2:36 pm
Forum: ESP32 boards
Topic: ESP32 firmwares with single/double precision and ulab module
Replies: 13
Views: 19460

Re: ESP32 firmwares with single/double precision and ulab module

I just meant that the firmware files should have a distinct repository. I don't care, if you mix different types of firmware there. Done, all of my MicroPython built firmwares in one dedicated repository : https://gitlab.com/rcolistete/micropython-firmwares/ OK, thanks! I will update the link on my...
by v923z
Mon Aug 03, 2020 6:46 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 108
Views: 92000

Re: ulab, or what you will - numpy on bare metal

rcolistete wrote:
Mon Aug 03, 2020 6:08 pm
Yeah, I was planning some days between firmware releases. I'll try to submmit 'linalg.cross()' and 'linalg.norm()' with more features during this wees.
Well, actually I managed to merge this now: https://github.com/v923z/micropython-ulab/pull/165
by v923z
Mon Aug 03, 2020 6:03 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 108
Views: 92000

Re: ulab, or what you will - numpy on bare metal

I think it is better (less limitation) to document 'argsort' explaining that it deals with arrays with size up to 65535, due to the internal number types of ulab (uint16 is the maximum integer). OK, so if the length > 65535, we simply bail out with a ValueError? Could be done. Yeah, error message a...
by v923z
Mon Aug 03, 2020 6:01 pm
Forum: ESP32 boards
Topic: ESP32 firmwares with single/double precision and ulab module
Replies: 13
Views: 19460

Re: ESP32 firmwares with single/double precision and ulab module

I was also thinking to separate into more repositories... Different repository only for MicroPyton firmwares with ulab ? Or the repository can have non-ulad and ulab firmwares ? I just meant that the firmware files should have a distinct repository. I don't care, if you mix different types of firmw...
by v923z
Mon Aug 03, 2020 5:52 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 108
Views: 92000

Re: ulab, or what you will - numpy on bare metal

Motivation to keep ulab powerful/not limited : some initial benchmarks show that ulab on some MCU boards is competitive with NumPy on Raspberry Pi. Raspberry Pi Zero (W) is even slower. Well, that is surprising. But it could be related to the fact that ulab has absolutely no python facade. In numpy...
by v923z
Mon Aug 03, 2020 5:51 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 108
Views: 92000

Re: ulab, or what you will - numpy on bare metal

rcolistete wrote:
Mon Aug 03, 2020 5:45 pm
I think it is better (less limitation) to document 'argsort' explaining that it deals with arrays with size up to 65535, due to the internal number types of ulab (uint16 is the maximum integer).
OK, so if the length > 65535, we simply bail out with a ValueError? Could be done.
by v923z
Mon Aug 03, 2020 5:48 pm
Forum: ESP32 boards
Topic: ESP32 firmwares with single/double precision and ulab module
Replies: 13
Views: 19460

Re: ESP32 firmwares with single/double precision and ulab module

I've compiled ESP32 firmwares with many combinations of single/double precision (float point numbers), ESP-IDF v3.3/4.0 and ulab module , look at : Firmwares for MicroPython on ESP32 . - MicroPython v1.12 firmwares without ulab : * 16 firmwares with combinations of sp, dp, ESP-IDF v3.3, ESP-IDF v4....
by v923z
Mon Aug 03, 2020 5:33 pm
Forum: Development of MicroPython
Topic: compiling native modules (ulab)
Replies: 7
Views: 5030

Re: compiling native modules (ulab)

That would probably be a show-stopper. Someone has got ulab on an ESP8266 with virtually no RAM. In fact, that was, when I started to ponder native modules, but if the whole package has to run from RAM, then it is a bit of a predicament. Yeah at this stage (until we get some way to have a "scratch ...
by v923z
Mon Aug 03, 2020 5:30 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 108
Views: 92000

Re: ulab, or what you will - numpy on bare metal

ulab v0.54.1 has one important fix (vectors with lenght > 65535) when using MicroPython boards with lot of RAM (like ESP32 PSRAM). I'll publish MicroPython firmwares with ulab v0.54.1 during this week. There is actually one issue with this. I haven't though about this before, but here it is: argsor...
by v923z
Sun Aug 02, 2020 6:49 pm
Forum: Development of MicroPython
Topic: compiling native modules (ulab)
Replies: 7
Views: 5030

Re: compiling native modules (ulab)

.mpy disadvantages : - longer import time to load the .mpy file from local file system; - more RAM usage during and after the import, but many boards have a lot of RAM (Pyboard D, ESP32 PSRAM, MAix BiT with K210, OpenMV M7/H7, Teensy 4.x, etc); I would like to have something that works on all platf...