mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-07-21 18:53:22 +00:00
Merge pull request #6362 from hpcaitech/CI/test_build_on_schedule
[CI] Fix CI build on schedule error
This commit is contained in:
commit
edd65a84dd
6
.github/workflows/build_on_schedule.yml
vendored
6
.github/workflows/build_on_schedule.yml
vendored
@ -3,7 +3,7 @@ name: Build on Schedule
|
||||
on:
|
||||
schedule:
|
||||
# run at 00:00 of every Sunday
|
||||
- cron: "0 0 * * *"
|
||||
- cron: "0 0 * * 0"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@ -51,6 +51,10 @@ jobs:
|
||||
with:
|
||||
ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}
|
||||
|
||||
- name: Install flash-attention
|
||||
run: |
|
||||
pip install flash-attn==2.7.4.post1 --no-build-isolation
|
||||
|
||||
- name: Install Colossal-AI
|
||||
if: steps.check-avai.outputs.avai == 'true'
|
||||
run: |
|
||||
|
@ -119,9 +119,12 @@ model_zoo.register(
|
||||
model_zoo.register(
|
||||
name="timm_nf_regnet_b0", model_fn=tm.nf_regnet_b0, data_gen_fn=data_gen_fn, output_transform_fn=output_transform_fn
|
||||
)
|
||||
model_zoo.register(
|
||||
name="timm_regnetv_040", model_fn=tm.regnetv_040, data_gen_fn=data_gen_fn, output_transform_fn=output_transform_fn
|
||||
)
|
||||
|
||||
# TODO: will need to register fake impl of aten::_unique2 to make it work (torch==2.5.1)
|
||||
# model_zoo.register(
|
||||
# name="timm_regnetv_040", model_fn=tm.regnetv_040, data_gen_fn=data_gen_fn, output_transform_fn=output_transform_fn
|
||||
# )
|
||||
|
||||
model_zoo.register(
|
||||
name="timm_skresnet18", model_fn=tm.skresnet18, data_gen_fn=data_gen_fn, output_transform_fn=output_transform_fn
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user