Comments (4)
@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.
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.
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.
closed as resolved
from llm-vm.
Related Issues (20)
- LLM-VM does not support multiple GPUs currently HOT 4
- Refactor Openai API HOT 2
- ability to load a `.pt` file into the student model
- Add support to change dtype for a model? HOT 2
- llm-vm not running, though pip install method HOT 2
- Constrained generation error
- integer type error HOT 1
- Add new LLMs HOT 2
- OSError: [E050] Can't find model 'en_core_web_md'.
- README Llama2 Example Errors Requesting HuggingFace API Key HOT 1
- Pyenv error in Debain 12 HOT 2
- Many Warnings when Running tests.
- cannot install llm-vm HOT 4
- HuggingFace Token HOT 2
- Fix error handling and clean up client HOT 5
- LLM-VM Does Not Run HOT 1
- Downloading LLama2 and Other LLMs Running So Slow
- macOS: Installation error HOT 1
- ModuleNotFoundError: No module named 'outlines.text' HOT 3
- Revamp Github issue form HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llm-vm.