Skip to content

Instantly share code, notes, and snippets.

View sofianhamiti's full-sized avatar

Sofian Hamiti sofianhamiti

View GitHub Profile
FROM public.ecr.aws/sagemaker/sagemaker-distribution:latest-cpu
# Set environment variables
ARG NB_USER="sagemaker-user"
ARG NB_UID=1000
ARG NB_GID=100
ENV MAMBA_USER=$NB_USER
USER root
{
"nameShort": "code-server",
"nameLong": "code-server",
"applicationName": "code-server",
"dataFolderName": ".code-server",
"win32MutexName": "codeserver",
"licenseName": "MIT",
"licenseUrl": "https://github.com/coder/code-server/blob/main/LICENSE",
"serverLicenseUrl": "https://github.com/microsoft/vscode/blob/main/LICENSE.txt",
"serverGreeting": [],
cd /home
apt-get update && sudo apt-get install -y gnupg software-properties-common
# Install the HashiCorp GPG key.
wget -O- https://apt.releases.hashicorp.com/gpg | \
gpg --dearmor | \
tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
# Verify the key's fingerprint.
#!/bin/bash
set -eux
source activate studio
pip install jupyterlab_s3_browser
jupyter serverextension enable --py jupyterlab_s3_browser
{
"data-root": "/home/ec2-user/SageMaker/docker",
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": [] }
}
}
FROM python:3.10.9
# INSTALL CODE-SERVER IN CONTAINER
RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version=4.9.1
# POINT VS CODE (IN CONTAINER) TO THE CONFIGURATION (ON NOTEBOOK INSTANCE)
# ENV XDG_DATA_HOME=/home/SageMaker/vscode-config
{
"nameShort": "code-server",
"nameLong": "code-server",
"applicationName": "code-server",
"dataFolderName": ".code-server",
"win32MutexName": "codeserver",
"licenseName": "MIT",
"licenseUrl": "https://github.com/coder/code-server/blob/main/LICENSE",
"serverGreeting": [],
"serverLicense": [],
{
"columns": [
"MedInc",
"HouseAge",
"AveRooms",
"AveBedrms",
"Population",
"AveOccup",
"Latitude",
"Longitude"
.
├── .github/workflows      # CI/CD workflows
├── cfg                    # Config files for model_build and model_deploy
├── docker                 # Dockerfiles
├── experiment             # Scripts and notebooks for exploration
├── scripts                # Helper scripts to run jobs, pipeline, etc.
├── src                    # Source files for model_build and model_deploy
├── test                   # Testing scripts (e.g: unit, integration, load)
├── requirements.txt       # Dependencies

├── .gitignore

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.