Comments (7)
sqlite
is used by dvc to keep some info so it doesn't need to be recollected from files constantly. As the error suggests, the solution is to upgrade your sqlite version.
If that's not possible, you could try dvc_exp_save=False
. Note that with dvc_exp_save=False
, it will be up to you to commit the results of each experiment to git.
from dvclive.
sqlite
is used by dvc to keep some info so it doesn't need to be recollected from files constantly. As the error suggests, the solution is to upgrade your sqlite version.If that's not possible, you could try
dvc_exp_save=False
. Note that withdvc_exp_save=False
, it will be up to you to commit the results of each experiment to git.
But how can I upgrade my sqlite version? How can I do it with pip?
from dvclive.
@loveis98 could you please run dvc version
?
Also:
import sqlite3
sqlite3.sqlite_version
Also, describe please the context. Where do you run it (is it some Amazon AWS image / box, do you have a control on what distribution you are using, etc).
The problem usually is that sqlite
comes as part of the Linux distro itself. Depending on the context, either you could upgrade it or change the distro.
Example: https://stackoverflow.com/questions/57214850/trying-to-upgrade-sqlite-on-amazon-ec2
from dvclive.
import sqlite3
sqlite3.sqlite_version
I run it locally (Linux), in VSCode
from dvclive.
@loveis98 could you also please give more context (where do you run it, etc)? Run dvc version
, etc?
from dvclive.
@loveis98 could you also please give more context (where do you run it, etc)? Run
dvc version
, etc?
dvc version
DVC version: 3.43.1 (pip)
Platform: Python 3.10.8 on Linux-3.10.0-1160.99.1.el7.x86_64-x86_64-with-glibc2.17
Subprojects:
dvc_data = 3.9.0
dvc_objects = 3.0.6
dvc_render = 1.0.1
dvc_task = 0.3.0
scmrepo = 2.1.1
Supports:
hdfs (fsspec = 2022.11.0, pyarrow = 11.0.0),
http (aiohttp = 3.9.0, aiohttp-retry = 2.8.3),
https (aiohttp = 3.9.0, aiohttp-retry = 2.8.3)
Config:
Global: /home/user/.config/dvc
System: /etc/xdg/dvc
Cache types: https://error.dvc.org/no-dvc-cache
Caches: local
Remotes: None
Workspace directory: ext4 on /dev/mapper/vg_data-lv_home
Repo: dvc, git
Repo.site_cache_dir: /var/tmp/dvc/repo/851fd0d197ac3f88c8a5ca03350330ed
from dvclive.
So, I might be wrong but it seems that Linux-3.10.0
is quite outdated. Probably release in 2017 and not maintained anymore. You would have to ask your devops / admins to upgrade the distro (can be complicated), or at least find a way to update the sqlite for you on it. I don't think we can do much on our end for this tbh. I would too tedious for us as a small team to keep compatibility with a very outdated distros.
from dvclive.
Related Issues (20)
- lightning: args passed to dvclive are outdated
- integrations: hf accelerate HOT 4
- Log metrics/models etc... to studio directly with Live or DVCLiveCallbacks in training script HOT 9
- integrations: lightning fabric
- `log_image` fails to save an image if the path was provided, but the `name` does not have an extension HOT 1
- 4.0 Checklist HOT 1
- Add user friendly warning/error messages and helpers for log_plot() HOT 3
- Foreach to run multiple experiments HOT 3
- DVCLive throws a weird warning when origin is not defined HOT 6
- Add docstrings HOT 2
- Invalid path causes `TypeError` due to shadowed builtin `type` HOT 2
- `Live.log_artifact` raises `ValueError` by logging to closed `stderr` when Tensorflow is imported first HOT 6
- `log_image`: log bounding boxes HOT 5
- Test falling for Huggingface
- Path not supported for some path arguments HOT 2
- Provide examples or quick code snippets in the public methods
- System metrics should be plotted with `timestamp` rather than `step`
- log_sklearn_plot: exception when plot params are passed. HOT 3
- DVC Live hangs when pushing to remote HOT 3
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 dvclive.