File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ workflow_dispatch :
3
+ inputs :
4
+ base-image :
5
+ description : ' Base image to use'
6
+ required : true
7
+ push :
8
+ paths :
9
+ - " megatron/**"
10
+ - " .github/workflows/megatron.yml"
11
+ - " .github/workflows/build.yml"
12
+
13
+
14
+ jobs :
15
+ build :
16
+ uses : ./.github/workflows/build.yml
17
+ secrets : inherit
18
+ with :
19
+ image-name : megatron
20
+ folder : megatron
21
+ build-args : |
22
+ BASE_IMAGE=${{ inputs.base-image || 'ghcr.io/coreweave/ml-containers/torch-extras:bfe03aa-nccl-cuda12.4.1-ubuntu22.04-nccl2.21.5-1-torch2.4.0-vision0.19.0-audio2.4.0'}}
Original file line number Diff line number Diff line change
1
+ ARG BASE_IMAGE
2
+ FROM $BASE_IMAGE
3
+
4
+ COPY requirements.txt /tmp/requirements.txt
5
+
6
+ RUN python3 -m pip install -U --no-cache-dir \
7
+ -r /tmp/requirements.txt \
8
+ && rm /tmp/requirements.txt
Original file line number Diff line number Diff line change
1
+ pyyaml == 6.0.2
2
+ regex == 2024.9.11
3
+ transformers == 4.45.2
4
+ triton == 3.0.0
You can’t perform that action at this time.
0 commit comments