GithubHelp home page GithubHelp logo

Comments (4)

casperdcl avatar casperdcl commented on September 27, 2024

surely we should have WebSeeds12 too?

In pseudocode:

wget https://example.com/model.hf
torrent create -o model.torrent model.hf
torrent modify --add-url https://example.com/model.hf model.torrent  # proposed
torrent serve model.torrent

Footnotes

  1. https://torf.readthedocs.io/en/stable/#torf.Torrent.webseeds

  2. http://bittorrent.org/beps/bep_0019.html

from from-hf-to-torrent.

filopedraz avatar filopedraz commented on September 27, 2024

Sure, good for me. Let me know when you need access to the machine :)

from from-hf-to-torrent.

biswaroop1547 avatar biswaroop1547 commented on September 27, 2024

hi need access :")

from from-hf-to-torrent.

biswaroop1547 avatar biswaroop1547 commented on September 27, 2024

For having a separate webseed url, we should be using a new instance which will just serve the files over http. Are we okay with using another machine for this? or expose files over http on the same machine?

we cannot directly serve the files from hf link (using git lfs) e.g -https://huggingface.co/premai-io/CodeLlama-34b-Instruct-hf as a webseed url. And if using the same server for seeding torrent + hosting webseed url, it'll cause much higher load on the machine.

Ideally for webseed url we should have a mirror link (e.g https://mirror.premai.io/models/) which will point to a new instance hosting models.

I think we can start with serving webseed url from the same machine and later move if required.

from from-hf-to-torrent.

Related Issues (1)

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.