Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support for writing weights in array on source files #915

Merged

Conversation

andresovela
Copy link
Contributor

This PR renames --xcore-load-tile to --xcore-write-weights-as-array, and adds a new --xcore-weights-in-external-memory option.

I also made some changes so that a .c/.h file pair is generated, with a TILE_SERVER_WEIGHTS_SIZE definition and I added the missing #include <stdint.h> and __attribute__ ((section(".ExtMem.data"))) to the .c file.

@andresovela andresovela mentioned this pull request Jul 22, 2024
@panickal-xmos panickal-xmos merged commit a52a2e1 into xmos:develop Jul 24, 2024
4 checks passed
@andresovela andresovela deleted the xformer-weights-on-external-memory branch July 24, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants