Spaces:
Sleeping
Sleeping
Commit
•
9dca2d3
0
Parent(s):
Duplicate from zenml/zenml
Browse filesCo-authored-by: Alex Strick van Linschoten <strickvl@users.noreply.huggingface.co>
- .gitattributes +34 -0
- Dockerfile +65 -0
- README.md +11 -0
.gitattributes
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM zenmldocker/zenml-server:latest
|
2 |
+
|
3 |
+
ENV ZENML_ANALYTICS_OPT_IN=true
|
4 |
+
ENV ZENML_SERVER_DEPLOYMENT_TYPE="hf_spaces"
|
5 |
+
ENV ZENML_LOGGING_VERBOSITY=DEBUG
|
6 |
+
|
7 |
+
################################################################################
|
8 |
+
#
|
9 |
+
# CONFIGURING YOUR ZENML HF SPACES SERVER
|
10 |
+
# ---------------------------------------
|
11 |
+
# By default this space is not persistent. All ZenML metadata is stored in
|
12 |
+
# localstorage in a SQLite database. If you would like to make your storage
|
13 |
+
# persistent, use the appropriate environment variables below to configure the
|
14 |
+
# image to use a MySQL-compatible database service that is reachable from the
|
15 |
+
# container. See https://docs.zenml.io/getting-started/deploying-zenml/docker
|
16 |
+
# for more information on how to configure these environment variables.
|
17 |
+
|
18 |
+
# You can also configure the secrets store to use for your ZenML server. Be
|
19 |
+
# sure to use Huggingface Spaces' 'Repository Secrets' feature to store any
|
20 |
+
# secrets referenced here. See
|
21 |
+
# https://huggingface.co/docs/hub/spaces-overview#managing-secrets for more
|
22 |
+
# information on how to configure these environment variables.
|
23 |
+
|
24 |
+
# ENV ZENML_DEFAULT_PROJECT_NAME=""
|
25 |
+
# ENV ZENML_DEFAULT_USER_NAME=""
|
26 |
+
# ENV ZENML_DEFAULT_USER_PASSWORD=""
|
27 |
+
# ENV ZENML_STORE_URL=""
|
28 |
+
# ENV ZENML_STORE_SSL_CA=""
|
29 |
+
# ENV ZENML_STORE_SSL_CERT=""
|
30 |
+
# ENV ZENML_STORE_SSL_KEY=""
|
31 |
+
# ENV ZENML_STORE_SSL_VERIFY_SERVER_CERT=""
|
32 |
+
|
33 |
+
# ENV ZENML_LOGGING_VERBOSITY=""
|
34 |
+
|
35 |
+
# # SECRETS STORE CONFIGURATION
|
36 |
+
# ENV ZENML_SECRETS_STORE_TYPE=""
|
37 |
+
# ENV ZENML_SECRETS_STORE_ENCRYPTION_KEY=""
|
38 |
+
# ENV ZENML_SECRETS_STORE_CLASS_PATH=""
|
39 |
+
# ENV ZENML_JWT_SECRET_KEY=""
|
40 |
+
|
41 |
+
# # AWS Secrets Store Configuration
|
42 |
+
# ENV ZENML_SECRETS_STORE_REGION_NAME=""
|
43 |
+
# ENV ZENML_SECRETS_STORE_AWS_ACCESS_KEY_ID=""
|
44 |
+
# ENV ZENML_SECRETS_STORE_AWS_SECRET_ACCESS_KEY=""
|
45 |
+
# ENV ZENML_SECRETS_STORE_AWS_SESSION_TOKEN=""
|
46 |
+
# ENV ZENML_SECRETS_STORE_SECRET_LIST_REFRESH_TIMEOUT=""
|
47 |
+
|
48 |
+
# # GCP Secrets Store Configuration
|
49 |
+
# ENV ZENML_SECRETS_STORE_PROJECT_ID=""
|
50 |
+
# ENV GOOGLE_APPLICATION_CREDENTIALS=""
|
51 |
+
|
52 |
+
# # Azure Secrets Store Configuration
|
53 |
+
# ENV ZENML_SECRETS_STORE_KEY_VAULT_NAME=""
|
54 |
+
# ENV ZENML_SECRETS_STORE_AZURE_CLIENT_ID=""
|
55 |
+
# ENV ZENML_SECRETS_STORE_AZURE_CLIENT_SECRET=""
|
56 |
+
# ENV ZENML_SECRETS_STORE_AZURE_TENANT_ID=""
|
57 |
+
|
58 |
+
# # Hashicorp Secrets Store Configuration
|
59 |
+
# ENV ZENML_SECRETS_STORE_VAULT_ADDR=""
|
60 |
+
# ENV ZENML_SECRETS_STORE_VAULT_TOKEN=""
|
61 |
+
# ENV ZENML_SECRETS_STORE_VAULT_NAMESPACE=""
|
62 |
+
# ENV ZENML_SECRETS_STORE_MAX_VERSIONS=""
|
63 |
+
|
64 |
+
ENTRYPOINT ["uvicorn", "zenml.zen_server.zen_server_api:app", "--log-level", "debug"]
|
65 |
+
CMD ["--proxy-headers", "--port", "8080", "--host", "0.0.0.0"]
|
README.md
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Zenml Server
|
3 |
+
emoji: 🧘
|
4 |
+
colorFrom: purple
|
5 |
+
colorTo: green
|
6 |
+
sdk: docker
|
7 |
+
pinned: false
|
8 |
+
app_port: 8080
|
9 |
+
license: apache-2.0
|
10 |
+
duplicated_from: zenml/zenml
|
11 |
+
---
|