Skip to content

apr fails to find config.json #150

@alfredodeza

Description

@alfredodeza

I tried importing Qwen1.5-0.5b-Chat which has a single safetensors file and config.json but apr fails to import it correctly:

apr run hf://Qwen/Qwen1.5-0.5B-Chat
=== APR Run ===

Source: hf://Qwen/Qwen1.5-0.5B-Chat
Downloading hf://Qwen/Qwen1.5-0.5B-Chat...
  Downloading model.safetensors...
  Downloading tokenizer.json...
  Download complete!
Using mmap for 1181MB model
error: Inference failed: Inference failed: Operation 'safetensors_inference' not supported: SafeTensors model requires config.json for inference

The files on Hugging Face do show the config.json https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat/tree/main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions