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

Super gradients #20167

Closed
wants to merge 5 commits into from
Closed

Super gradients #20167

wants to merge 5 commits into from

Conversation

sugatoray
Copy link
Contributor

@sugatoray sugatoray commented Aug 23, 2022

Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated meta.yaml".
  • License file is packaged (see here for an example).
  • Source is from official source.
  • Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).
  • If static libraries are linked in, the license of the static library is packaged.
  • Package does not ship static libraries. If static libraries are needed, follow CFEP-18.
  • Build number is 0.
  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details).
  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.
  • When in trouble, please check our knowledge base documentation before pinging a team.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/super-gradients) and found it was in an excellent condition.

@sugatoray
Copy link
Contributor Author

sugatoray commented Aug 23, 2022

Reason for Build Failure: 1/N

Observation:

👉 Fix the errors for the following three dependencies (deps)

  • line number: 908: (error)
  • time elapsed: 4m:28s
The reported errors are:
- Encountered problems while solving:
-   - nothing provides requested coverage >=5.3.1,==5.3.*
-   - nothing provides requested protobuf >=3.19.0,==3.19.*
-   - nothing provides requested sphinx >=4.0.2,==4.0.*

The following shows that coverage >=5.3.1,<5.4.0 exists, but still throws error complaining about not finding it!

Click to Expand

image

- coverage >=5.3.1,<5.4.0
- protobuf >=3.19.0,<3.20.0
- sphinx >=4.0.2,<4.1.0
@sugatoray
Copy link
Contributor Author

sugatoray commented Aug 23, 2022

Reason for Build Failure: 2/N

Observation:

👉 Define an env-variable ENVIRONMENT_NAME and set it to development.

  • line number: 2931: (error)
  • time elapsed: 6m:34s
You did not mention an AWS environment.You can set the environment variable 
ENVIRONMENT_NAME with one of the values: development,staging,production
Click to expand: Detailed Error Trace

import: 'super_gradients'
You did not mention an AWS environment.You can set the environment variable ENVIRONMENT_NAME with one of the values: development,staging,production
Traceback (most recent call last):
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661284178755/test_tmp/run_test.py", line 2, in <module>
    import super_gradients
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661284178755/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/__init__.py", line 1, in <module>
    from super_gradients.training import ARCHITECTURES, losses, utils, datasets_utils, DataAugmentation, \
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661284178755/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/__init__.py", line 3, in <module>
    from super_gradients.training.datasets import datasets_utils, DataAugmentation, TestDatasetInterface, SegmentationTestDatasetInterface,\
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661284178755/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/datasets/__init__.py", line 5, in <module>
    from super_gradients.training.datasets.all_datasets import CLASSIFICATION_DATASETS, OBJECT_DETECTION_DATASETS, \
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661284178755/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/datasets/all_datasets.py", line 4, in <module>
    from super_gradients.training.datasets.dataset_interfaces import DatasetInterface, TestDatasetInterface, \
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661284178755/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/datasets/dataset_interfaces/__init__.py", line 1, in <module>
    from super_gradients.training.datasets.dataset_interfaces.dataset_interface import DatasetInterface, TestDatasetInterface, \
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661284178755/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/datasets/dataset_interfaces/dataset_interface.py", line 21, in <module>
    from super_gradients.training.utils.detection_utils import DetectionTargetsFormat
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661284178755/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/utils/detection_utils.py", line 8, in <module>
    import cv2
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Tests failed for super-gradients-2.2.0-pyhd8ed1ab_0.tar.bz2 - moving package to /home/conda/staged-recipes/build_artifacts/broken
WARNING:conda_build.build:Tests failed for super-gradients-2.2.0-pyhd8ed1ab_0.tar.bz2 - moving package to /home/conda/staged-recipes/build_artifacts/broken
TESTS FAILED: super-gradients-2.2.0-pyhd8ed1ab_0.tar.bz2


Fixing the following is necessary (line num: 2956): (error)

import cv2
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

