Skip to main content

A sentiment analysis platform with AI runner and trainer components

Project description

Airosentris

Airosentris is a sentiment analysis platform that includes powerful components for training and running AI models. Designed for ease of use, it enables developers to integrate sentiment analysis capabilities into their applications quickly.

Features

  • AiroRunner: Execute trained sentiment analysis models efficiently.
  • AiroTrainer: Train sentiment analysis models using customizable algorithms.
  • Easy Integration: Seamlessly integrate with your existing applications.
  • Highly Customizable: Tailor the AI models to fit specific requirements.

Installation

You can install Airosentris via pip:

pip install airosentris

Installing PyTorch with CUDA 12.1 on Windows

Check CUDA Version

To determine the version of CUDA installed on your system, you can use the following command:

nvcc --version

This command checks the NVIDIA CUDA Compiler Driver version, which is part of the CUDA Toolkit. It will output the CUDA version currently installed.

Install PyTorch with GPU Support

To install PyTorch with GPU support for CUDA 12.1, follow these steps:

Step 1: Open Command Prompt

Open Command Prompt or your preferred terminal.

Step 2: Install PyTorch

Run the following command to install PyTorch with CUDA 12.1 support:

pip install torch==2.3.1+cu121 --extra-index-url https://download.pytorch.org/whl/cu121

This command installs the specified version of PyTorch (2.3.1) with CUDA 12.1 support. The --extra-index-url flag points to the PyTorch wheel (whl) files for CUDA 12.1.

Step 3: Verify the Installation

To verify that PyTorch is correctly installed and is using the GPU, run the following Python code:

import torch
print(torch.__version__)
print(torch.cuda.is_available())
print(torch.cuda.get_device_name(0))

This code will:

  • Print the PyTorch version.
  • Check if CUDA is available.
  • Print the name of the GPU device if available.

Example Output

You should see an output similar to this if everything is correctly set up:

2.3.1
True
NVIDIA GeForce GTX 1080

Additional Notes

  • Ensure that your CUDA drivers are properly installed and match the version you intend to use with PyTorch.
  • If you do not have CUDA installed, you can download and install the CUDA Toolkit from the NVIDIA CUDA website.
  • Make sure you have the appropriate version of cuDNN installed, which is typically bundled with the CUDA Toolkit.

By following these steps, you should be able to install and verify PyTorch with GPU support for CUDA 12.1 on your Windows system.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airosentris-0.1.5.tar.gz (21.4 kB view details)

Uploaded Source

File details

Details for the file airosentris-0.1.5.tar.gz.

File metadata

  • Download URL: airosentris-0.1.5.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.9

File hashes

Hashes for airosentris-0.1.5.tar.gz
Algorithm Hash digest
SHA256 eaeeddc6558ed76a842c7497f64d258aacab77f1fe45fdbf6c1ae90c858f0bb7
MD5 c3986190fab3b262a0322ee3acfcaad5
BLAKE2b-256 64a34a6d6deb6d68b02987149a783bf2007f32bfc5954cd9532e8a5b32d88e14

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page