Skip to content

Commit 2f387c4

Browse files
committed
renamed 'category' to 'group'
1 parent a613c5d commit 2f387c4

File tree

49 files changed

+56
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+56
-55
lines changed

jetson_containers/ci.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def generate_package_list(packages, root, repo, filename='docs/packages.md', sim
3636
txt += f"|{_TABLE_DASH}|{_TABLE_DASH}|\n"
3737

3838
# group packages by category for navigability
39-
groups = group_packages(packages, key='category', default='other')
39+
groups = group_packages(packages, key='group', default='other')
4040

4141
for group_name in sorted(list(groups.keys())):
4242
group = groups[group_name]

jetson_containers/packages.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
_PACKAGE_SCAN = False
2121
_PACKAGE_ROOT = os.path.dirname(os.path.dirname(__file__))
2222
_PACKAGE_DIRS = [os.path.join(_PACKAGE_ROOT, 'packages/*')]
23-
_PACKAGE_KEYS = ['alias', 'build_args', 'build_flags', 'category', 'config', 'depends',
24-
'description', 'disabled', 'dockerfile', 'name', 'notes', 'path', 'test']
23+
_PACKAGE_KEYS = ['alias', 'build_args', 'build_flags', 'config', 'depends', 'disabled',
24+
'dockerfile', 'docs', 'group', 'name', 'notes', 'path', 'test']
2525

2626

2727
def package_search_dirs(package_dirs, scan=False):
@@ -225,9 +225,10 @@ def skip_packages(packages, skip):
225225

226226
def group_packages(packages, key, default=''):
227227
"""
228-
Group packages by one of their keys, for example 'category' will return a dict
229-
of all the categories where each category contains the packages belonging to it.
230-
If a package doesn't have this key, it won't be added unless a default is specified.
228+
Group packages by one of their keys, for example 'group' will return a dict
229+
of all the groups where each group contains the packages belonging to it.
230+
Or you can group by path, package name, depends, ect. or any other key.
231+
If a package doesn't have the key, it won't be added unless a default is specified.
231232
"""
232233
grouped = {}
233234

packages/bazel/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: bazel
3-
# category: build
3+
# group: build
44
# depends: [build-essential]
55
# test: test.sh
66
#---

packages/build-essential/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: build-essential
3-
# category: build
3+
# group: build
44
# notes: installs compilers and build tools
55
#---
66
ARG BASE_IMAGE

packages/cmake/cmake_apt/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: cmake:apt
3-
# category: build
3+
# group: build
44
# depends: build-essential
55
# notes: upgrade cmake with apt
66
#---

packages/cmake/cmake_pip/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#---
22
# name: cmake:pip
33
# alias: cmake
4-
# category: build
4+
# group: build
55
# depends: [build-essential, python]
66
# notes: upgrade cmake with pip
77
#---

packages/cuda-python/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: cuda-python
3-
# category: cuda
3+
# group: cuda
44
# config: config.py
55
# depends: [build-essential, python, numpy]
66
# test: [test_driver.py, test_runtime.py]

packages/cupy/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: cupy
3-
# category: cuda
3+
# group: cuda
44
# config: config.py
55
# depends: [python, numpy]
66
# test: test.py

packages/deepstream/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: deepstream
3-
# category: ml
3+
# group: ml
44
# config: config.py
55
# depends: [cmake, python, gstreamer, tritonserver]
66
# test: [test.sh, test.py]

packages/diffusion/small-stable-diffusion/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: small-stable-diffusion
3-
# category: diffusion
3+
# group: diffusion
44
# depends: [pytorch, torchvision, onnxruntime]
55
# disabled: true
66
# test: test.sh

packages/diffusion/stable-diffusion-webui/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: stable-diffusion-webui
3-
# category: diffusion
3+
# group: diffusion
44
# depends: [pytorch, torchvision, opencv]
55
#---
66
ARG BASE_IMAGE

packages/diffusion/stable-diffusion/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: stable-diffusion
3-
# category: diffusion
3+
# group: diffusion
44
# depends: [pytorch, torchvision]
55
# test: test.sh
66
#---

packages/gstreamer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: gstreamer
3-
# category: core
3+
# group: core
44
# depends: opencv
55
# test: [test.sh, test.py]
66
#---

packages/jupyterlab/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: jupyterlab
3-
# category: core
3+
# group: core
44
# depends: [python, numpy, rust]
55
# notes: will autostart Jupyter server on port 8888 unless container entry CMD is overridden
66
#---

packages/l4t/l4t-ml/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: l4t-ml
3-
# category: ml
3+
# group: ml
44
# depends: [pytorch, torchvision, torchaudio, tensorflow2, opencv, pycuda, cupy, onnxruntime, numba, jupyterlab]
55
# test: [test_pandas.py, test_scipy.py, test_sklearn.py]
66
#---
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"l4t-pytorch": {
3-
"category": "ml",
3+
"group": "ml",
44
"depends": ["pytorch", "torchvision", "torchaudio", "opencv", "pycuda"]
55
}
66
}
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"l4t-tensorflow:tf1": {
3-
"category": "ml",
3+
"group": "ml",
44
"depends": ["tensorflow", "opencv", "pycuda"]
55
},
66

77
"l4t-tensorflow:tf2": {
8-
"category": "ml",
8+
"group": "ml",
99
"depends": ["tensorflow2", "opencv", "pycuda"]
1010
}
1111
}

packages/llm/auto-gptq/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: auto-gptq
3-
# category: llm
3+
# group: llm
44
# depends: [pytorch, bitsandbytes, transformers]
55
# test: test.py
66
#---

