Git Product home page Git Product logo

Comments (7)

dberenbaum avatar dberenbaum commented on August 16, 2024

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.

loveis98 avatar loveis98 commented on August 16, 2024

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.

But how can I upgrade my sqlite version? How can I do it with pip?

from dvclive.

shcheklein avatar shcheklein commented on August 16, 2024

@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.

loveis98 avatar loveis98 commented on August 16, 2024

import sqlite3
sqlite3.sqlite_version

image
I run it locally (Linux), in VSCode

from dvclive.

shcheklein avatar shcheklein commented on August 16, 2024

@loveis98 could you also please give more context (where do you run it, etc)? Run dvc version, etc?

from dvclive.

loveis98 avatar loveis98 commented on August 16, 2024

@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.

shcheklein avatar shcheklein commented on August 16, 2024

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)

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.