Skip to content

Commit 7391905

Browse files
authored
Merge pull request #10 from wheelos/planning
feat: update
2 parents 81df115 + 299e0fd commit 7391905

File tree

98 files changed

+16475
-10049
lines changed

Some content is hidden

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

98 files changed

+16475
-10049
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ IncludeCategories:
1010
# Note that the "main" header is priority 0
1111
# The priority is assigned to first match in the ordered list
1212
# Miscelaneous system libraries
13-
- Regex: '<(immintrin.h|malloc.h|wait.h|x86intrin.h|cuda.*)>'
13+
- Regex: '<(immintrin.h|malloc.h|wait.h|x86intrin.h|cuda.*|proj.h)>'
1414
Priority: 3
1515
# C standard libraries
1616
- Regex: '<(arpa/|netinet/|net/if|sys/)?[^\./]*\.h>'
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: '🐞 Bug Report'
2+
description: 'Report a reproducible bug in WheelOS'
3+
title: '[Bug]: '
4+
labels: ['bug', 'needs-triage']
5+
assignees: []
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thank you for reporting a bug! Please provide clear and complete information to help us reproduce and fix it.
11+
12+
- type: textarea
13+
id: system_info
14+
attributes:
15+
label: 'System Information / Logs'
16+
description: |
17+
Paste `whl-env` output **or** drag-and-drop logs/config files here.
18+
GitHub will auto-upload and link them in the issue.
19+
placeholder: |
20+
Paste content here, or drag files into this box to attach them.
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
id: steps
26+
attributes:
27+
label: 'Steps to Reproduce'
28+
description: 'List the minimal steps to reproduce this bug, in order'
29+
placeholder: |
30+
1.
31+
2.
32+
3.
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: expected_vs_actual
38+
attributes:
39+
label: 'Expected vs Actual Behavior'
40+
description: |
41+
**Expected:** what you expected
42+
**Actual:** what actually happened (include errors/logs)
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
id: additional
48+
attributes:
49+
label: 'Additional Information'
50+
description: 'Screenshots, logs, or configuration (optional)'
51+
validations:
52+
required: false
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: '🌟 Feature Request'
2+
description: 'Suggest a new feature or improvement'
3+
title: '[Feature]: '
4+
labels: ['enhancement']
5+
assignees: []
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
💡 Share your ideas on how to improve WheelOS — the more context and use cases, the better!
11+
12+
- type: textarea
13+
id: use_case
14+
attributes:
15+
label: 'Use Case / Motivation'
16+
description: 'Describe the real-world scenario or problem this addresses'
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: proposal
22+
attributes:
23+
label: 'Proposed Implementation'
24+
description: 'Outline your idea—API, commands, behavior, etc.'
25+
validations:
26+
required: false
27+
28+
- type: textarea
29+
id: alternatives
30+
attributes:
31+
label: 'Alternatives Considered'
32+
description: 'Any existing workaround or past discussion'
33+
validations:
34+
required: false
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: '❓ Question / Help'
2+
description: 'Ask for help with usage, configuration, or docs'
3+
title: '[Question]: '
4+
labels: ['question', 'help-wanted']
5+
assignees: []
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Need help? Ask here! Provide details so we can assist quickly.
11+
12+
- type: textarea
13+
id: system_info
14+
attributes:
15+
label: 'System Information / Logs'
16+
description: |
17+
Paste `whl-env` output **or** drag-and-drop logs/config files here.
18+
GitHub will auto-upload and link them in the issue.
19+
placeholder: |
20+
Paste content here, or drag files into this box to attach them.
21+
validations:
22+
required: false
23+
24+
- type: textarea
25+
id: question
26+
attributes:
27+
label: 'Question'
28+
description: 'Please describe your question or problem clearly'
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: attempted
34+
attributes:
35+
label: 'What I Tried'
36+
description: "Steps you've already taken or looked into (optional)"
37+
validations:
38+
required: false
39+
40+
- type: input
41+
id: attachments
42+
attributes:
43+
label: 'Relevant Logs or Links'
44+
description: |
45+
Optional: Provide URLs to logs, screenshots, or related issues for reference.
46+
placeholder: 'https://example.com/log.txt'
47+
validations:
48+
required: false

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 'Community Forum'
4+
url: 'https://github.com/orgs/wheelos/discussions'
5+
about: 'Ask usage questions and discuss ideas with the WheelOS community.'

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/issues.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,21 @@ To build a specific module:
113113
./apollo.sh build_cpu planning
114114
```
115115

116-
**Note:** If the build process is killed due to out-of-memory (OOM), try
117-
reducing the number of build threads:
116+
#### Notes and Troubleshooting
118117

119-
```bash
120-
./apollo.sh build_cpu dreamview --cpus=2
121-
```
118+
- **Out of Memory (OOM) Issues:** If the build process is terminated due to
119+
insufficient memory, try limiting the number of CPU threads used during the
120+
build:
121+
122+
```bash
123+
./apollo.sh build_cpu dreamview --cpus=2
124+
```
125+
126+
- **Slow Download Speeds:** If you experience slow downloads, you can manually
127+
download the required archive from the following link:
128+
[Caiyun Cloud Drive](https://caiyun.139.com/w/i/2oxwFbadL3byc) (Extraction
129+
code: `jfwu`). After downloading, place the archive in the `.cache/distdir`
130+
directory within your codebase.
122131

123132
---
124133

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
#ARG BASE_IMAGE=nvcr.io/nvidia/l4t-jetpack:r35.4.1
2+
ARG BASE_IMAGE=nvidia/cuda:11.4.3-cudnn8-devel-ubuntu20.04
3+
FROM ${BASE_IMAGE}
4+
5+
ARG TENSORRT_VERSION="8.5.2"
6+
ARG PATCH_SUFFIX="-1+cuda11.4"
7+
ARG GEOLOC
8+
ARG DEBIAN_FRONTEND=noninteractive
9+
10+
LABEL maintainer="WheelOS <developer@wheelos.cn>"
11+
12+
# update ca-certificates and gnupg2 for https source first
13+
RUN apt-get update && \
14+
apt-get upgrade -y && \
15+
apt-get install -qq -y --no-install-recommends \
16+
ca-certificates \
17+
gnupg2 && \
18+
rm -rf /var/lib/apt/lists/* && apt-get clean
19+
20+
# consistent with the host system, for jetson orin, if not, please modify it manually
21+
ADD https://repo.download.nvidia.com/jetson/jetson-ota-public.asc /etc/apt/trusted.gpg.d/jetson-ota-public.asc
22+
RUN chmod +r /etc/apt/trusted.gpg.d/jetson-ota-public.asc
23+
COPY rcfiles/nvidia-jetson-common-r35.4-main.list /etc/apt/sources.list.d/nvidia-jetson-common-r35.4-main.list
24+
25+
# change source list for cn
26+
COPY rcfiles/sources.list.tsinghua.aarch64.ubuntu.20.04 /etc/apt/sources.list
27+
28+
# Add NVIDIA Tegra library paths
29+
RUN echo "/usr/lib/aarch64-linux-gnu/tegra" >> /etc/ld.so.conf.d/nvidia-tegra.conf && \
30+
echo "/usr/lib/aarch64-linux-gnu/tegra-egl" >> /etc/ld.so.conf.d/nvidia-tegra.conf
31+
32+
#
33+
# Install nvidia-cuda-dev for CUDA developer packages
34+
# Use nvidia-cuda if need CUDA runtime only
35+
#
36+
# RUN --mount=type=bind,source=rcfiles/sources.list.local.aarch64.ubuntu.20.04,target=/etc/apt/sources.list \
37+
# --mount=type=bind,source=rcfiles/wheelos.cn.public.gpg,target=/opt/apollo/rcfiles/wheelos.cn.public.gpg \
38+
RUN apt-get update && \
39+
apt-get install -y --no-install-recommends \
40+
nvidia-cuda-dev && \
41+
apt-get clean && \
42+
rm -rf /var/lib/apt/lists/*
43+
44+
#
45+
# Install nvidia-cudnn8-dev for CuDNN developer packages
46+
# Use nvidia-cudnn8 if need CuDNN runtime only
47+
#
48+
# RUN --mount=type=bind,source=rcfiles/sources.list.local.aarch64.ubuntu.20.04,target=/etc/apt/sources.list \
49+
# --mount=type=bind,source=rcfiles/wheelos.cn.public.gpg,target=/opt/apollo/rcfiles/wheelos.cn.public.gpg \
50+
RUN apt-get update && \
51+
apt-get install -y --no-install-recommends \
52+
nvidia-cudnn8-dev && \
53+
apt-get clean && \
54+
rm -rf /var/lib/apt/lists/*
55+
56+
#
57+
# Install nvidia-tensorrt-dev for TensorRT developer packages
58+
# Use nvidia-tensorrt if need TensorRT runtime only
59+
#
60+
# RUN --mount=type=bind,source=rcfiles/sources.list.local.aarch64.ubuntu.20.04,target=/etc/apt/sources.list \
61+
# --mount=type=bind,source=rcfiles/wheelos.cn.public.gpg,target=/opt/apollo/rcfiles/wheelos.cn.public.gpg \
62+
RUN apt-get update && \
63+
apt-get install -y --no-install-recommends \
64+
nvidia-tensorrt-dev && \
65+
apt-get clean && \
66+
rm -rf /var/lib/apt/lists/*
67+
68+
ENV NVIDIA_VISIBLE_DEVICES all
69+
ENV NVIDIA_DRIVER_CAPABILITIES all
70+
71+
ENV TENSORRT_VERSION=${TENSORRT_VERSION}

0 commit comments

Comments
 (0)