Coder Social home page Coder Social logo

Self referencing about llm-vm HOT 4 CLOSED

anarchy-ai avatar anarchy-ai commented on August 27, 2024
Self referencing

from llm-vm.

Comments (4)

ajn2004 avatar ajn2004 commented on August 27, 2024 1

@cartazio can better answer this probably, but I think the issue you're running into is because we're not using relative imports for this project. From what we've seen absolute imports are recommended over relative unless the path length is prohibitive.

If you're trying to avoid a static build from hiding your changes, you can use an editable flag to have your changes reflected without constantly reinstalling the build.

> pip install --editable .

should do the trick for you, if everything I've said is on point. Let me know how if this helps.

from llm-vm.

cartazio avatar cartazio commented on August 27, 2024 1

The reason for absolute paths is that it makes the code more robust under refactoring or changes in how it’s organized

from llm-vm.

cartazio avatar cartazio commented on August 27, 2024

Yes, as Andrew says, to run the code in developer mode do pip install —editable . for an inplace, this ensures that code works in the same way weather as a developer or user

from llm-vm.

cartazio avatar cartazio commented on August 27, 2024

closed as resolved

from llm-vm.

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.