conda-forge / staged-recipes

A place to submit conda recipes before they become fully fledged conda-forge feedstocks
https://conda-forge.org
BSD 3-Clause "New" or "Revised" License
701 stars 4.87k forks source link

Package request: tensorflow-text #19578

Open mfansler opened 2 years ago

mfansler commented 2 years ago

Package name

tensorflow-text

Package version

Newest

Package website

Website: https://www.tensorflow.org/text Repository: https://github.com/tensorflow/text

Package availability

PyPI: https://pypi.org/project/tensorflow-text/

Additional comments

Multiple users have attempted and failed to build this in the past: #17613, #16321, #16161, #16215. That is, expect non-trivial workload.

Package is not available

No previous issues or open PRs

ngam commented 2 years ago

It's a rough cookie this one along with anything tensorflow... But we will eventually get to it. If someone wants to give this a go, or any of these tensorflow- derivatives, an important first step is to fully understand the complex build process in https://github.com/conda-forge/tensorflow-feedstock

A likely best solution is to have a maintainer from tensorflow-feedstock have a go at this at some point...

Anselmoo commented 1 year ago

It's a rough cookie this one along with anything tensorflow... But we will eventually get to it. If someone wants to give this a go, or any of these tensorflow- derivatives, an important first step is to fully understand the complex build process in https://github.com/conda-forge/tensorflow-feedstock

A likely best solution is to have a maintainer from tensorflow-feedstock have a go at this at some point...

A PR was initialised https://github.com/conda-forge/tensorflow-feedstock/pull/294#issuecomment-1365356000 however, it further increase the compiling time.

Anselmoo commented 1 year ago

This might be a workaround ...

IF "%PY_VER%"=="2.7" (
    %PYTHON% -m pip install --no-deps https://pypi.org/packages/cp27/c/catboost/catboost-%PKG_VERSION%-cp27-none-win_amd64.whl
)

IF "%PY_VER%"=="3.5" (
    %PYTHON% -m pip install --no-deps https://pypi.org/packages/cp35/c/catboost/catboost-%PKG_VERSION%-cp35-none-win_amd64.whl
)

IF "%PY_VER%"=="3.6" (
    %PYTHON% -m pip install --no-deps https://pypi.org/packages/cp36/c/catboost/catboost-%PKG_VERSION%-cp36-none-win_amd64.whl
)

IF "%PY_VER%"=="3.7" (
    %PYTHON% -m pip install --no-deps https://pypi.org/packages/cp37/c/catboost/catboost-%PKG_VERSION%-cp37-none-win_amd64.whl
)

IF "%PY_VER%"=="3.8" (
    %PYTHON% -m pip install --no-deps https://pypi.org/packages/cp38/c/catboost/catboost-%PKG_VERSION%-cp38-none-win_amd64.whl
)

IF "%PY_VER%"=="3.9" (
    %PYTHON% -m pip install --no-deps https://pypi.org/packages/cp39/c/catboost/catboost-%PKG_VERSION%-cp39-none-win_amd64.whl
)

IF "%PY_VER%"=="3.10" (
    %PYTHON% -m pip install --no-deps https://pypi.org/packages/cp310/c/catboost/catboost-%PKG_VERSION%-cp310-none-win_amd64.whl
)

if errorlevel 1 exit 1

https://github.com/conda-forge/catboost-feedstock/blob/036182496875e787b7d3cbb1c7e051c1c05b395b/recipe/bld.bat