forked from flagos-ai/FlagScale
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.yml
More file actions
48 lines (41 loc) · 1.8 KB
/
Copy pathtemplate.yml
File metadata and controls
48 lines (41 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 2026 FlagOS Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Template for adding new hardware
# IMPORTANT: Fill in all fields below for your new hardware
# Then create: workflows/hardware_name/all_tests.yml that uses this config
hardware_name: my_hardware # Change this to your hardware name
display_name: "My Hardware Tests" # Display name for GitHub Actions
# Docker image for this hardware (change image tag if needed)
ci_image: localhost:5000/flagscale:my-hardware-image
# Runner labels for this hardware (CRITICAL - update these for your runners)
runner_labels:
- self-hosted
- Linux
- X64
- my-runner-label # Update: change to your runner's labels
- gpus-8
# Container volumes (hardware-specific paths - update as needed)
container_volumes:
- /home/flagscale_cicd/flask/static:/workspace/report
- /home/flagscale_cicd/flask/config:/workspace/config
- /home/flagscale_cicd/docker/docker_build/docker_data:/home/gitlab-runner/data
- /home/flagscale_cicd/docker/docker_build/docker_tokenizers:/home/gitlab-runner/tokenizers
# Add hardware-specific volumes here if needed (e.g., cache locations)
# Container options (hardware-specific settings - update as needed)
container_options: >-
--gpus all
--shm-size=500g
--hostname flagscale_cicd
--user root
--ulimit nofile=65535:65535