2023-01-17 15:56:34 +00:00
|
|
|
platform: linux/amd64
|
2023-01-17 15:51:35 +00:00
|
|
|
pipeline:
|
|
|
|
first-job:
|
|
|
|
image: busybox
|
|
|
|
commands:
|
2023-01-17 17:35:20 +00:00
|
|
|
- echo "pick pick wood pickasdpaasdsdick ....asd.sd..kj......"
|
2023-01-17 17:44:05 +00:00
|
|
|
nvidia-test:
|
2023-01-17 17:47:17 +00:00
|
|
|
image: nvidia/cuda:11.6.2-base-ubuntu20.04
|
2023-01-17 17:36:22 +00:00
|
|
|
commands:
|
2023-01-17 17:44:05 +00:00
|
|
|
- nvidia-smi
|
2023-01-17 17:52:56 +00:00
|
|
|
- apt update -y && apt install git build-essential -y
|
2023-01-17 17:49:07 +00:00
|
|
|
- git clone https://github.com/wilicc/gpu-burn
|
|
|
|
- cd gpu-burn
|
|
|
|
- make
|
|
|
|
- ./gpu_burn 60
|
2023-01-17 17:45:56 +00:00
|
|
|
environment:
|
|
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
2023-01-17 17:44:05 +00:00
|
|
|
# 2nd:
|
|
|
|
# image: oguzpastirmaci/gpu-burn:latest
|
|
|
|
# environment:
|
|
|
|
# - NVIDIA_VISIBLE_DEVICES=all
|
|
|
|
# commands:
|
|
|
|
# - ./gpu_burn 60
|
2023-01-17 17:30:09 +00:00
|
|
|
# gpu:
|
|
|
|
# image: oguzpastirmaci/gpu-burn:latest
|
|
|
|
# environment:
|
|
|
|
# - NVIDIA_VISIBLE_DEVICES=all
|
|
|
|
# commands:
|
|
|
|
# - 120
|
2023-01-17 17:05:10 +00:00
|
|
|
# cpu
|
|
|
|
# image: progrium/stress:latest
|
|
|
|
# commands: /usr/bin/stress --cpu 2 --io 1 --vm 2 --vm-bytes 128M --timeout 20s
|