how to deploy this model without internet connection

#1
by superahn - opened

You guys will read this error message without any modification on config.json.

...
OSError: We couldn't connect to 'https://huggingface.co' to load the files, and couldn't find them in the cached files.
...

You should edit config.json like below

  "auto_map": {
    "AutoConfig": "configuration_decilm.DeciLMConfig",
    "AutoModelForCausalLM": "decilm.DeciLMForCausalLM"
  },

Then the engine tries to find configuration_decilm.py and decilm.py in the model directory.

NM Testing org

Updated, thank you!

mgoin changed discussion status to closed

Sign up or log in to comment