👉 Use yum_requirements.txt and add libgdal to run-requirements.

@sugatoray
Copy link
Contributor Author

sugatoray commented Aug 23, 2022

Reason for Build Failure: 3/N

Observation:

👉 Failing because of deci-lab-client. Need to add it to conda-forge. But no source or github repository release is available.

import: 'super_gradients'
deci_platform_sg_logger -WARNING- Failed to import deci_lab_client
Click to expand: Detailed Error Trace

import: 'super_gradients'
deci_platform_sg_logger -WARNING- Failed to import deci_lab_client
/home/conda/staged-recipes/build_artifacts/super-gradients_1661290278225/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
callbacks -WARNING- Failed to import deci_lab_client
Traceback (most recent call last):
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661290278225/test_tmp/run_test.py", line 2, in <module>
    import super_gradients
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661290278225/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/__init__.py", line 1, in <module>
    from super_gradients.training import ARCHITECTURES, losses, utils, datasets_utils, DataAugmentation, \
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661290278225/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/__init__.py", line 6, in <module>
    from super_gradients.training.sg_model import SgModel, MultiGPUMode, StrictLoad
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661290278225/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/sg_model/__init__.py", line 3, in <module>
    from super_gradients.training.sg_model.sg_model import SgModel, MultiGPUMode, StrictLoad
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661290278225/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/sg_model/sg_model.py", line 19, in <module>
    from super_gradients.common.factories.callbacks_factory import CallbacksFactory
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661290278225/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/common/factories/callbacks_factory.py", line 3, in <module>
    from super_gradients.training.utils.callbacks import DeciLabUploadCallback, LRCallbackBase, LRSchedulerCallback, \
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661290278225/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/utils/callbacks.py", line 113, in <module>
    class ModelConversionCheckCallback(PhaseCallback):
  File "/home/conda/staged-recipes/build_artifacts/super-gradients_1661290278225/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/super_gradients/training/utils/callbacks.py", line 140, in ModelConversionCheckCallback
    def __init__(self, model_meta_data: ModelMetadata, **kwargs):
NameError: name 'ModelMetadata' is not defined
Tests failed for super-gradients-2.2.0-pyhd8ed1ab_0.tar.bz2 - moving package to /home/conda/staged-recipes/build_artifacts/broken
WARNING:conda_build.build:Tests failed for super-gradients-2.2.0-pyhd8ed1ab_0.tar.bz2 - moving package to /home/conda/staged-recipes/build_artifacts/broken
TESTS FAILED: super-gradients-2.2.0-pyhd8ed1ab_0.tar.bz2

@stale
Copy link

stale bot commented Apr 12, 2023

Hi friend!

We really, really, really appreciate that you have taken the time to make a PR on conda-forge/staged-recipes! conda-forge only exists because people like you donate their time to build and maintain conda recipes for use by the community.

In an effort to maintain this repository and increase the signal-to-noise for open PRs, the maintainers of staged-recipes close excessively old PRs after six months. This PR will remain open for another month, and then will be closed.

If you'd like to keep it open, please comment/push and we will be happy to oblige! Note that very old PRs will likely need to be rebased on main so that they can be rebuilt with the most recent CI scripts. If you have any trouble, or we missed reviewing this PR in the first place (sorry!), feel free to ping the team using a special command in a comment on the PR to get the attention of the staged-recipes team.

Cheers and thank you for contributing to this community effort!

@stale stale bot added the stale will be closed in 30 days label Apr 12, 2023
@stale
Copy link

stale bot commented May 13, 2023

Hi again! About a month ago, we commented on this PR saying it would be closed in another month if it was still inactive. It has been a month and so now it is being closed. Thank you so much for making it in the first place and contributing to the community project that is conda-forge. If you'd like to reopen this PR, please feel free to do so at any time!

Cheers and have a great day!

@stale stale bot closed this May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale will be closed in 30 days
Development

Successfully merging this pull request may close these issues.

None yet

2 participants