-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/sagemaker llms #234
Open
isobel-daley-6point6
wants to merge
1
commit into
main
Choose a base branch
from
feat/sagemaker-llms
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat/sagemaker llms #234
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -41,16 +41,16 @@ variable "subnets_num_bits" {} | |
variable "vpc_notebooks_cidr" {} | ||
variable "vpc_notebooks_subnets_num_bits" {} | ||
variable "vpc_datasets_cidr" {} | ||
variable "vpc_sagemaker_cidr" {} | ||
variable "vpc_sagemaker_subnets_num_bits" {} | ||
|
||
variable "aws_route53_zone" {} | ||
variable "admin_domain" {} | ||
variable "appstream_domain" {} | ||
variable "support_domain" {} | ||
|
||
variable "admin_db_instance_class" {} | ||
variable "admin_db_instance_version" { | ||
default = "10.15" | ||
} | ||
variable "admin_db_instance_version" {} | ||
variable "admin_db_instance_allocated_storage" { | ||
type = number | ||
default = 200 | ||
|
@@ -274,38 +274,94 @@ variable "s3_prefixes_for_external_role_copy" { | |
default = ["import-data", "export-data"] | ||
} | ||
|
||
variable "sagemaker_example_inference_image" { default = "" } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @peter-woodcock identified this can be removed we can review @isobel-daley-6point6 |
||
|
||
variable "sagemaker_models_folder" { default = "" } | ||
variable "hugging_face_model_image" { default = "" } | ||
variable "sagemaker_default_bucket" { default = "" } | ||
variable "teams_webhook_url" { default = "" } | ||
variable "sagemaker_budget_emails" { default = [""] } | ||
variable "slack_webhook_resource_alerts" { default = [""] } | ||
variable "slack_webhook_cpu_alerts" { default = [""] } | ||
variable "slack_webhook_gpu_alerts" { default = [""] } | ||
variable "slack_webhook_security_alerts" { default = [""] } | ||
variable "slack_webhook_backlog_alerts" { default = [""] } | ||
|
||
variable "sagemaker_on" { | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "sagemaker_gpt_neo_125m" { | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "sagemaker_flan_t5_780m" { | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "sagemaker_phi_2_3b" { | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "sagemaker_llama_3_3b" { | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "sagemaker_llama_3_3b_instruct" { | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "sagemaker_mistral_7b_instruct" { | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "matchbox_on" { | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "matchbox_dev_mode_on" { | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "vpc_matchbox_cidr" { | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "matchbox_instances" { | ||
type = list(string) | ||
default = [] | ||
} | ||
|
||
variable "matchbox_instances_long" { | ||
type = list(string) | ||
default = [] | ||
} | ||
|
||
variable "matchbox_db_instance_class" { | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "vpc_matchbox_subnets_num_bits" { | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "matchbox_s3_cache" { | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "matchbox_s3_dev_artefacts" { | ||
type = string | ||
default = "" | ||
|
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 @@ | ||
[tool.bumpversion] | ||
current_version = "0.1.19" | ||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" | ||
serialize = ["{major}.{minor}.{patch}"] | ||
search = "{current_version}" | ||
replace = "{new_version}" | ||
regex = false | ||
ignore_missing_version = false | ||
ignore_missing_files = false | ||
tag = false | ||
sign_tags = false | ||
tag_name = "v{new_version}" | ||
tag_message = "Bump version: {current_version} → {new_version}" | ||
allow_dirty = false | ||
commit = false | ||
message = "Bump version: {current_version} → {new_version}" | ||
moveable_tags = [] | ||
commit_args = "" | ||
setup_hooks = [] | ||
pre_commit_hooks = [] | ||
post_commit_hooks = [] |
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,26 @@ | ||
.DEFAULT_GOAL := help | ||
SHELL := /bin/bash | ||
|
||
.PHONY: help | ||
help: ## Show all available commands | ||
@awk 'BEGIN {FS = ":.*##"; printf "Usage: make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-13s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST); | ||
|
||
.PHONY: bump | ||
bump: format # You must install uv https://docs.astral.sh/uv/getting-started/installation/ | ||
@echo "You must have committed your changes before running this" | ||
@uv run bump-my-version bump patch; | ||
@echo "Upgraded version to $(shell bump-my-version show current_version)" | ||
@git add .bumpversion.toml | ||
@git commit -m "Upgraded version to $(shell bump-my-version show current_version)" | ||
|
||
.PHONY: format | ||
format: # You must install terraform https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli | ||
@echo "Enforcing formatting" | ||
@terraform fmt -recursive; | ||
@uv run ruff format .; | ||
@uv run ruff check --fix-only --unsafe-fixes .; | ||
|
||
.PHONY: quality | ||
quality: | ||
@uv run ruff check .; | ||
@terraform fmt -check -recursive -diff; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@peter-woodcock identified that this can be removed @isobel-daley-6point6 we can review