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

dataclasses and code speedup #3

Merged
merged 78 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
7342346
font attribution added
ali-izhar Nov 7, 2024
9ad6d8c
font attribution added
ali-izhar Nov 7, 2024
95f6516
copy repo script reads device params from device config and fixes ssh…
ali-izhar Nov 7, 2024
a865105
code speedup and cleaning
ali-izhar Nov 8, 2024
c8e63a7
alexnet working
ali-izhar Nov 8, 2024
d36f75d
code deduplication and speedup
ali-izhar Nov 8, 2024
9af8985
mit license added
ali-izhar Nov 11, 2024
968d2a7
updated README
ali-izhar Nov 11, 2024
e8cbb2e
updated README
ali-izhar Nov 11, 2024
bd1ea15
wsl setup and port forwarding
ali-izhar Nov 11, 2024
31e982f
wsl setup and port forwarding
ali-izhar Nov 11, 2024
9eff480
documentation update
ali-izhar Nov 13, 2024
a913ee1
dynamic model registry based on model_name config
ali-izhar Nov 13, 2024
4a08a92
registry can handle different models and datasets with pretrained wei…
ali-izhar Nov 14, 2024
65e83cf
registry update
ali-izhar Nov 14, 2024
448d66d
custom inference postprocessing template
ali-izhar Nov 14, 2024
8f3b94b
code restructuring
ali-izhar Nov 14, 2024
41d4a6c
data compression updated for custom error messages and dataclasses
ali-izhar Nov 14, 2024
ccd6b9d
file manager modularized
ali-izhar Nov 14, 2024
8549508
ssh session managment uses dataclasses
ali-izhar Nov 14, 2024
7ed5280
device management fully utilizes ssh key handlers
ali-izhar Nov 14, 2024
9fce4f3
log manager handles devices correctly
ali-izhar Nov 14, 2024
4b47e0d
network client modular
ali-izhar Nov 14, 2024
55323c6
interface extended
ali-izhar Nov 14, 2024
155d2ac
datasets simplified
ali-izhar Nov 14, 2024
7e9f8d4
custom model registry updated
ali-izhar Nov 14, 2024
d836082
inference utils modularized
ali-izhar Nov 14, 2024
7706224
log updates
ali-izhar Nov 15, 2024
acbcc48
registry updated for dynamic model loading
ali-izhar Nov 15, 2024
82255ed
alexnet imagenet visualize results functional
ali-izhar Nov 15, 2024
ea0fca0
visualization config update
ali-izhar Nov 15, 2024
108b9fb
toml configuration
ali-izhar Nov 15, 2024
f9c2587
toml configuration
ali-izhar Nov 15, 2024
0e690f2
readme title update
ali-izhar Nov 15, 2024
687bbc8
attribution, offset version to avoid clash with archived package
nbovee Nov 19, 2024
f2710e6
change repo
nbovee Nov 20, 2024
a25f2b0
add optional dependency pathways (awaiting bugfix from https://github…
nbovee Nov 20, 2024
e8c7e9b
add lockfile
nbovee Nov 20, 2024
6bbfd96
marker ensures cpu extra is flagged if no extra provided
nbovee Nov 20, 2024
79cdef2
ruff format
nbovee Nov 20, 2024
4fb9835
dependency locks
nbovee Nov 21, 2024
1daf7f1
friendly email address
nbovee Nov 22, 2024
53e1d06
shebangs
nbovee Nov 22, 2024
c99dac4
drop black
nbovee Nov 22, 2024
107e9bd
lockfile dupes possible in uv0.5.4
nbovee Nov 22, 2024
9298d77
add yaml, remove build for now
nbovee Nov 22, 2024
28f552f
ruff lint & format
nbovee Nov 22, 2024
2a02662
bump reqs
nbovee Nov 22, 2024
0763216
NotDict -> EarlyOutput for clarity
nbovee Nov 22, 2024
ae0d048
obselete hook_style, 'pre' style is no longer used, leaving only one …
nbovee Nov 22, 2024
0d9f726
pre-hook shouldn't ever exit
nbovee Nov 22, 2024
10c6367
re-named values to match current functionality
nbovee Nov 22, 2024
286f5fa
pre-hook never needs to overwrite from banked_outputs
nbovee Nov 22, 2024
6fcbc3a
simplify posthook
nbovee Nov 22, 2024
1a8cfb0
clarity in variable names
nbovee Nov 22, 2024
fcf8ae1
styling
nbovee Nov 22, 2024
cf54d1e
dynamic model registry tested to be working with new configs
ali-izhar Dec 5, 2024
4be658c
add fallback to run entire experiment on server
ali-izhar Dec 5, 2024
cd0b451
yolosplit yaml config name change to yolov8split
ali-izhar Dec 5, 2024
1a3055d
remove explicit post hook from configs
ali-izhar Dec 5, 2024
f31f823
optimize compression and reduce network overhead
ali-izhar Dec 5, 2024
1dea5d4
torch no grad covers both decompression and processing
ali-izhar Dec 5, 2024
772c967
prefetch dataloader to refuce dict lookups
ali-izhar Dec 5, 2024
2326329
cache torch softmax, vectorize detection bboxes
ali-izhar Dec 5, 2024
d587c10
list comps instead of loops, lru cache for total_time calc
ali-izhar Dec 5, 2024
a89a6c7
cleanup
ali-izhar Dec 5, 2024
2d1818f
fallback documentation
ali-izhar Dec 5, 2024
227dd67
custom configs documentation
ali-izhar Dec 5, 2024
21902bf
run dynamic splitpoint off config
Dec 11, 2024
8a00570
device setup for cpu
Dec 11, 2024
a8a2a5e
run at splitlayer or all layers based on config
ali-izhar Dec 11, 2024
b60e04f
splitlayers added to configs
ali-izhar Dec 11, 2024
ded9509
remove redundant to_device method
ali-izhar Dec 11, 2024
1632aa0
read device from config
ali-izhar Dec 14, 2024
01dd5d4
power monitoring for edge devices
ali-izhar Dec 14, 2024
f0c09dd
power analyzer for detailed consumption metrics
ali-izhar Dec 14, 2024
508aefc
device hardware utilization metrics
ali-izhar Dec 16, 2024
bdc1fb8
bug fix: copy results over to server when experiment ends
ali-izhar Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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