question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make setup lighter

See original GitHub issue

Is your feature request related to a current problem? Please describe. Currently the default setup of has ~2.4 GB of dependencies. This make it unusable for AWS lambdas or other resource constrained environments.

Describe proposed solution Change the setup so that the heaviest dependencies can be optionally installed: Eg:

pip install u8darts[core] # Bare minimun
pip install u8darts[torch] # ~1.5G (1,4G torch +74M caffe2 + (14+3.4)M tensorboard)
pip install u8darts[fbprophet] # ~500M (31M  fbprophet + 474M pystan)
pip install u8darts[statsmodels] # 42M 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
plorenzattocommented, Aug 21, 2020

Yes, I think we can remove them. Although it would be nice to replace AutoARIMA with ARIMA.

I’ll remove AutoARIMA from deps and log a warning that it’s not available while keeping ARIMA. Would that it be ok for you?

edit: clarification

1reaction
pennfranccommented, Aug 20, 2020

@plorenzatto Thanks a lot for contributing, I think your proposed changes could be very useful! I think making torch and fbprophet optional like you suggested makes sense. But I’m a bit unsure when it comes to statsmodels, since in addition to being used in 3 models, it is also used in some functions from our statistics module.

I believe these parts should work without any compromises in the core version:

  • TimeSeries class
  • backtesting module (without TorchForecastingModel support)
  • at least some models from the models module
  • preprocessing module
  • utils module (except the torch part)
  • metrics module

Pretty much everything except some of the more fancy forecasting models for now I believe. What are your thoughts?

Read more comments on GitHub >

github_iconTop Results From Across the Web

DIY Custom lighters - YouTube
Lighters sizes are 2.45x2.45 BIC lights size 2.74x2.76https://www.facebook.com/groups/1131079303930265/
Read more >
Installing a cigarette lighter socket | How a Car Works
If there is no ready-made hole, find a suitable position on the dash or the centre console. Make sure the lighter unit will...
Read more >
3 Ways to Flick a Bic Lighter - wikiHow
1. Hold the lighter upright in your dominant hand. Curl your fingers around the body of the Bic to keep it steady. Rest...
Read more >
How to Go Ultralight Without Really Trying
Potential weight savings: 3+ lbs. Light Carry a bag that's rated to the expected low, and wear insulating layers to bed to make...
Read more >
Lighter Simulator - Apps on Google Play
Put a realistic-looking lighter on your screen with this Android app. Customize the colors of your lighter, its flame, and the background
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found