Giter Site home page Giter Site logo

Comments (1)

502647092 avatar 502647092 commented on June 27, 2024

我加了调试代码看了看 发现请求之后返回的 Header 头 没有包含 Content-Length

{'Accept-Ranges': 'bytes', 'Access-Control-Allow-Origin': 'https://hf-mirror.com', 'Access-Control-Expose-Headers': 'X-Repo-Commit,X-Request-Id,X-Error-Code,X-Error-Message,X-Total-Count,ETag,Link,Accept-Ranges,Content-Range', 'Alt-Svc': 'h3=":443"; ma=2592000', 'Content-Disposition': 'inline; filename*=UTF-8\'\'modeling_chatglm.py; filename="modeling_chatglm.py";', 'Content-Security-Policy': 'default-src none; sandbox', 'Content-Type': 'text/plain; charset=utf-8', 'Cross-Origin-Opener-Policy': 'same-origin', 'Date': 'Sat, 22 Jun 2024 06:23:11 GMT', 'Etag': '"a68356c3af344abac97091166efbe662c1ea3cee"', 'Referrer-Policy': 'strict-origin-when-cross-origin', 'Server': 'hf-mirror', 'Vary': 'Origin', 'Via': '1.1 a2a18b761c57d2eb35b02af9e68b39ec.cloudfront.net (CloudFront)', 'X-Amz-Cf-Id': 'cRbXtSiPhe4E6c9SQaEk-ikXhb7bGfXuatzQGbx4JlchzsrDBymLzw==', 'X-Amz-Cf-Pop': 'NRT12-P2', 'X-Cache': 'Miss from cloudfront', 'X-Powered-By': 'huggingface-moon', 'X-Repo-Commit': 'b84dc74294ccd507a3d78bde8aebf628221af9bd', 'X-Request-Id': 'Root=1-66766dcf-3a5484033c8236e943a57ed0;0a166ee1-bf8a-451b-8995-bc0c81ff3636'}
HfFileMetadata(commit_hash='b84dc74294ccd507a3d78bde8aebf628221af9bd', etag='a68356c3af344abac97091166efbe662c1ea3cee', location='https://hf-mirror.com/THUDM/glm-4-9b-chat/resolve/b84dc74294ccd507a3d78bde8aebf628221af9bd/modeling_chatglm.py', size=None)

请问这个是镜像站的问题 还是什么问题导致的

from inference.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.