-
Notifications
You must be signed in to change notification settings - Fork 19
ScaledYOLOv4 port to Polaris #335
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request ports the ScaledYOLOv4 object detection model to the Polaris platform using ttsim (TensTorrent Simulator). The PR adds comprehensive validation infrastructure comparing ttsim implementations against PyTorch reference implementations.
Changes:
- Adds ScaledYOLOv4 model implementation with ttsim-compatible modules
- Implements validation scripts for 18+ common modules and 2 YOLO-specific modules
- Extends ttsim core to support data propagation through operations (Conv2d, BatchNorm, MaxPool, etc.)
- Adds new operations (Mish, ReLU6, AdaptiveAvgPool2d) to ttsim
- Includes configuration files for workload registration
Reviewed changes
Copilot reviewed 38 out of 38 changed files in this pull request and generated 26 comments.
Show a summary per file
| File | Description |
|---|---|
| workloads/ScaledYOLOv4/reference/yolo/run_all.py | Orchestrates YOLO module validations (Detect, Model) |
| workloads/ScaledYOLOv4/reference/yolo/results.md | Pre-generated validation results (2/2 modules passed) |
| workloads/ScaledYOLOv4/reference/yolo/detect.py | Validates Detect layer against PyTorch |
| workloads/ScaledYOLOv4/reference/common/run_all.py | Orchestrates common module validations (18 modules) |
| workloads/ScaledYOLOv4/reference/common/results.md | Pre-generated validation results (18/18 passed) |
| workloads/ScaledYOLOv4/reference/common/*.py | Individual module validation scripts |
| workloads/ScaledYOLOv4/models/experimental.py | Experimental modules (CrossConv, C3, GhostConv, etc.) |
| workloads/ScaledYOLOv4/models/utils/*.py | Utility functions adapted for ttsim |
| workloads/ScaledYOLOv4/README.md | Documentation for workload validation |
| ttsim/ops/desc/*.py | Core ttsim extensions for data propagation |
| ttsim/front/functional/op.py | New operation definitions (Mish, ReLU6, AdaptiveAvgPool2d) |
| config/*.yaml | Configuration for workload registration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6ce1cf1 to
e8d2fc5
Compare
|
Can some tests be added to test this content? Test Categories:
Across all these categories:
|
No description provided.