packages/llm/awq/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: awq
3-
# category: llm
3+
# group: llm
44
# config: config.py
55
# depends: [pytorch, torchvision, transformers]
66
# test: test.sh

packages/llm/bitsandbytes/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: bitsandbytes
3-
# category: llm
3+
# group: llm
44
# config: config.py
55
# depends: [build-essential, pytorch]
66
# test: test.py

packages/llm/exllama/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: exllama
3-
# category: llm
3+
# group: llm
44
# depends: [pytorch]
55
# test: test.sh
66
#---

packages/llm/gptq-for-llama/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: gptq-for-llama
3-
# category: llm
3+
# group: llm
44
# depends: [pytorch, bitsandbytes, transformers]
55
# test: test.sh
66
#---

packages/llm/optimum/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: optimum
3-
# category: llm
3+
# group: llm
44
# depends: [onnxruntime, transformers]
55
# test: test.py
66
#---

packages/llm/text-generation-webui/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: text-generation-webui
3-
# category: llm
3+
# group: llm
44
# depends: [pytorch, bitsandbytes, transformers, auto-gptq, gptq-for-llama]
55
#---
66
ARG BASE_IMAGE

packages/llm/transformers/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#---
22
# name: transformers
33
# config: config.py
4-
# category: llm
4+
# group: llm
55
# depends: [pytorch, torchvision]
66
# test: test.py
77
# notes: bitsandbytes dependency added on JetPack5 for 4/8-bit

packages/nemo/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: nemo
3-
# category: ml
3+
# group: ml
44
# depends: [pytorch, torchvision, torchaudio]
55
# test: test.py
66
# notes: NVIDIA NeMo for ASR/NLP/TTS https://nvidia.github.io/NeMo/

packages/numba/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: numba
3-
# category: cuda
3+
# group: cuda
44
# depends: [build-essential, python, numpy]
55
# test: test.py
66
#---

packages/numpy/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: numpy
3-
# category: core
3+
# group: core
44
# depends: [build-essential, python]
55
# test: test.py
66
#---

packages/onnx/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: onnx
3-
# category: ml
3+
# group: ml
44
# config: config.py
55
# depends: [cmake, python, numpy]
66
# test: test.py

packages/onnxruntime/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: onnxruntime
3-
# category: ml
3+
# group: ml
44
# config: config.py
55
# depends: [cmake, python, numpy, onnx]
66
# test: test.py

packages/opencv/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#---
22
# name: opencv
33
# alias: opencv_cuda
4-
# category: core
4+
# group: core
55
# config: config.py
66
# depends: [python, numpy]
77
# test: test.py

packages/opencv/opencv_builder/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
'ENABLE_NEON': ENABLE_NEON
1717
}
1818

19-
package['category'] = 'core'
19+
package['group'] = 'core'
2020
package['depends'] = ['cmake', 'python']

packages/protobuf/protobuf_apt/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: protobuf:apt
3-
# category: build
3+
# group: build
44
# depends: [python]
55
# test: [test.py, test.sh]
66
# notes: install protobuf from apt repo

packages/protobuf/protobuf_cpp/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#---
22
# name: protobuf:cpp
33
# alias: protobuf
4-
# category: build
4+
# group: build
55
# config: config.py
66
# depends: [build-essential, python]
77
# test: [test.py, test.sh]

packages/pycuda/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: pycuda
3-
# category: cuda
3+
# group: cuda
44
# depends: [build-essential, python]
55
# test: test.py
66
#---

packages/python/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#---
22
# name: python
33
# alias: python3
4-
# category: build
4+
# group: build
55
# depends: build-essential
66
# notes: installs core python3 packages and pip
77
#---

packages/pytorch/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#---
22
# name: pytorch
33
# alias: torch
4-
# category: ml
4+
# group: ml
55
# config: config.py
66
# depends: [python, numpy, onnx]
77
# test: test.py

packages/pytorch/torch2trt/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: torch2trt
3-
# category: ml
3+
# group: ml
44
# depends: [pytorch, torchvision]
55
# test: test.py
66
#---

packages/pytorch/torch_tensorrt/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: torch_tensorrt
3-
# category: ml
3+
# group: ml
44
# config: config.py
55
# depends: [pytorch, torchvision, bazel]
66
# test: [test.py, test.sh]

packages/pytorch/torchaudio/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: torchaudio
3-
# category: ml
3+
# group: ml
44
# config: config.py
55
# depends: [cmake, pytorch]
66
# test: test.py

packages/pytorch/torchvision/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: torchvision
3-
# category: ml
3+
# group: ml
44
# config: config.py
55
# depends: [cmake, pytorch]
66
# test: test.py

packages/pytorch/torchvision/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
'TORCH_CUDA_ARCH_LIST': ';'.join([f'{x/10:.1f}' for x in CUDA_ARCHITECTURES])
1414
}
1515

16-
package['depends'] = ['cmake', 'pytorch']
17-
package['category'] = 'ml'
16+
package['group'] = 'ml'
17+
package['depends'] = ['cmake', 'pytorch']

packages/rapids/cudf/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: cudf
3-
# category: rapids
3+
# group: rapids
44
# config: config.py
55
# depends: [cmake, python, cupy, numba, protobuf:apt]
66
# test: [test_cudf.py, test_dask.py]

packages/realsense/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#---
22
# name: realsense
3-
# category: sensors
3+
# group: sensors
44
# depends: [python, cmake]
55
# test: test.py
66
# notes: https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md

packages/ros/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# add permutations of ROS distros/packages as subpackages
1212
template = package.copy()
1313

14-
template['category'] = 'ros'
14+
template['group'] = 'ros'
1515
template['depends'] = ['cmake', 'python', 'opencv']
1616

1717
package = []

0 commit comments

Comments
 (0)