-
Notifications
You must be signed in to change notification settings - Fork 25
[Deps] Dependency Split #2972
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
Open
saiarthiraguram
wants to merge
19
commits into
main
Choose a base branch
from
deps_split_stepwise
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[Deps] Dependency Split #2972
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
ab067d1
[Deps] removes dist_requirements.txt rename linux requirements to dev
saiarthiraguram 0e17f6d
[Deps] Initial split up of dependencies to core and dev
saiarthiraguram a720fa9
[Deps] Adds core-requirements install to dockerfile.base
saiarthiraguram de4b62c
[CI] added test for core-requirements
saiarthiraguram e69e8a9
Merge branch 'main' into deps_split_stepwise
saiarthiraguram ab7306a
[Deps]Removes debug code in test-sub.yml
saiarthiraguram 960aa8c
Merge branch 'main' into deps_split_stepwise
saiarthiraguram 39b63a1
Changes slim_wheel to slim
saiarthiraguram 912775d
Adds changes to test-sub on dynamic docker tags
saiarthiraguram 91b75f2
Adds changes to test-sub on dynamic docker tags
saiarthiraguram 655ce35
Adds changes to test-sub
saiarthiraguram 18add29
Adds changes to test-sub
saiarthiraguram 093266e
Adds test-slim in PR workflow
saiarthiraguram 8ab9ca4
[Deps] adds psutil to remove import errors
saiarthiraguram 9ed0c52
Merge branch 'main' into deps_split_stepwise
saiarthiraguram 1889f6c
Merge branch 'main' into deps_split_stepwise
saiarthiraguram 6eb4cae
Upgrades torch from 2.7.0 to 2.7.1
saiarthiraguram be5fe93
Merge branch 'main' into deps_split_stepwise
saiarthiraguram 3d16742
Reverts torch upgrade to 2.7.1
saiarthiraguram File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,8 +15,11 @@ on: | |
| type: string | ||
| outputs: | ||
| docker-image: | ||
| description: "Built docker image name" | ||
| description: "Built CI docker image name" | ||
| value: ${{ jobs.build-image.outputs.docker-image }} | ||
| base-image: | ||
| description: "Built base IRD docker image name" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nitpick: its not IRD but base image |
||
| value: ${{ jobs.build-image.outputs.base-image }} | ||
|
|
||
|
|
||
| permissions: | ||
|
|
@@ -29,6 +32,7 @@ jobs: | |
| runs-on: tt-ubuntu-2204-large-stable | ||
| outputs: | ||
| docker-image: ${{ steps.build.outputs.docker-image }} | ||
| base-image: ${{ steps.build.outputs.base-image }} | ||
| steps: | ||
| - name: Fix permissions | ||
| shell: bash | ||
|
|
@@ -73,12 +77,16 @@ jobs: | |
| id: build | ||
| shell: bash | ||
| run: | | ||
| # Output the image name | ||
| # Output the image names | ||
| set pipefail | ||
| .github/build-docker-images.sh | tee docker.log | ||
| DOCKER_CI_IMAGE=$(tail -n 1 docker.log) | ||
| DOCKER_TAG=$(./.github/get-docker-tag.sh) | ||
| DOCKER_CI_IMAGE="ghcr.io/tenstorrent/tt-forge-fe/tt-forge-fe-ird-ubuntu-22-04:$DOCKER_TAG" | ||
| DOCKER_BASE_IMAGE="ghcr.io/tenstorrent/tt-forge-fe/tt-forge-fe-base-ubuntu-22-04:$DOCKER_TAG" | ||
| echo "DOCKER_CI_IMAGE $DOCKER_CI_IMAGE" | ||
| echo "DOCKER_BASE_IMAGE $DOCKER_BASE_IMAGE" | ||
| echo "docker-image=$DOCKER_CI_IMAGE" >> "$GITHUB_OUTPUT" | ||
| echo "base-image=$DOCKER_BASE_IMAGE" >> "$GITHUB_OUTPUT" | ||
|
|
||
| set-latest: | ||
| # Set the latest tag on the IRD image | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,48 +1,8 @@ | ||
| setuptools>=61 | ||
| # This is needed to avoid issue https://yyz-gitlab.local.tenstorrent.com/devops/devops/-/issues/95 | ||
| # jax requires any version of optax which requires any version of chex which in turn | ||
| # requires jax>=0.4.6 which conflicts with our jax == 0.3.16 | ||
| # JAX 0.7 compatible dependencies | ||
| chex>=0.1.7 | ||
| dataclasses-json==0.5.7 | ||
| datasets==2.14.6 | ||
| decorator==5.1.1 | ||
| flatbuffers==24.3.25 | ||
| # This is needed to prevent AttributeError: module 'ml_dtypes' has no attribute 'float8_e4m3b11' | ||
| flax>=0.10.6 | ||
| jax==0.7.1 | ||
| loguru==0.5.3 | ||
| networkx==2.8.5 | ||
| #core requirements - only essentials for compiler e2e | ||
| numpy==1.26.4 | ||
| onnx>=1.15.0 | ||
| onnxruntime>=1.16.3 | ||
| opencv-python-headless==4.11.0.86 | ||
| # This is needed to avoid issue https://yyz-gitlab.local.tenstorrent.com/devops/devops/-/issues/95 | ||
| pandas==1.5.3 | ||
| pybind11==2.6.2 | ||
| pyinstrument>=4.1.1 | ||
| scipy>=1.8.0 | ||
| tensorflow==2.19.0 | ||
| tensorboard==2.19.0 | ||
| tf2onnx==1.15.1 | ||
| transformers==4.52.4 | ||
| # To avoid warning during the import | ||
| requests==2.28.2 | ||
| tflite==2.10.0 | ||
| ultralytics==8.3.91 | ||
| paddlepaddle==2.6.2 | ||
| paddlenlp==2.8.1 | ||
| aistudio-sdk==0.2.6 | ||
| pytorch_forecasting | ||
| patool | ||
| openpyxl==3.1.5 | ||
| GitPython==3.1.44 | ||
| mlp-mixer-pytorch==0.2.0 | ||
| gliner==0.2.7 | ||
| ase==3.24.0 | ||
| hippynn==0.0.3 | ||
| bi-lstm-crf==0.2.1 | ||
| peft | ||
| pyclipper>=1.3.0 | ||
| shapely==2.1.1 | ||
| pyarrow==20.0.0 | ||
| loguru==0.5.3 | ||
| psutil==5.9.8 | ||
| pybind11>=2.10.0 | ||
| pytest>=8.0.0 | ||
| torch @ https://download.pytorch.org/whl/cpu/torch-2.7.0%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl ; python_version == "3.11" | ||
| torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.22.0%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl ; python_version == "3.11" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,135 @@ | ||
| #dev-requirements | ||
| # This is needed to avoid issue https://yyz-gitlab.local.tenstorrent.com/devops/devops/-/issues/95 | ||
| # jax requires any version of optax which requires any version of chex which in turn | ||
| # requires jax>=0.4.6 which conflicts with our jax == 0.3.16 | ||
|
|
||
|
|
||
| # JAX Stack (JAX 0.7 compatible dependencies) | ||
|
|
||
| jax==0.7.1 | ||
| chex>=0.1.7 | ||
| # This is needed to prevent AttributeError: module 'ml_dtypes' has no attribute 'float8_e4m3b11' | ||
| flax>=0.10.6 | ||
|
|
||
|
|
||
| # Unit Testing Framework | ||
|
|
||
| pytest==6.2.4 | ||
| pytest-timeout==2.0.1 | ||
| pytest-xdist==2.5.0 | ||
| pytest-split | ||
|
|
||
|
|
||
| # Deep Learning Frameworks | ||
|
|
||
| tensorflow==2.19.0 | ||
| tensorboard==2.19.0 | ||
| transformers==4.52.4 | ||
| diffusers==0.32.1 | ||
|
|
||
|
|
||
| # PaddlePaddle Stack | ||
|
|
||
| paddlepaddle==2.6.2 | ||
| paddlenlp==2.8.1 | ||
| aistudio-sdk==0.2.6 | ||
|
|
||
|
|
||
| # ONNX Ecosystem | ||
|
|
||
| onnx>=1.15.0 | ||
| onnxruntime>=1.16.3 | ||
| tf2onnx==1.15.1 | ||
| tflite==2.10.0 | ||
|
|
||
|
|
||
| # Computer Vision Libraries | ||
|
|
||
| opencv-python-headless==4.11.0.86 | ||
| opencv-contrib-python==4.9.0.80 | ||
| timm==1.0.9 | ||
| ultralytics==8.3.91 | ||
| yolov5==7.0.9 | ||
| yolov6detect==0.4.1 | ||
| pytorchcv==0.0.67 | ||
| segmentation_models_pytorch==0.4.0 | ||
| torchxrayvision==0.0.39 | ||
| vgg_pytorch==0.3.0 | ||
| # For DenseNet 121 HF XRay model | ||
| scikit-image==0.20.0 | ||
| # Required by the RMBG model | ||
| kornia | ||
|
|
||
|
|
||
| # Data Processing & Datasets | ||
|
|
||
| # This is needed to avoid issue https://yyz-gitlab.local.tenstorrent.com/devops/devops/-/issues/95 | ||
| pandas==1.5.3 | ||
| datasets==2.14.6 | ||
| pyarrow==20.0.0 | ||
| openpyxl==3.1.5 | ||
|
|
||
|
|
||
| # Audio Processing | ||
|
|
||
| # Required by the Whisper model package for audio processing | ||
| librosa | ||
| soundfile | ||
|
|
||
|
|
||
| # Model Fine-tuning & Optimization | ||
|
|
||
| peft==0.15.1 | ||
|
|
||
|
|
||
| # Specialized ML Models | ||
|
|
||
| mlp-mixer-pytorch==0.2.0 | ||
| gliner==0.2.7 | ||
| pytorch_forecasting | ||
| bi-lstm-crf==0.2.1 | ||
| # Atomic simulation environment | ||
| ase==3.24.0 | ||
| hippynn==0.0.3 | ||
|
|
||
|
|
||
| # Geometry & Image Processing Utilities | ||
|
|
||
| pyclipper>=1.3.0 | ||
| shapely==2.1.1 | ||
|
|
||
|
|
||
| # Scientific Computing & Utilities | ||
|
|
||
| scipy>=1.8.0 | ||
| networkx==2.8.5 | ||
| decorator==5.1.1 | ||
| seaborn | ||
|
|
||
|
|
||
| # Development & Debugging Tools | ||
|
|
||
| pyinstrument>=4.1.1 | ||
| clang-format==18.1.7 | ||
| tabulate==0.9.0 | ||
|
|
||
|
|
||
| # Serialization & Data Formats | ||
|
|
||
| dataclasses-json==0.5.7 | ||
| flatbuffers==24.3.25 | ||
| safetensors==0.6.0.dev0 | ||
|
|
||
|
|
||
| # System & Build Dependencies | ||
|
|
||
| pybind11==2.6.2 | ||
| # To avoid warning during the import | ||
| requests==2.28.2 | ||
| GitPython==3.1.44 | ||
| python-gitlab==4.4.0 | ||
| patool | ||
|
|
||
| #to resolve cuda Error - CUDA toolkit was not found or specified | ||
| torch @ https://download.pytorch.org/whl/cpu/torch-2.7.0%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl ; python_version == "3.11" | ||
| torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.22.0%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl ; python_version == "3.11" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.