ydataai / ydata-synthetic

Synthetic data generators for tabular and time-series data
https://docs.synthetic.ydata.ai
MIT License
1.38k stars 232 forks source link

[FEAT] GPU no longer accessible in Google Collab #332

Open PunkLuncheon opened 3 months ago

PunkLuncheon commented 3 months ago

Case: Running notebook "TimeGAN - Synthetic stock data.ipynb" on Google Collab

I assume because of versioning issues (see below) upon pip installation of ydata-synthetic. But for now it's CPU only.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
chex 0.1.86 requires numpy>=1.24.1, but you have numpy 1.23.5 which is incompatible.
google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.30.0 which is incompatible.
pandas-stubs 2.0.3.230814 requires numpy>=1.25.0; python_version >= "3.9", but you have numpy 1.23.5 which is incompatible.
tf-keras 2.15.1 requires tensorflow<2.16,>=2.15, but you have tensorflow 2.12.0 which is incompatible.
yfinance 0.2.37 requires requests>=2.31, but you have requests 2.30.0 which is incompatible.
Successfully installed easydict-1.10 gast-0.4.0 google-auth-oauthlib-1.0.0 keras-2.12.0 numpy-1.23.5 pmlb-1.0.1.post3 requests-2.30.0 scikit-learn-1.3.2 tensorboard-2.12.3 tensorflow-2.12.0 tensorflow-estimator-2.12.0 tensorflow-probability-0.19.0 typeguard-4.0.1 ydata-synthetic-1.3.2

Could there be any workarounds?

On another note, thank you very much for making this notebook and library, particularly for upgrading TimeGAN to TF2!