Skip to content

Commit

Permalink
Function refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
TaekyungHeo committed May 14, 2024
1 parent 7feeea8 commit cb11256
Show file tree
Hide file tree
Showing 28 changed files with 3,039 additions and 5,418 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python_lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Python Linting

on: [push, pull_request]
on: pull_request

jobs:
lint-and-format:
Expand All @@ -18,4 +18,7 @@ jobs:
run: |
pip install black
- name: Run Black
run: black . --check
run: black . --check --exclude et_replay

- name: Run Ruff format
run: ruff format et_replay
1 change: 1 addition & 0 deletions et_replay/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
build/
et_replay.egg-info/
__pycache__/
Empty file added et_replay/lib/__init__.py
Empty file.
362 changes: 0 additions & 362 deletions et_replay/lib/chakra_trace_parser.py

This file was deleted.

3 changes: 3 additions & 0 deletions et_replay/lib/comm/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .comm_op_args import CommOpArgs
from .comm_tensor_allocator import CommTensorAllocator
from .comm_trace_reader import CommTraceReader
3 changes: 3 additions & 0 deletions et_replay/lib/comm/backend/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .base_backend import BaseBackend
from .mock import MockBackend
from .pytorch_dist import PyTorchDistBackend
Loading

0 comments on commit cb11256

Please sign in to comment.