Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HammadB committed Apr 26, 2024
1 parent ba781d6 commit 233a63d
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 380 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude: 'chromadb/proto/(chroma_pb2|coordinator_pb2|logservice_pb2)\.(py|pyi|_grpc\.py)' # Generated files
exclude: 'chromadb/proto/(chroma_pb2|coordinator_pb2|logservice_pb2|chroma_pb2_grpc|coordinator_pb2_grpc|logservice_pb2_grpc)\.(py|pyi)' # Generated files
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down
3 changes: 0 additions & 3 deletions chromadb/db/impl/grpc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,7 @@ def get_segments(
collection=collection.hex if collection else None,
)
response = self._sys_db_stub.GetSegments(request)
print("GRPC RESPONSE: ", response)
print("SEGMENTS LENGTH: ", len(response.segments))
results: List[Segment] = []
print("GRPC SEGMENTS: ", response.segments)
for proto_segment in response.segments:
segment = from_proto_segment(proto_segment)
results.append(segment)
Expand Down
2 changes: 1 addition & 1 deletion k8s/distributed-chroma/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ frontendService:
authCredentialsProvider: 'value: ""'
authzProvider: 'value: ""'
authzConfigProvider: 'value: ""'
memberlistProviderImpl: 'value: "chromadb.segment.impl.distributed.segment_directory.CustomResourceMemberlistProvider"'
memberlistProviderImpl: 'value: "chromadb.segment.impl.distributed.segment_directory.MockMemberlistProvider"'
logServiceHost: 'value: "logservice.chroma"'
logServicePort: 'value: "50051"'
otherEnvConfig: ''
Expand Down
2 changes: 1 addition & 1 deletion rust/worker/chroma_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ compaction_service:
compactor:
compaction_manager_queue_size: 1000
max_concurrent_jobs: 100
compaction_interval_sec: 5
compaction_interval_sec: 60
1 change: 0 additions & 1 deletion rust/worker/src/blockstore/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ mod arrow;
mod key;
mod memory;
mod positional_posting_list_value;
mod prototyping;
mod types;

pub(crate) mod provider;
Expand Down
Loading

0 comments on commit 233a63d

Please sign in to comment.