Comments (3)
AFAIK asahi linux only runs on bare metal, so either you install it on your mac, or use generic arm64 linux image for docker
from docs.
AFAIK asahi linux only runs on bare metal, so either you install it on your mac, or use generic arm64 linux image for docker
thanks! for example I would like to run this type of algorithms:
ARG PYTORCH="1.9.1"
ARG CUDA="11.1"
ARG CUDNN="8"
FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
RUN export TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0 8.0+PTX" \
&& export TORCH_NVCC_FLAGS="-Xfatbin -compress-all" \
&& export CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
# INIT OF FIX FOR GPG KEY -- Hopefully they will fix this soon
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
# END OF FIX FOR GPG KEY
# apt and apt-get update
RUN apt-get update && apt update && apt upgrade -y && apt-get clean
# apt and apt-get installations
RUN apt install -y vim git unzip \
&& apt-get install -y libosmesa6-dev build-essential libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev
RUN mkdir /software
ENV SW_PATH=/software
WORKDIR $SW_PATH
ENV CONDA_DIR /opt/conda
ENV PATH $CONDA_DIR/bin:$PATH
RUN echo "Installing basic conda environment..." \
&& conda create --name main python=3.9.5 \
&& . /opt/conda/etc/profile.d/conda.sh \
&& conda activate main \
&& conda install numpy \
&& pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html \
&& pip install tensorflow==2.8.0 \
&& pip install opencv-contrib-python pyyaml yacs tqdm colorama matplotlib cython tensorboardX imageio imageio-ffmpeg munkres pandas seaborn h5py sklearn
but using asahi as base, because use ubuntu vainilla doesnโt have mps acceleration
from docs.
MPS is Apple's proprietary API and is not available on Linux unless someone writes a translation layer (like dxvk).
from docs.
Related Issues (20)
- How do I install it? WIKI FAQ HOT 7
- Dev Team's plans for an automated uninstaller?
- Setting up OpenGL within Flatpaks HOT 2
- Error During Asahi Linux Installation - "No Internet Connection" at Setting Asahi as Default Boot Volume Step HOT 2
- Virtualization on Fedora
- [QUESTION] Installing without being the superuser of the macOS system
- Remote Desktop (Portal) window pops up and cannot be closed
- Does Asahi Linux support installing OS on USB? HOT 3
- Is Asahi Linux planned for the iPad (M4)? HOT 2
- Installation Issues HOT 1
- [Question] How different are Qualcomm ARM architecture than Apple M chips? And can this project be transalated used on those machines too? HOT 2
- What is the easiest way to make alternate linux distros compatible by basing it off asahi linux's kernel. HOT 1
- Rosetta 2 translation layer for Asahi? HOT 3
- Change installation volume HOT 1
- How do I enable expert mode? HOT 1
- Typo in wiki HOT 1
- Unable to restore OSX after removing the Asahi HOT 1
- Use a custom bootlogo HOT 1
- [Question] Keyboard layout mapping (AZERTY / QWERTY password issue)
- Running Asahi under Orka HOT 2
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 docs.