Oleksandr Bezdieniezhnykh fb5191a663 Enhance coding guidelines in .cursor/rules/coderule.mdc and .cursor/rules/meta-rule.mdc
- Added a guideline to delete unused files, classes, or functions to prevent dead code accumulation in `coderule.mdc`.
- Introduced a critical thinking guideline in `meta-rule.mdc` to encourage careful evaluation of user inputs and task specifications.

These updates aim to improve code quality and maintainability by promoting the removal of obsolete code and fostering critical assessment of instructions.
2026-03-28 16:58:23 +02:00
2024-06-29 22:18:34 +03:00
2025-05-19 08:30:25 +03:00
2025-04-06 18:45:06 +03:00
2025-05-31 18:12:52 +03:00

1. Install necessary libs and drivers

https://www.python.org/downloads/

Windows

Linux

  • sudo apt install nvidia-driver-535
    
    wget https://developer.download.nvidia.com/compute/cudnn/9.2.0/local_installers/cudnn-local-repo-ubuntu2204-9.2.0_1.0-1_amd64.deb
    sudo dpkg -i cudnn-local-repo-ubuntu2204-9.2.0_1.0-1_amd64.deb
    
    sudo cp /var/cudnn-local-repo-ubuntu2204-9.2.0/cudnn-*-keyring.gpg /usr/share/keyrings/
    sudo apt-get update
    sudo apt-get -y install cudnn nvidia-cuda-toolkit -y
    nvcc --version
    

2. Install dependencies

  • (Optional) Install virtual env:
    pip install virtualenv
    python -m venv env
    env\Scripts\activate
    pip install -r requirements.txt
    
    pip uninstall -y torch
    pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
    

3. Fix possible problems

  • cv2.error: OpenCV(4.10.0) ...\window.cpp:1301: error: (-2:Unspecified error)
    pip uninstall -y opencv-python 
    pip install opencv-python
    
  • fbgemm.dll error (Windows specific)
    copypaste tests\libomp140.x86_64.dll to C:\Windows\System32
    
S
Description
No description provided
Readme 69 MiB
Languages
Python 83.7%
Shell 16.3%