Sidebar

Translations of this page:



最近の更新



Tag Cloud

en:50_dialy:2023:05:30

May 30 2023 chatgpt-clone

Throws to ChatGPT with API, also throws to BING

https://github.com/danny-avila/chatgpt-clone

setting

Modify the following

api/.env

HOST=localhost
OPENAI_KEY

ERROR

Older servers don't support AVX and MongoDB doesn't start

      | WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!
chat-mongodb      |   see https://jira.mongodb.org/browse/SERVER-54407
chat-mongodb      |   see also https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2
chat-mongodb      |   see also https://github.com/docker-library/mongo/issues/485#issuecomment-891991814

AVX compatibility check

# lscpu  | grep -i avx
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu cpuid_faulting pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 invpcid_single intel_pt ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq md_clear pconfig spec_ctrl intel_stibp flush_l1d arch_capabilities

solution

If your old server doesn't support AVX, you can start it by upgrading mongodb to version 4.

  mongodb:
    container_name: chat-mongodb
    ports:
      - 27018:27017
    image: mongo:4
en/50_dialy/2023/05/30.txt · Last modified: 2023/07/06 13:21 by matsui