Comments (5)
Hi @DataTracer, thank you for the question.
Unfortunately, Google Colab does not allow to host a web service offerings not related to interactive computing with Colab.
https://research.google.com/colaboratory/faq.html#limitations-and-restrictions
I don't have any good suggestions for free GPU options. For paid options, we can set up the samapi
server with a GPU instance on a public cloud service (e.g. Amazon AWS, Microsoft Azure, Google Cloud).
Did you try running the samapi
server without GPU (CPU mode) on your machine? I have tested samapi
without GPU, and it is still feasible to work with it.
The installation is simple as below:
conda create -n samapi -y python=3.10
conda activate samapi
python -m pip install git+https://github.com/ksugar/samapi.git
Then you can run it with the following command.
export PYTORCH_ENABLE_MPS_FALLBACK=1 # Required for running on Apple silicon
uvicorn samapi.main:app
I hope it works for you.
from samapi.
Thanks! Your extension works really well and I tried it on CPU but obviously not as fast :-)
I am trying to train the classifiers of Qupath on some users DAB data, fingers crossed!
Thanks for building this and making it available for the community
Best wishes
Nabanita
from samapi.
Hi, I am using a workstation with NVIDIARTX5000 and
installed as below :
If you're using a computer with CUDA-compatible GPU, install cudatoolkit.
conda install -c conda-forge -y cudatoolkit=11.7
If you're using a computer with CUDA-compatible GPU on Windows, install torch with GPU-support with the following command.
Windows with CUDA-compatible GPU only
python -m pip install "torch>=1.13.1,<2.0" torchvision --index-url https://download.pytorch.org/whl/cu117
Then when i am launching the server i get the following message
I could be wrong but RTX 5000 is CUDA compatible ?
Looking forward to your reply
Nabanita
from samapi.
Hi @DataTracer, RTX 5000 is compatible with CUDA 11.7 according to this matrix.
https://forums.developer.nvidia.com/t/cuda-compatibility-between-nvidia-rtx-a5000-and-geforce-rtx-4060-ti/264216
Could you share the output of the nvidia-smi
command? The Nvidia driver may need to be updated.
Example:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 528.89 Driver Version: 528.89 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA RTX A4000 WDDM | 00000000:01:00.0 Off | Off |
| 41% 31C P8 7W / 140W | 238MiB / 16376MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
from samapi.
Hi @ksugar , Thank you, I am trying to run the nvidia-smi command, it disappears instantly, so I am unable to share the output.
On a separate note , I also posted this on image.sc but do you have any thoughts on how to use SAM annotations to train the object classifier in QuPath?
Thanks a lot
Best
Nabanita
from samapi.
Related Issues (10)
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 samapi.