Skip to content

Commit

Permalink
Fix requirements in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nlathia committed May 8, 2024
1 parent 3682b29 commit f4b9b58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions examples/examples-by-ml-library/modelstores.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@ def create_gcloud_model_store() -> ModelStore:
)


# def create_hdfs_model_store() -> ModelStore:
# """A model store in HDFS storage"""
# return ModelStore.from_hdfs(
# root_prefix=os.environ["MODEL_STORE_HDFS_ROOT_PREFIX"],
# create_directory=True,
# )


def create_minio_model_store() -> ModelStore:
"""A model store that uses an s3 bucket with a MinIO client"""
return ModelStore.from_minio(
Expand All @@ -87,7 +79,6 @@ def create_minio_model_store() -> ModelStore:
AzureBlobStorage.NAME: create_azure_model_store,
FileSystemStorage.NAME: create_file_system_model_store,
GoogleCloudStorage.NAME: create_gcloud_model_store,
# HdfsStorage.NAME: create_hdfs_model_store,
MinIOStorage.NAME: create_minio_model_store,
}

Expand Down
4 changes: 2 additions & 2 deletions examples/examples-by-ml-library/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ azure-core
azure-storage-blob
boto3
google-cloud-storage
pydoop
minio

# Data / dependencies for ML libraries
Expand Down Expand Up @@ -39,7 +38,8 @@ scipy==1.10.1 # More recent versions were not compatible with Gensim releases ht
shap
skl2onnx
skorch
tensorflow
tensorflow; sys_platform != 'darwin'
tensorflow-macos; sys_platform == 'darwin'
tf-keras
transformers
torch
Expand Down

0 comments on commit f4b9b58

Please sign in to comment.