-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
530fc07
commit 9c716c7
Showing
10 changed files
with
2,115 additions
and
526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,6 +93,7 @@ jobs: | |
hm-ray-calculate: ${{ steps.filter.outputs.hm-ray-calculate }} | ||
hm-ray-process-flight-data: ${{ steps.filter.outputs.hm-ray-process-flight-data }} | ||
hm-serial: ${{ steps.filter.outputs.hm-serial }} | ||
hm-sglang: ${{ steps.filter.outputs.hm-sglang }} | ||
hm-skypilot: ${{ steps.filter.outputs.hm-skypilot }} | ||
hm-spark-analyze-coffee-customers: ${{ steps.filter.outputs.hm-spark-analyze-coffee-customers }} | ||
hm-spark-find-retired-people-python: ${{ steps.filter.outputs.hm-spark-find-retired-people-python }} | ||
|
@@ -358,6 +359,9 @@ jobs: | |
hm-serial: | ||
- '.github/workflows/test.yml' | ||
- 'embedded/hm-serial/**' | ||
hm-sglang: | ||
- '.github/workflows/test.yml' | ||
- 'machine-learning/hm-sglang/**' | ||
hm-skypilot: | ||
- '.github/workflows/test.yml' | ||
- 'cloud-computing/hm-skypilot/**' | ||
|
@@ -1603,106 +1607,6 @@ jobs: | |
with: | ||
directory: data-storage/hm-protobuf | ||
|
||
autogluon-test: | ||
name: AutoGluon | Test | ||
needs: detect-changes | ||
if: ${{ needs.detect-changes.outputs.hm-autogluon == 'true' }} | ||
runs-on: ubuntu-24.04 | ||
environment: test | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Install uv | ||
uses: astral-sh/[email protected] | ||
with: | ||
version: 0.5.13 | ||
enable-cache: true | ||
cache-dependency-glob: machine-learning/hm-autogluon/uv.lock | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: machine-learning/hm-autogluon/pyproject.toml | ||
- name: Install dependencies | ||
working-directory: machine-learning/hm-autogluon | ||
run: | | ||
uv sync --dev | ||
- name: Test | ||
working-directory: machine-learning/hm-autogluon | ||
run: | | ||
uv run poe test-coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
directory: machine-learning/hm-autogluon | ||
|
||
dali-test: | ||
name: DALI | Test | ||
needs: detect-changes | ||
if: ${{ false }} | ||
# if: ${{ needs.detect-changes.outputs.dali == 'true' }} | ||
runs-on: ubuntu-24.04 | ||
environment: test | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Install uv | ||
uses: astral-sh/[email protected] | ||
with: | ||
version: 0.5.13 | ||
enable-cache: true | ||
cache-dependency-glob: machine-learning/dali/uv.lock | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: machine-learning/dali/pyproject.toml | ||
- name: Install dependencies | ||
working-directory: machine-learning/dali | ||
run: | | ||
uv sync --dev | ||
- name: Test | ||
working-directory: machine-learning/dali | ||
run: | | ||
uv run poe test-coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
directory: machine-learning/dali | ||
|
||
feature-store-test: | ||
name: Feature Store | Test | ||
needs: detect-changes | ||
if: ${{ needs.detect-changes.outputs.feature-store == 'true' }} | ||
runs-on: ubuntu-24.04 | ||
environment: test | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Install uv | ||
uses: astral-sh/[email protected] | ||
with: | ||
version: 0.5.13 | ||
enable-cache: true | ||
cache-dependency-glob: machine-learning/feature-store/uv.lock | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: machine-learning/feature-store/pyproject.toml | ||
- name: Install dependencies | ||
working-directory: machine-learning/feature-store | ||
run: | | ||
uv sync --dev | ||
- name: Test | ||
working-directory: machine-learning/feature-store | ||
run: | | ||
uv run poe test-coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
directory: machine-learning/feature-store | ||
|
||
cupy-test: | ||
name: CuPy | Test | ||
needs: detect-changes | ||
|
@@ -2132,6 +2036,139 @@ jobs: | |
with: | ||
directory: machine-learning/hm-flax | ||
|
||
autogluon-test: | ||
name: AutoGluon | Test | ||
needs: detect-changes | ||
if: ${{ needs.detect-changes.outputs.hm-autogluon == 'true' }} | ||
runs-on: ubuntu-24.04 | ||
environment: test | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Install uv | ||
uses: astral-sh/[email protected] | ||
with: | ||
version: 0.5.13 | ||
enable-cache: true | ||
cache-dependency-glob: machine-learning/hm-autogluon/uv.lock | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: machine-learning/hm-autogluon/pyproject.toml | ||
- name: Install dependencies | ||
working-directory: machine-learning/hm-autogluon | ||
run: | | ||
uv sync --dev | ||
- name: Test | ||
working-directory: machine-learning/hm-autogluon | ||
run: | | ||
uv run poe test-coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
directory: machine-learning/hm-autogluon | ||
|
||
dali-test: | ||
name: DALI | Test | ||
needs: detect-changes | ||
if: ${{ false }} | ||
# if: ${{ needs.detect-changes.outputs.dali == 'true' }} | ||
runs-on: ubuntu-24.04 | ||
environment: test | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Install uv | ||
uses: astral-sh/[email protected] | ||
with: | ||
version: 0.5.13 | ||
enable-cache: true | ||
cache-dependency-glob: machine-learning/dali/uv.lock | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: machine-learning/dali/pyproject.toml | ||
- name: Install dependencies | ||
working-directory: machine-learning/dali | ||
run: | | ||
uv sync --dev | ||
- name: Test | ||
working-directory: machine-learning/dali | ||
run: | | ||
uv run poe test-coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
directory: machine-learning/dali | ||
|
||
feature-store-test: | ||
name: Feature Store | Test | ||
needs: detect-changes | ||
if: ${{ needs.detect-changes.outputs.feature-store == 'true' }} | ||
runs-on: ubuntu-24.04 | ||
environment: test | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Install uv | ||
uses: astral-sh/[email protected] | ||
with: | ||
version: 0.5.13 | ||
enable-cache: true | ||
cache-dependency-glob: machine-learning/feature-store/uv.lock | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: machine-learning/feature-store/pyproject.toml | ||
- name: Install dependencies | ||
working-directory: machine-learning/feature-store | ||
run: | | ||
uv sync --dev | ||
- name: Test | ||
working-directory: machine-learning/feature-store | ||
run: | | ||
uv run poe test-coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
directory: machine-learning/feature-store | ||
|
||
sglang-test: | ||
name: SGLang | Test | ||
needs: detect-changes | ||
if: ${{ needs.detect-changes.outputs.sglang == 'true' }} | ||
runs-on: ubuntu-24.04 | ||
environment: test | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Install uv | ||
uses: astral-sh/[email protected] | ||
with: | ||
version: 0.5.13 | ||
enable-cache: true | ||
cache-dependency-glob: machine-learning/sglang/uv.lock | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: machine-learning/sglang/pyproject.toml | ||
- name: Install dependencies | ||
working-directory: machine-learning/sglang | ||
run: | | ||
uv sync --dev | ||
- name: Test | ||
working-directory: machine-learning/sglang | ||
run: | | ||
uv run poe test-coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
directory: machine-learning/sglang | ||
|
||
kubeflow-calculate-test: | ||
name: Kubeflow (calculate) | Test | ||
needs: detect-changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import logging | ||
|
||
from huggingface_hub import snapshot_download | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
def download_model() -> None: | ||
logger.info("Downloading model...") | ||
model_path = snapshot_download("Qwen/Qwen2.5-0.5B-Instruct") | ||
logger.info(f"Model downloaded successfully to: {model_path}") | ||
|
||
|
||
if __name__ == "__main__": | ||
logging.basicConfig( | ||
level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s" | ||
) | ||
download_model() |
Oops, something went wrong.