coreweave / ml-containers

MIT License
19 stars 3 forks source link

build(torch-extras): Extract `torch-extras` workflow to be dispatchable #29

Closed Eta0 closed 1 year ago

Eta0 commented 1 year ago

This change extracts .github/workflows/torch-extras.yml from .github/workflows/torch.yml to make it independently dispatchable.

Since torch-extras.yml cannot run on each push to torch-extras/Dockerfile, as it has no default base image to build from, a dispatchable workflow is currently necessary to build new torch-extras containers when a file in torch-extras/ has been modified but nothing has changed for the base torch files.

This PR also fixes a bug in torch-extras/Dockerfile that prevented it from building correctly in daf476342951c6c19e8eace6dd755d167573fa42.