Giter Site home page Giter Site logo

BUG about inference HOT 4 CLOSED

vikrantrathore avatar vikrantrathore commented on July 17, 2024
BUG

from inference.

Comments (4)

vikrantrathore avatar vikrantrathore commented on July 17, 2024 1

Ok after doing a second try by removing the vllm from the git it started to work now but UI error is not elimited it still throws an error:

Xinference ui is not built at expected directory: /home/projects/insan_inference/.venv/lib/python3.11/site-packages/xinference/web/ui/build/
            To resolve this warning, navigate to /home/projects/insan_inference/.venv/lib/python3.11/site-packages/xinference/web/ui/
            And build the Xinference ui by running "npm run build"

  warnings.warn(

from inference.

ChengjieLi28 avatar ChengjieLi28 commented on July 17, 2024

@vikrantrathore Could you paste out your command that you pip install from git?

from inference.

vikrantrathore avatar vikrantrathore commented on July 17, 2024

The error is through poetry which uses pip behind. The command is poetry add git+https://github.com/xorbitsai/inference within a local project.

Once the installation fails at installing xinference, I can go activate the venv by poetry shell and then install using pip install git+https://github.com/xorbitsai/inference. It works, but then there is an error of Web UI which is using npm and need to run

npm install
npm run build

This will build the UI. Also vllm used is 0.4.3 and wanted to try 0.5.0 from the git given it supports gemma-2 9B and 27B but couldn't do it due to other dependencies.

Also sglang support gemma-it but when I use sglang worker for gemma-it model it throws an error model not supported so was trying to install it from git directly to see if can use gemma-it with sglang.

from inference.

vikrantrathore avatar vikrantrathore commented on July 17, 2024

It seems the error still persist when I try to install it from local directory like poetry add -e ../inference/.["all"], probably need to test more extensively with poetry.

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.