-
Notifications
You must be signed in to change notification settings - Fork 25
[Graph Testing] Enable RGG #315
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
base: main
Are you sure you want to change the base?
Conversation
ab700ac to
b9f4e63
Compare
b9f4e63 to
7377d33
Compare
c9aac18 to
eb85703
Compare
ef00379 to
2389ee3
Compare
329081f to
e798af9
Compare
|
Should this one be converted to draft if it's still WIP? |
|
It waits for my review. We had some iterations with @vbrkicTT but we need to review it once more... |
|
The implementation is currently in a stable state. The PR is basically a migration from Buda codebase with many minor and non functional improvements. Further improvements and features we should plan and implement in followup PRs as regular development. |
| class Algorithm: | ||
|
|
||
| name: str | ||
| GraphBuilderType: Type["GraphBuilder"] |
Check warning
Code scanning / flake8
undefined name 'GraphBuilder' Warning test
| def test_graphs( | ||
| test_index: int, | ||
| random_seed: int, | ||
| test_device: "TestDevice", |
Check warning
Code scanning / flake8
undefined name 'TestDevice' Warning test
abf1893 to
3c8b7eb
Compare
ab58c2e to
169a301
Compare
|
|
||
| from typing import List | ||
|
|
||
| from forge import ForgeModule |
Check notice
Code scanning / CodeQL
Unused import Note test
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 4 months ago
To fix the issue, the unused import statement from forge import ForgeModule on line 9 should be deleted. This will remove the unnecessary dependency and make the code cleaner. No other changes are required, as the removal of this import does not affect the functionality of the code.
| @@ -8,3 +8,2 @@ | ||
|
|
||
| from forge import ForgeModule | ||
| from forge import Module |
6d9972c to
f9929cc
Compare
ea1b1c2 to
adec939
Compare
RGG implementation RGG documentation Reformat RGG code Removed global compiler config DepricatedVerifyConfig Use common forge verification Move random seed logic to test_graphs Rename PyBuda to Forge Single RGG pytest test_commands for rgg No reducing microbatch size for forge and torch constants Store test code in pytest report Operator repo update Operator support for RGG classified
Unsupported list of operators Multiple values for skip_forge_verification in RGG
Ticket
Resolves tenstorrent/tt-forge-sweeps#7
Problem description
Enable RGG random graph generator testing
What's changed
RGG implementation
RGG documentation
Reformat RGG code
Removed global compiler config
DepricatedVerifyConfig
Use common forge verification
Move random seed logic to test_graphs
Rename PyBuda to Forge
Single RGG pytest
test_commands for rgg
No reducing microbatch size for forge and torch constants
Store test code in pytest report
Operator repo update
Operator support for RGG classified
Checklist