-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kerthcet/feat/init
Initial commit
- Loading branch information
Showing
10 changed files
with
217 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file | ||
# Ignore build and test binaries. | ||
bin/ |
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 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for go | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
# labels: | ||
# - "cleanup" | ||
groups: | ||
kubernetes: | ||
patterns: | ||
- "k8s.io/*" | ||
ignore: | ||
# Ignore major and minor versions for dependencies updates | ||
# Allow patches and security updates. | ||
- dependency-name: k8s.io/* | ||
update-types: ["version-update:semver-major", "version-update:semver-minor"] |
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,10 @@ | ||
name: Initialization Workflow | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
init: | ||
uses: kerthcet/github-workflow-as-kube/.github/workflows/[email protected] | ||
secrets: | ||
AGENT_TOKEN: ${{ secrets.AGENT_TOKEN }} |
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,21 @@ | ||
name: Event Workflow | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
issue_comment: | ||
types: | ||
- created | ||
pull_request_target: | ||
types: | ||
- opened | ||
- synchronize | ||
- labeled | ||
- unlabeled | ||
|
||
jobs: | ||
event-handler: | ||
uses: kerthcet/github-workflow-as-kube/.github/workflows/[email protected] | ||
secrets: | ||
AGENT_TOKEN: ${{ secrets.AGENT_TOKEN }} |
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,28 @@ | ||
|
||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
bin/* | ||
Dockerfile.cross | ||
|
||
# Test binary, build with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Kubernetes Generated files - skip generated files, except for vendored files | ||
|
||
!vendor/**/zz_generated.* | ||
|
||
# editor and IDE paraphernalia | ||
.idea | ||
.vscode | ||
*.swp | ||
*.swo | ||
*~ | ||
|
||
.DS_Store |
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,40 @@ | ||
run: | ||
deadline: 5m | ||
allow-parallel-runners: true | ||
|
||
issues: | ||
# don't skip warning about doc comments | ||
# don't exclude the default set of lint | ||
exclude-use-default: false | ||
# restore some of the defaults | ||
# (fill in the rest as needed) | ||
exclude-rules: | ||
- path: "api/*" | ||
linters: | ||
- lll | ||
- path: "internal/*" | ||
linters: | ||
- dupl | ||
- lll | ||
linters: | ||
disable-all: true | ||
enable: | ||
- dupl | ||
- errcheck | ||
- exportloopref | ||
- goconst | ||
- gocyclo | ||
- gofmt | ||
- goimports | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- lll | ||
- misspell | ||
- nakedret | ||
- prealloc | ||
- staticcheck | ||
- typecheck | ||
- unconvert | ||
- unparam | ||
- unused |
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,42 @@ | ||
# Code of Conduct | ||
|
||
👋 Welcome to InftyAI community ! | ||
|
||
- [Scope](#scope) | ||
- [Our Standards](#our-standards) | ||
|
||
## Scope | ||
|
||
This code of conduct applies within project and community spaces. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to a positive environment include but are not limited to: | ||
|
||
- Demonstrating empathy and kindness toward other people | ||
- Being respectful of differing opinions, viewpoints, and experiences | ||
- Giving and gracefully accepting constructive feedback | ||
- Accepting responsibility and apologizing to those affected by our mistakes, | ||
and learning from the experience | ||
- Focusing on what is best not just for us as individuals, but for the | ||
overall community | ||
- Using welcoming and inclusive language | ||
|
||
Examples of unacceptable behavior include but are not limited to: | ||
|
||
- The use of sexualized language or imagery | ||
- Trolling, insulting or derogatory comments, and personal or political attacks | ||
- Public or private harassment in any form | ||
- Publishing others' private information, such as a physical or email | ||
address, without their explicit permission | ||
- Violence, threatening violence, or encouraging others to engage in violent behavior | ||
- Stalking or following someone without their consent | ||
- Unwelcome physical contact | ||
- Unwelcome sexual or romantic attention or advances | ||
- Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
The following behaviors are also prohibited: | ||
|
||
- Providing knowingly false or misleading information in connection with a Code of Conduct investigation or otherwise intentionally tampering with an investigation. | ||
- Retaliating against a person because they reported an incident or provided information about an incident as a witness. |
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,39 @@ | ||
# Contributing | ||
|
||
👋 Welcome to InftyAI community ! | ||
|
||
- [Before you get started](#before-you-get-started) | ||
- [Code of Conduct](#code-of-conduct) | ||
- [Getting started](#getting-started) | ||
- [PullRequests](#pull-requests) | ||
- [Code Review](#code-review) | ||
|
||
## Before you get started | ||
|
||
### Code of Conduct | ||
|
||
Please make sure to read and observe our [Code of Conduct](/CODE_OF_CONDUCT.md) first. | ||
|
||
## Getting started | ||
|
||
🚀 **All kinds of contributions are welcomed !** | ||
|
||
- Fix documents & Typos | ||
- Report & fix bugs | ||
- New features | ||
- Issues & discussions | ||
- ... | ||
|
||
### Pull Requests | ||
|
||
Pull requests are often called simply "PR". | ||
Please follows the standard [github pull request](https://help.github.com/articles/about-pull-requests/) process. | ||
To submit a proposed change, please develop the code and add new test cases. | ||
|
||
### Code Review | ||
|
||
To make it easier for your PR to receive reviews, consider the reviewers will need you to: | ||
|
||
- Follow [good coding guidelines](https://github.com/golang/go/wiki/CodeReviewComments). | ||
- Write [good commit messages](https://chris.beams.io/posts/git-commit/). | ||
- Break large changes into a logical series of smaller patches which individually make easily understandable changes, and in aggregate solve a broader issue. |
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,5 @@ | ||
approvers: | ||
- kerthcet | ||
|
||
reviewers: | ||
- kerthcet |
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 |
---|---|---|
@@ -1,2 +1,13 @@ | ||
# vScheduler | ||
|
||
A Kubernetes scheduler designed for smart scheduling with llmaz. | ||
|
||
## Plugins | ||
|
||
vScheduler maintains multiple plugins for llm workloads scheduling. | ||
|
||
### ResourceFungibility | ||
|
||
A llama2-70B model can be run on 2xA100-80GB GPUs, can also be run on 4xA100-40GB GPUs, this is what we called fungibility. | ||
|
||
With resourceFungibility plugin, we can simply achieve with at most 8 alternatives. |