Skip to content

Commit

Permalink
Cumulative Changes from Downstream (#7)
Browse files Browse the repository at this point in the history
* font attribution added

* font attribution added

* copy repo script reads device params from device config and fixes ssh permission issues

* code speedup and cleaning

* alexnet working

* code deduplication and speedup

* mit license added

* updated README

* updated README

* wsl setup and port forwarding

* wsl setup and port forwarding

* documentation update

* dynamic model registry based on model_name config

* registry can handle different models and datasets with pretrained weights

* registry update

* custom inference postprocessing template

* code restructuring

* data compression updated for custom error messages and dataclasses

* file manager modularized

* ssh session managment uses dataclasses

* device management fully utilizes ssh key handlers

* log manager handles devices correctly

* network client modular

* interface extended

* datasets simplified

* custom model registry updated

* inference utils modularized

* log updates

* registry updated for dynamic model loading

* alexnet imagenet visualize results functional

* visualization config update

* toml configuration

* toml configuration

* readme title update

* attribution, offset version to avoid clash with archived package

* change repo

* add optional dependency pathways (awaiting bugfix from astral-sh/uv#9259)

* add lockfile

* marker ensures cpu extra is flagged if no extra provided

* ruff format

* dependency locks

* friendly email address

* shebangs

* drop black

* lockfile dupes possible in uv0.5.4

* add yaml, remove build for now

* ruff lint & format

* bump reqs

* NotDict -> EarlyOutput for clarity

* obselete hook_style, 'pre' style is no longer used, leaving only one option

* pre-hook shouldn't ever exit

* re-named values to match current functionality

* pre-hook never needs to overwrite from banked_outputs

* simplify posthook

* clarity in variable names

* styling

* dynamic model registry tested to be working with new configs

* add fallback to run entire experiment on server

* yolosplit yaml config name change to yolov8split

* remove explicit post hook from configs

* optimize compression and reduce network overhead

* torch no grad covers both decompression and processing

* prefetch dataloader to refuce dict lookups

* cache torch softmax, vectorize detection bboxes

* list comps instead of loops, lru cache for total_time calc

* cleanup

* fallback documentation

* custom configs documentation

* run dynamic splitpoint off config

* device setup for cpu

* run at splitlayer or all layers based on config

* splitlayers added to configs

* remove redundant to_device method

* read device from config

* power monitoring for edge devices

* power analyzer for detailed consumption metrics

* device hardware utilization metrics

* bug fix: copy results over to server when experiment ends

* Update README.md

restore portion of SS's readme

---------

Co-authored-by: ali-izhar <[email protected]>
Co-authored-by: Izhar Ali <[email protected]>
  • Loading branch information
3 people authored Dec 20, 2024
1 parent c0f9f5c commit d3d5d63
Show file tree
Hide file tree
Showing 66 changed files with 17,179 additions and 3,957 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ipython_config.py
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
Expand Down Expand Up @@ -150,3 +150,9 @@ config/devices_config.yaml

# logs
logs/*

# .tex files
*.tex

# NOTES.md
NOTES.md
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Please follow these steps to have your contribution considered by the maintainer

```bash
# Clone the repository
git clone https://github.com/ali-izhar/tracr.git
git clone https://github.com/nbovee/tracr.git
cd tracr

# Create virtual environment
Expand Down
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2024 Rowan University

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit d3d5d63

Please sign in to comment.