get-generic-python-lib
Automatically generated README for this automation recipe: get-generic-python-lib
Category: Python automation
License: Apache 2.0
-
Notes from the authors, contributors and users: README-extra
-
CM meta description for this script: _cm.json
- Output cached? True
Reuse this script in your project
Install MLCommons CM automation meta-framework
Pull CM repository with this automation recipe (CM script)
cm pull repo mlcommons@cm4mlops
Print CM help from the command line
cmr "get generic-python-lib" --help
Run this script
Run this script via CLI
cm run script --tags=get,generic-python-lib[,variations] [--input_flags]
Run this script via CLI (alternative)
cmr "get generic-python-lib [variations]" [--input_flags]
Run this script from Python
import cmind
r = cmind.access({'action':'run'
'automation':'script',
'tags':'get,generic-python-lib'
'out':'con',
...
(other input keys for this script)
...
})
if r['return']>0:
print (r['error'])
Run this script via Docker (beta)
cm docker script "get generic-python-lib[variations]" [--input_flags]
Variations
-
No group (any combination of variations can be selected)
Click here to expand this section.
_Pillow
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
Pillow
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_anthropic
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
anthropic
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_apache-tvm
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
apache-tvm
- CM_GENERIC_PYTHON_PIP_EXTRA:
--pre
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_apex
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
apex
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_async_timeout
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
async_timeout
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_attr
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
attr
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_attrs
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
attrs
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_boto3
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
boto3
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_cloudpickle
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
cloudpickle
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_cmind
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
cmind
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_colored
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
colored
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL:
https://pypi.ngc.nvidia.com
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_conda.#
_cupy
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
cupy
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_custom-python
- ENV variables:
- CM_TMP_USE_CUSTOM_PYTHON:
on
- CM_TMP_USE_CUSTOM_PYTHON:
- ENV variables:
_datasets
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
datasets
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_decorator
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
decorator
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_deepsparse
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
deepsparse
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_dllogger
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
dllogger
- CM_GENERIC_PYTHON_PIP_URL:
git+https://github.com/NVIDIA/dllogger#egg=dllogger
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_fiftyone
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
fiftyone
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_google-api-python-client
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
google_api_python_client
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_google-auth-oauthlib
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
google_auth_oauthlib
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_huggingface_hub
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
huggingface_hub
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_inflect
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
inflect
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_jax
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
jax
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_jax_cuda
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
jax[cuda]
- CM_GENERIC_PYTHON_PIP_EXTRA:
-f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
- CM_JAX_VERSION_EXTRA:
CUDA
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_librosa
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
librosa
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_matplotlib
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
matplotlib
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_mlperf_loadgen
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
mlperf_loadgen
- CM_GENERIC_PYTHON_PIP_URL:
git+https://github.com/mlcommons/inference.git#subdirectory=loadgen
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_mlperf_logging
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
mlperf_logging
- CM_GENERIC_PYTHON_PIP_URL:
git+https://github.com/mlperf/logging.git
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_mpld3
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
mpld3
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_nibabel
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
nibabel
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_numpy
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
numpy
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_nvidia-apex
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
apex
- CM_GENERIC_PYTHON_PACKAGE_VARIANT:
nvidia-apex
- CM_GENERIC_PYTHON_PIP_URL:
git+https://github.com/nvidia/apex@0da3ffb92ee6fbe5336602f0e3989db1cd16f880
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_nvidia-apex-from-src
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
apex
- CM_GENERIC_PYTHON_PACKAGE_VARIANT:
nvidia-apex
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_nvidia-dali
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
nvidia-dali-cuda120
- CM_GENERIC_PYTHON_PIP_EXTRA:
--upgrade --default-timeout=900
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL:
https://developer.download.nvidia.com/compute/redist
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_nvidia-pycocotools
- ENV variables:
- CM_GENERIC_PYTHON_PIP_UNINSTALL_DEPS:
pycocotools
- CM_GENERIC_PYTHON_PIP_URL:
pycocotools@git+https://github.com/NVIDIA/cocoapi#subdirectory=PythonAPI
- CM_GENERIC_PYTHON_PIP_UNINSTALL_DEPS:
- ENV variables:
_nvidia-pyindex
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
nvidia-pyindex
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_nvidia-tensorrt
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
nvidia-tensorrt
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_onnx
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
onnx
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_onnx-graphsurgeon
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
onnx_graphsurgeon
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_onnxruntime
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
onnxruntime
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_onnxruntime_gpu
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
onnxruntime_gpu
- CM_ONNXRUNTIME_VERSION_EXTRA:
GPU
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_openai
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
openai
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_opencv-python
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
opencv-python
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_package.#
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
#
- CM_GENERIC_PYTHON_PIP_UNINSTALL_DEPS: ``
- CM_GENERIC_PYTHON_PIP_URL: ``
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_pandas
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
pandas
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_path.#
- ENV variables:
- CM_GENERIC_PYTHON_PIP_URL:
#
- CM_GENERIC_PYTHON_PIP_URL:
- ENV variables:
_pillow
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
Pillow
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_pip
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
pip
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_polygraphy
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
polygraphy
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL:
https://pypi.ngc.nvidia.com
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_pre
- ENV variables:
- CM_GENERIC_PYTHON_DEV_VERSION:
yes
- CM_GENERIC_PYTHON_DEV_VERSION:
- ENV variables:
_protobuf
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
protobuf
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_psutil
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
psutil
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_pycocotools
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
pycocotools
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_pycuda
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
pycuda
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_ray
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
ray[default]
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_requests
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
requests
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_rocm
_safetensors
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
safetensors
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_scikit-learn
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
scikit-learn
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_scipy
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
scipy
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_scons
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
scons
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_setfit
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
setfit
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_setuptools
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
setuptools
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_six
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
six
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_sklearn
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
sklearn
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_sox
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
sox
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_sparsezoo
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
sparsezoo
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_streamlit
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
streamlit
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_streamlit_option_menu
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
streamlit_option_menu
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_tensorboard
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
tensorboard
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_tensorflow
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
tensorflow
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_tensorrt
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
tensorrt
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL:
https://download.pytorch.org/whl/<<<CM_CUDA_VERSION_STRING>>>
- CM_TORCH_VERSION_EXTRA:
CUDA
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_tflite
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
tflite
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_tflite-runtime
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
tflite-runtime
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_tokenization
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
tokenization
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_toml
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
toml
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_torch
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
torch
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL:
https://download.pytorch.org/whl/cpu
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_torch_cuda
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
torch
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL1:
https://download.pytorch.org/whl/<<<CM_CUDA_VERSION_STRING>>>
- CM_TORCH_VERSION_EXTRA:
CUDA
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_torch_tensorrt
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
torch-tensorrt
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL:
https://download.pytorch.org/whl/<<<CM_CUDA_VERSION_STRING>>>
- CM_TORCH_VERSION_EXTRA:
CUDA
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_torchaudio
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
torchaudio
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL:
https://download.pytorch.org/whl/cpu
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_torchaudio_cuda
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
torchaudio
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL1:
https://download.pytorch.org/whl/<<<CM_CUDA_VERSION_STRING>>>
- CM_TORCHAUDIO_VERSION_EXTRA:
CUDA
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_torchvision
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
torchvision
- CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL:
https://download.pytorch.org/whl/cpu
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_torchvision_cuda
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
torchvision
- CM_TORCHVISION_VERSION_EXTRA:
CUDA
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_tornado
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
tornado
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_tqdm
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
tqdm
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_transformers
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
transformers
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_typing_extensions
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
typing_extensions
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_ujson
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
ujson
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_unidecode
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
unidecode
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_url.#
- ENV variables:
- CM_GENERIC_PYTHON_PIP_URL:
#
- CM_TMP_PYTHON_PACKAGE_FORCE_INSTALL:
yes
- CM_GENERIC_PYTHON_PIP_URL:
- ENV variables:
_wandb
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
wandb
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_west
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
west
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_xgboost
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
xgboost
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
_xlsxwriter
- ENV variables:
- CM_GENERIC_PYTHON_PACKAGE_NAME:
xlsxwriter
- CM_GENERIC_PYTHON_PACKAGE_NAME:
- ENV variables:
Script flags mapped to environment
--extra_index_url=value
→CM_GENERIC_PYTHON_PIP_EXTRA_INDEX_URL=value
--force_install=value
→CM_TMP_PYTHON_PACKAGE_FORCE_INSTALL=value
--index_url=value
→CM_GENERIC_PYTHON_PIP_INDEX_URL=value
Native script being run
Script output
cmr "get generic-python-lib [variations]" [--input_flags] -j