Skip to content

[ADD] Neura demo python script#64

Merged
tancheng merged 67 commits intotancheng:masterfrom
MeowMJ:master
Dec 14, 2025
Merged

[ADD] Neura demo python script#64
tancheng merged 67 commits intotancheng:masterfrom
MeowMJ:master

Conversation

@MeowMJ
Copy link
Copy Markdown
Collaborator

@MeowMJ MeowMJ commented Nov 5, 2025

This is the open-source Python demo for Neura.

Run

./demo.sh

Python file structure:
tools/expandable/
├── README.md
├── main.py
├── core.py
└── visualization.py

Program logic:
Load and init task (Generate or read mapping result of kernels in ./tmp) -> Schedule kernels on multi-CGRAs (Generate schedule result in ./result) -> Visualize using generated result

TODO:

  • Finish corner case.
  • Finish visualization.py

@MeowMJ MeowMJ requested review from tancheng and yuqisun November 5, 2025 08:43
@MeowMJ MeowMJ self-assigned this Nov 5, 2025
@MeowMJ
Copy link
Copy Markdown
Collaborator Author

MeowMJ commented Dec 10, 2025

The script function is passed. I will format the code then.

@tancheng
Copy link
Copy Markdown
Owner

@MeowMJ ready to merge? I saw you also handle certain corner cases for unrolling factor, would that help to align the trends?

@MeowMJ
Copy link
Copy Markdown
Collaborator Author

MeowMJ commented Dec 14, 2025

Hi, here is the summary of the updated code:

Figure Results
Fig. 9 All Neura cases now outperform Baseline, though Baseline remains inferior to Neura-L0, L1, and L2.
Fig. 10 Group 3 data aligns with the expected trend.
Fig. 11 No significant changes observed.

I'm working on the stacked bar output. Let's merge it after I update the visualizer.py.

@tancheng tancheng merged commit 8449018 into tancheng:master Dec 14, 2025
1 check passed
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