File tree Expand file tree Collapse file tree 13 files changed +52
-0
lines changed Expand file tree Collapse file tree 13 files changed +52
-0
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,7 @@ AMAZON_S3_BUCKET_NAME=your-bucket-name
99
1010# Optional
1111# AMAZON_S3_SQS_QUEUE_URL=
12+
13+ # Fallback to CPU for operations not supported by MPS on Mac.
14+ # It's no-op for other platforms.
15+ PYTORCH_ENABLE_MPS_FALLBACK = 1
Original file line number Diff line number Diff line change @@ -5,3 +5,7 @@ COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex
55AZURE_STORAGE_ACCOUNT_NAME = testnamecocoindex1
66AZURE_BLOB_CONTAINER_NAME = testpublic1
77AZURE_BLOB_PREFIX =
8+
9+ # Fallback to CPU for operations not supported by MPS on Mac.
10+ # It's no-op for other platforms.
11+ PYTORCH_ENABLE_MPS_FALLBACK = 1
Original file line number Diff line number Diff line change 11# Postgres database address for cocoindex
22COCOINDEX_DATABASE_URL = postgres://cocoindex:cocoindex@localhost/cocoindex
3+
4+ # Fallback to CPU for operations not supported by MPS on Mac.
5+ # It's no-op for other platforms.
6+ PYTORCH_ENABLE_MPS_FALLBACK = 1
Original file line number Diff line number Diff line change 11# Postgres database address for cocoindex
22COCOINDEX_DATABASE_URL = postgres://cocoindex:cocoindex@localhost/cocoindex
3+
4+ # Fallback to CPU for operations not supported by MPS on Mac.
5+ # It's no-op for other platforms.
6+ PYTORCH_ENABLE_MPS_FALLBACK = 1
Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@coco_db:5436/cocoindex
33
44# For local testing
55# COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex
6+
7+ # Fallback to CPU for operations not supported by MPS on Mac.
8+ # It's no-op for other platforms.
9+ PYTORCH_ENABLE_MPS_FALLBACK = 1
Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ GOOGLE_SERVICE_ACCOUNT_CREDENTIAL=/path/to/service_account_credential.json
88# Google Drive root folder IDs, comma separated.
99# ! PLEASE FILL IN
1010GOOGLE_DRIVE_ROOT_FOLDER_IDS = id1,id2
11+
12+ # Fallback to CPU for operations not supported by MPS on Mac.
13+ # It's no-op for other platforms.
14+ PYTORCH_ENABLE_MPS_FALLBACK = 1
Original file line number Diff line number Diff line change 11export COCOINDEX_DATABASE_URL = " postgres://cocoindex:cocoindex@localhost/cocoindex"
2+
3+ # Fallback to CPU for operations not supported by MPS on Mac.
4+ # It's no-op for other platforms.
5+ PYTORCH_ENABLE_MPS_FALLBACK = 1
Original file line number Diff line number Diff line change 11# Postgres database address for cocoindex
22COCOINDEX_DATABASE_URL = postgres://cocoindex:cocoindex@localhost/cocoindex
3+
4+ # Fallback to CPU for operations not supported by MPS on Mac.
5+ # It's no-op for other platforms.
6+ PYTORCH_ENABLE_MPS_FALLBACK = 1
Original file line number Diff line number Diff line change 11# Postgres database address for cocoindex
22COCOINDEX_DATABASE_URL = postgres://cocoindex:cocoindex@localhost/cocoindex
3+
4+ # Fallback to CPU for operations not supported by MPS on Mac.
5+ # It's no-op for other platforms.
6+ PYTORCH_ENABLE_MPS_FALLBACK = 1
Original file line number Diff line number Diff line change 22COCOINDEX_DATABASE_URL = postgres://cocoindex:cocoindex@localhost/cocoindex
33
44OPENAI_API_KEY =
5+
6+ # Fallback to CPU for operations not supported by MPS on Mac.
7+ # It's no-op for other platforms.
8+ PYTORCH_ENABLE_MPS_FALLBACK = 1
You can’t perform that action at this time.
0 commit comments